Disabling zoom using cmd+scroll

General questions regarding the usage of CodeLite
Kanes
CodeLite Enthusiast
Posts: 30
Joined: Tue Jun 09, 2015 12:21 pm
Genuine User: Yes
IDE Question: C++
Contact:

Disabling zoom using cmd+scroll

Post 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.
User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Disabling zoom using cmd+scroll

Post 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
Make sure you have read the HOW TO POST thread
Kanes
CodeLite Enthusiast
Posts: 30
Joined: Tue Jun 09, 2015 12:21 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Disabling zoom using cmd+scroll

Post 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?
User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Disabling zoom using cmd+scroll

Post by eranif »

Its the "/" on the numpad

Eran
Make sure you have read the HOW TO POST thread
Kanes
CodeLite Enthusiast
Posts: 30
Joined: Tue Jun 09, 2015 12:21 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Disabling zoom using cmd+scroll

Post 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 "/").
User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Disabling zoom using cmd+scroll

Post 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
Make sure you have read the HOW TO POST thread
Kanes
CodeLite Enthusiast
Posts: 30
Joined: Tue Jun 09, 2015 12:21 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Disabling zoom using cmd+scroll

Post 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
Kanes
CodeLite Enthusiast
Posts: 30
Joined: Tue Jun 09, 2015 12:21 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Disabling zoom using cmd+scroll

Post 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.
Post Reply