Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#181 Ctrl-PgUp/PgDn

medit
closed-works-for-me
nobody
None
9
2014-06-22
2014-06-22
darkpenguin
No

In newer versions, Ctrl-PgUp/PgDn are used to scroll text by page. That is a wonderful improvement, and the most obvious choice of keys. But I want to use this shortcut to switch between tabs, in the "standard" Gnome way. But the combination is intercepted by the text field and doesn't work.

I'm not sure if there is a lot of people with the same problem (though there are with similar problem in other text editors), so I think it's not worth any major redesigning, but I want to at least have a way to make it the way I like.

PROPOSED SOLUTION 1:
If we think about it "the serious way", then something has to be done about shortcuts interception. For example, IF there is any shortcuts in he settings typically used by the text field, then the text field should stop using those shortcuts in order to honor the user's wishes.

PROPOSED SOLUTION 2:
I doubt it's worth all the trouble of solution 1. So it would be enough just to have a quick-and-dirty fix for this particular problem.
- a checkbox in the settings?.. But this is too minor of a wish to bloat the settings...
- a commandline argument?.. Too ugly, but maybe easy enough for the developer.
- an option in prefs.xml, hidden from settings?.. For those who want the old behaviour badly enough to find this page...
- possibly the easiest for the developer - a compile option or a patch?.. I suck too badly to read code and make a patch for myself, but I guess it should be enough to just comment out one line of code depending on an option, or post a patch for the old-schoolers to apply...

Discussion

  • Yevgen Muntyan
    Yevgen Muntyan
    2014-06-22

    This in fact already works: check the "Global" checkbox next to the shortcut in the keyboard shortcut dialog, and that shortcut will win over built-in control shortcuts.
    It's done this way because in some cases shortcuts do need to go to the focused control first (Ctrl-C is one example). Probably everything should have been "global" by default, but it's what it is.

     
  • Yevgen Muntyan
    Yevgen Muntyan
    2014-06-22

    • status: open --> closed-works-for-me