[texworks] Shortcuts and accelerators
Bruno Voisin
bvoisin at me.com
Sat Apr 17 22:05:19 CEST 2010
On 16 avr. 2010, at 17:54, Stefan Löffler wrote:
> first I'd like to say a big "thanks" to Alain for dealing with the
> accelerator key problem. I really appreciate this very much, but like
> Jonathan I had little time recently - so sorry for not replying earlier.
About accelerator keys: the Mac usually doesn't have any. For example when you type text in an editor window then try to close without saving, a dialog pops up offering to either save before closing, close without saving, or cancel (ie not close):
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Capture d??cran 2010-04-17 ? 21.46.18.png
Type: image/png
Size: 36673 bytes
Desc: not available
URL: <http://tug.org/pipermail/texworks/attachments/20100417/ba8f96ca/attachment-0002.png>
-------------- next part --------------
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.
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:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Capture d??cran 2010-04-17 ? 21.42.44.png
Type: image/png
Size: 33905 bytes
Desc: not available
URL: <http://tug.org/pipermail/texworks/attachments/20100417/ba8f96ca/attachment-0003.png>
-------------- next part --------------
Very convenient.
Is there something I've missed, some obvious way of revealing shortcuts or accelerators for dialogs, which I've not been able to find? If not, do you thing the above functionality (or an equivalent) would be interesting to implement in TeXworks?
Bruno Voisin
More information about the texworks
mailing list