lkcampbell / brackets-indent-guides

A Brackets extension to show indent guides in the code editor
149 stars 34 forks source link

Resize guide svg if font is resized #34

Open tweakimp opened 7 years ago

tweakimp commented 7 years ago

resize

When I zoom in to code, the guide is not resized. Please add this or at least an option to resize it on zoom in, so that the guide is bigger and scales with the rest of the code.

lkcampbell commented 7 years ago

@tweakimp when you say "resize" what do you mean, you mean make the guide wider?

tweakimp commented 7 years ago

Wider in both dimensions :) It would be great if you could just keep the ratio of the size of the guide to the size of the font as you zoom, so if I make the font 50% bigger, the guide also gets 50% bigger.

tweakimp commented 7 years ago

I tried to start with the scrollFactor, you can see it here

For dotted, we maybe should draw real circles. Also, how can i get the current font size to divide it by the standard to get the current scroll level?

lkcampbell commented 7 years ago

@tweakimp, can you send me some screenshots?

tweakimp commented 7 years ago

makethesedots

I set the font to 29px and resized the guide. It now looks like this. What I mean is to make these squares circles in the dotted option :)