ONE keyboard shortcut to CYCLE between SEVERAL keyboard commands

Started by knn, July 29, 2010, 09:11:25 AM

Previous topic - Next topic

knn

I wanted to toggle on/off word wrap (by page width). This doesn't seem possible so far.

Maybe you can implement toggling or even better: CYCLING (= sequential toggling between a different commands):

alt-e (1st time pressed) --> encoding auto-select
alt-e (2nd time) --> encoding baltic
alt-e (3rd time) --> encoding european
alt-e (4th time) --> back to encoding auto-select


alex

If you have set Word wrap by page width for some syntax, than toggling word wrap button on toolbar (same as WordWrapEasy command) will toggle word wrap settings as you want.

About cycling: I am not convinced that this is a good idea. And also I do not see a way how to implement this easy. Example you have provided could not be taken: switching of the encoding does not have any shortcut. How to maintain, which command should be in cycle?..

I think, right way, that every user can implement such cycling with scripting, will be available in 1.50.
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

knn

Quote from: alex on July 30, 2010, 03:35:00 PM
If you have set Word wrap by page width for some syntax, than toggling word wrap button on toolbar (same as WordWrapEasy command) will toggle word wrap settings as you want.

About cycling: I am not convinced that this is a good idea. And also I do not see a way how to implement this easy. Example you have provided could not be taken: switching of the encoding does not have any shortcut. How to maintain, which command should be in cycle?..

I think, right way, that every user can implement such cycling with scripting, will be available in 1.50.

The scripting solution sounds good.

But it also be good if the short cuts would have the toggle function.

So the settings would look something like

"View.WordWrapWindowEdge"
[_ALT-W_______________] [ x ] Shortcut key toggles command on/off


knn

So, so far there is no keyboard shortcut to toggle between "word wrap on" and "word wrap off"?

alex

You can use way I have suggested before and assign a shortcut to command View.WordWrapEasy (it corresponds to mentioned button on toolbar).
QuoteIf you have set Word wrap by page width for some syntax, than toggling word wrap button on toolbar (same as WordWrapEasy command) will toggle word wrap settings as you want.
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]