Author Topic: ONE keyboard shortcut to CYCLE between SEVERAL keyboard commands  (Read 365 times)

Offline knn

  • Newbie
  • *
  • Posts: 45
  • Karma: +0/-0
    • View Profile
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


Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1670
  • Karma: +29/-2
    • View Profile
    • HippoEDIT
Re: ONE keyboard shortcut to CYCLE between SEVERAL keyboard commands
« Reply #1 on: July 30, 2010, 02: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.

Offline knn

  • Newbie
  • *
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Re: ONE keyboard shortcut to CYCLE between SEVERAL keyboard commands
« Reply #2 on: July 30, 2010, 04:23:58 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

« Last Edit: July 31, 2010, 06:23:45 am by knn »

Offline knn

  • Newbie
  • *
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Re: ONE keyboard shortcut to CYCLE between SEVERAL keyboard commands
« Reply #3 on: August 10, 2010, 03:42:37 pm »
So, so far there is no keyboard shortcut to toggle between "word wrap on" and "word wrap off"?

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1670
  • Karma: +29/-2
    • View Profile
    • HippoEDIT
Re: ONE keyboard shortcut to CYCLE between SEVERAL keyboard commands
« Reply #4 on: August 10, 2010, 06:04:46 pm »
You can use way I have suggested before and assign a shortcut to command View.WordWrapEasy (it corresponds to mentioned button on toolbar).
Quote
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.

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
403 Views
Last post October 06, 2009, 10:08:18 pm
by alex
3 Replies
283 Views
Last post May 07, 2010, 04:04:35 pm
by alex
4 Replies
400 Views
Last post July 12, 2010, 03:29:41 am
by luxxon
2 Replies
294 Views
Last post August 10, 2010, 12:03:37 pm
by knn
1 Replies
263 Views
Last post June 10, 2011, 09:40:11 pm
by alex