Bad behaviour of the Ctrl+Shift+6 bindkey
Hi,
The binkey Ctrl+Shift+6 should set uppercase characters to lowercase ones. This works when I use the menu : Edit=>Lower case But if I use the bindkey, then it reduces the current font, for ex, from "Liberation Mono 14" to "Liberation Mono 13".
Do you have an idea for such a behaviour ?
Regards.
Xuo.
Interesting what is your keyboard layout? The font-size adjustment is intended to be triggered by the "+" and "-" keys. For me "Shift+6" == "^".
Hi,
My keyboard is a French one (nobody's perfect). So, the '6' key can have the '6', '-' and '|' character depending on the combination of keyboard key. 6 => hit the '6' key
- => Shift+6 | => AltGr+6 Should I modify the source code ? Which file ?
Regards.
Xuo.
I see, OK, that makes sense.
Unfortunately, this is a slightly differrent change from the other one:
TextArea.cpp
{Qt::Key_Equal, Qt::ControlModifier, &TextArea::zoomInAP, TextArea::NoneFlag}, // zoom-in()
{Qt::Key_Minus, Qt::ControlModifier, &TextArea::zoomOutAP, TextArea::NoneFlag}, // zoom-out()
You can either just comment out these lines if you don't want the zoom feature or change the Qt::Key_Equal, Qt::ControlModifier part to a shortcut that makes more sense to you. The first thing is the "key constant" and the second one is the modifier. Multiple modifiers can be combined with | (as seen in subsequent lines).
Hi,
I'll comment out the lines. I'll check on my side and then, ask IT (if they agree :)), to do the same.
Regards.
Xuo.