Page 1 of 1

Disabling zoom using cmd+scroll

Posted: Thu Aug 20, 2015 11:05 am
by Kanes
Is there a way to disable font size change / zooming with cmd + mouse wheel? It is rather annoying, as if you're scrolling around in the editor and for example switch to another program with cmd + tab, the editor still reads the mouse buffer and accidentally zooms the text in or out.
This is clearly a bug as I find it hard to see this as an intended feature; disabling it entirely or remapping it to a keyboard shortcut would eliminate the problem easily for the time being.

Re: Disabling zoom using cmd+scroll

Posted: Thu Aug 20, 2015 6:51 pm
by eranif
This is a builtin feature of Scintilla (the editor componenet), I guess we could add an option to disable this.
Can you please submit a feature request on GitHub?

Also: CMD+/ will restore the zoom to normal

Eran

Re: Disabling zoom using cmd+scroll

Posted: Fri Aug 21, 2015 9:48 am
by Kanes
eranif wrote: Also: CMD+/ will restore the zoom to normal
Eran
This doesn't seem to work with a Finnish keyboard layout - so it's not mapped to '/' character but a certain keymap keycode instead?
Any idea where that could be found in keyboard layouts other than US?
Is it remappable?

Re: Disabling zoom using cmd+scroll

Posted: Fri Aug 21, 2015 10:18 am
by eranif
Its the "/" on the numpad

Eran

Re: Disabling zoom using cmd+scroll

Posted: Fri Aug 21, 2015 9:45 pm
by Kanes
eranif wrote:Its the "/" on the numpad

Eran
So no bonus for laptops? (Also, didn't work on an external keyboard either, with the numpad "/").

Re: Disabling zoom using cmd+scroll

Posted: Thu Aug 27, 2015 4:44 pm
by eranif
This is now fixed. I added new option in Settings->Global Editor Preferences->General->Edit->Enable Mouse Zoom
where you can disable this functionality

(On OSX, its under CodeLite->Global Editor Preferences->General->Edit->Enable Mouse Zoom)

Eran

Re: Disabling zoom using cmd+scroll

Posted: Thu Sep 10, 2015 11:07 am
by Kanes
eranif wrote: (On OSX, its under CodeLite->Global Editor Preferences->General->Edit->Enable Mouse Zoom)

Eran
In 8.2.3 it seems to be under Codelite => Global Editor Preferences => Editor => Edit => Enable Mouse Zoom, not General => etc

Re: Disabling zoom using cmd+scroll

Posted: Fri Sep 11, 2015 10:04 am
by Kanes
The setting doesn't seem to affect the Diff view - the cmd + mouse wheel still zooms there regardless of the setting.
Also the visual theme (tab colors etc) looks different in Diff than normal editor.