atom-elastic-tabstops icon indicating copy to clipboard operation
atom-elastic-tabstops copied to clipboard

1px error, visible with Show Indent Guide enabled

Open tobia opened this issue 8 years ago • 0 comments

With the indent guides enabled, there's a 1px error that comes out when the plugin is enabled, even without using any of the specific elastic tabstop features:

tabstops

The red arrows show indent guides that are drawn 1px to the left, or should not be drawn at all (the ones right up to the first letter should not be there.)

The blue line shows that the text is aligned correctly (to the pixel), it's only the indent guides that are misaligned.

The bug disappears as soon as this plugin is disabled. It's also almost random, meaning that if I cut and paste one of the lines with the error into another place of the file, the new line shows the same error. But If I start a new line and type the exact same text, it does not show the error!

I'm using Fira Code at 12 points on a Mac, in case that's relevant.

PS: thanks a lot for writing this plugin!

tobia avatar Sep 05 '16 10:09 tobia