#10958
Stefan
Participant

 

“Switch Starting Point and Ending Point command (SHIFT+F8)”

Posted on: 4/17/2013 1:12 am
EmEditor Professional v13 beta (12.9.0) released!

Along with multiple selection editing, vertical selection
editing has been enhanced. For instance, pressing BACKSPACE
with the zero-width vertical selection now removes the last
character in each line. This allows you to remove the end
portions of text in multiple lines more easily than ever!

Moreover, the Switch Starting Point and Ending Point
command (SHIFT+F8) was added. Before the new version, you
could move the ending point by pressing arrow keys while
pressing the SHIFT key, but couldn’t move the starting
point. Now with the new version, you can move the cursor to
the selection starting point by pressing SHIFT+F8, and then
adjust the selection starting point.

Thank you Yutaka, please let me try:

That shortcuts is not “registered” in the beta download.
Luckily we have “Help > Keyboard Map… “
Or now tThe new Quick Launch command)
Just search for ‘point’ and add Shift+F8 as shortcut.

To let it work you have to make a selection first,
than you can switch the current working point
by pressing (SHIFT+F8)

For example, if you had done a selection to the left,
pressing (SHIFT+F8) will move the working point (Me means the zero-width selection line)
to the right side of this selection.

Try:

– make a zero-width selection first.
– hold Shift and press L/R arrow keys
  to create an selection, even one column will do.
– press (SHIFT+F8)
– hold Shift and press L/R arrow keys,
  now you can resize the selection from
  the other end of that selection.

Nifty to move to the wanted column:
– make a zero-width selection somewhere near the wanted column.
– hold Shift and press L/R arrow keys to create an
  selection till to the wanted column.
– press (SHIFT+F8)
– hold Shift and press L/R arrow keys, now resize the
  selection till you get a zero-width selection again.

– –

This will work at start of line or in the middle,
but not at the end of line (?).
At the end of line I can’t make a selection to the left.

I also can’t move the working point (the zero-width selection line)
anymore after I have typed something,
i.e. you can’t move the zero-width selection from column
to column to do several modifications.

But that was what I have tried to suggest above.
Or did I miss something here?

I think it would work as I suggested if not this would happen:
>> “I also can’t move the working point anymore after I have typed something, “

But after I typed something I can’t move the working point to another column.

OK, it’s because we are still in editing mode.
Pressing (SHIFT+F8) don’t help here anymore :-)

More on this if I may?

* Backspace, to delete to the left, works on EOL only,
not in the middle of the line.

* Del, to delete to the right, works nowhere with
an zero-width selection only.

For both we can do a selection to the left or right first, and then press Del to remove the signs.

Here I found an example of this zero-width selection moving:
https://www.youtube.com/watch?v=yz1NoXnjzPo
Maybe that video can better explain what I had in mind :-)

.