zats / AdjustFontSize-Xcode-Plugin

Instant font size adjustment with control – / control +
270 stars 33 forks source link

Cursor position "tracking". #2

Closed dissidently closed 9 years ago

dissidently commented 10 years ago

When "zooming in" if the cursor is low in the page (and the page long, with text above and below the current screen height) then the cursor will be off screen within a couple of steps increase in font size.

Is there anyway to make the "zoom" focus on the current cursor position?

And, while I'm being a whinging designer about something so utterly fantastic, any way to make it only change the size for the current active editor, not any other projects or screens open?

ps. FANTASTIC. You have no idea how many times I've hit this key combo in Xcode in the vain hope that it was there. THANK YOU!

zats commented 10 years ago

@dissidently this plugin works like a shortcut in a way: it changes internals that are affected by Settings → Fonts & Colors → Font. Therefore, currently, there is no way to target a particular window or a project. Thanks for the idea on cursor position I will try to address that

dissidently commented 10 years ago

Yeah. I thought that's what it was doing. I'm not sure if it's even possible to get Xcode to think of a "page" only. But what it does bring to mind - the ability to write "macros" that boost or shrink the size, colour, font and contrast of comments or other desired types of code. I will have to take a look in the code, see if I can figure out a way to do it. Again, thank you! This is a fantastic new feature. I use it every time I have Xcode open.