[texworks] Shortcuts and accelerators
Alain Delmotte
esperanto at swing.be
Sun Apr 18 11:38:17 CEST 2010
Jonathan Kew a écrit :
> On 17 Apr 2010, at 21:28, Herbert Schulz wrote:
>
>
>> On Apr 17, 2010, at 3:05 PM, Bruno Voisin wrote:
>>
>>
>>> ...
>>> Usually the Save button is selected by default, so that pressing Return on the keyboard is a shortcut to clicking Save with the mouse. The Escape key is, as usual, a shortcut for clicking on Cancel. But there is not shortcut, to my knowledge, equivalent to clicking on Don't Save. Quite inconvenient to have to use the mouse just for that.
>>>
>
> Yes, this has irritated me too! So now that you've brought it up, I figured out how I can add shortcuts to such alerts. In the source, I've just added Cmd-D for the Don't Save button; there may be a few other dialogs that could benefit from similar treatment, so feel free to make suggestions. (I also added a shortcut in the Revert dialog, though I don't suppose that's used nearly so often.)
>
But that's again hard coded; I would prefer the proposition of Stefan to
suppress all hard coded shortcuts, to have all options with an action
which can be linked to a shortcut.
> The shortcuts can of course be modified by translators when they localize the interface.
>
OK!
Alain
> Thanks,
>
> JK
>
>
>>> One editor, BBEdit, goes further than this: it defines Cmd-key shortcuts to each item (the Mac version of the Windows' Ctrl-key), and when you press Cmd after the dialog pops up, the shortcuts are revealed: ...
>>>
>> It doesn't work with TeXworks but try Cmd-D at that dialog in TeXshop and other applications that use Apple's Frameworks.
>>
>> Good Luck,
>>
>> Herb Schulz
>> (herbs at wideopenwest dot com)
>>
>>
>>
>>
>>
>
>
>
>
More information about the texworks
mailing list