[texworks] Disabling Built-In Keyboard Shortcuts
gralcio at gmail.com
Thu Jul 14 06:02:40 CEST 2011
So it's the other way round. I was sure it stores a list of keybinds and
single actions assigned to them, but it's more like a list of actions and
single keybinds assigned to them. That's why I tried to overwrite an action
of the keybind, not a keybind of an action (hope it made sense).
So to move a keybind to a new action i need to clear it at the old one and
assign it to a new one. Now I will remember, thanks again :)
PS. On a side note, until I got this solution I just started catching ctrl+q
with Autohotkey app and didn't send it if an active window is TeXworks one
2011/7/14 Stefan Löffler <st.loeffler at gmail.com>
> On 2011-07-13 10:08, Grzegorz Popek wrote:
> > I know that I can define my own keyboard shortcuts.
> > However, how to disable (or eventually overwrite) existing ones?
> Simply by defining them as empty, in this case:
> actionQuit_TeXworks =
> > Let's say, for example, that I have this nasty habit of hitting ctrl+Q
> > (used to comment a line of code in FlashDevelop) and I keep closing my
> > TeXworks window. Hence, I would like to disable ctrl+Q doing what it
> > currently does.
> See above.
> > I tried assigning it a new function in an .ini file (where I keep my
> > other shortcuts), but it seems that built-in shortcuts have a priority
> > of some sort resulting in no change whatsoever.
> I just tested it (on Linux) - when I have two functions with the same
> shortcut, Tw simply does nothing (and on the console prints the reason
> for it: "QAction::eventFilter: Ambiguous shortcut overload: Ctrl+Q")
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the texworks