[texworks] Feature Request: Shortcut for Hard Wrap
Alain Delmotte
esperanto at swing.be
Wed Feb 3 14:23:16 CET 2010
Hi!
kap4lin a écrit :
> Here is svn diff:
>
> Index: src/TeXDocument.ui
> ===================================================================
> --- src/TeXDocument.ui (revision 564)
> +++ src/TeXDocument.ui (working copy)
> @@ -1009,6 +1009,9 @@
> <property name="text">
> <string>Hard Wrap...</string>
> </property>
> + <property name="shortcut">
> + <string>Ctrl+Shift+J</string>
> + </property>
> <property name="menuRole">
> <enum>QAction::NoRole</enum>
> </property>
>
>
> Ctrl+J is the hang over of pine/alpine MUA (where it does a "flowed"
> hard wrap) and 'Shift' is a hangover from the other shortcuts under
> Format menu...
>
It is always possible to redefine the shortcuts in a file
"shortcuts.ini" to be placed in the TeXworks resource folder
configuration subfolder (manual section 6.1).
Mine has among others:
actionHard_Wrap = Shift+F3
to get Hard Wrap with Shift+F3
to Jonathan,
I would also suggest to suppress all shortcuts hard coded in the program
and systematically have the shortcuts.ini file to define all the shortcuts.
The present shortcuts could be defined in this one by default and users
who do not want to change, wouldn't change the file.
And all possible actions could be listed, perhaps empty if one doesn't
define a shortcut for the action:
actionHard_Wrap = Shift+F3
actionGreetGrandMa =
This would make the customization easier for other languages, platforms,...
--
Alain
More information about the texworks
mailing list