Right Mouse Button...Change Mode

Post any comments, suggestions, annoyances or ideas for future releases here. Please do not post bug reports or questions here.
Post Reply
E Programmer
Posts: 38
Joined: Thu Apr 07, 2005 7:07 pm

Right Mouse Button...Change Mode

Post by E Programmer »

I see you are not using the right mouse button for anything when I have the left button down.

This is what I would like to see.

If I drag a selection, an I began in one mode (say character-character mode). If, before I release my drag, I right click. The mode changes to Select by Line Mode; another click and it changes to Select by Column Mode.

This way, I can select the characters I'm interested in and by clicking the right button on the mouse I can change between the 3 different selection modes.

Now I have to remember to hold down the Shift or Cntl Key BEFORE I begin the selection to change from my default mode.

This action would not reset the default mode, it would only change the selection mode for that ONE instance.
davidrudd

block highlighting

Post by davidrudd »

CodeWright keeps the left mouse button drag in line-by-line mode and had the right mouse button drag for block highlighting. This provides the most consistency with other editors on the Windows paltform, except that some editors don't have a block highlighting feature at all, which is a requirement in any case.
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

If I drag a selection, an I began in one mode (say character-character mode). If, before I release my drag, I right click. The mode changes to Select by Line Mode; another click and it changes to Select by Column Mode.

I will add this request to the Zeus todo list.
Now I have to remember to hold down the Shift or Cntl Key BEFORE I begin the selection to change from my default mode.

There is also a one other alternative and that is to use these keyboard functions:

Code: Select all

MarkBlockToggle
MarkColumnToggle
MarkLineToggle
For example lets assume you used the mouse marking to mark a column of text. You could then use the Macros, Execute Script menu to run MarkLineToggle and the marked area would now be line marked. Repeating the process and running MarkColumnToggle would return you back to column marking.

Naturally you can also bind these functions to the keyboard.

Cheers Jussi
Post Reply