Author Topic: Multiple cursor alignment  (Read 121 times)

jporkkahtc

  • Senior Community Member
  • Posts: 1199
  • Hero Points: 87
  • Text
Multiple cursor alignment
« on: May 19, 2017, 09:04:02 pm »
When I'm editing with multiple cursors I'd like a way to get the cursors to align.
For example, given this text:
    abc |def geh
    a |b c
    12345 |12345 123456

Set 3 cursors at the start of each line.
Ctrl-Right to move the cursors to the start of the 2nd word on each line.
Now, hit <KEY>, and spaces/tabs are added to align like this:
    abc   |def geh
    a     |b c
    12345 |12345 123456

I realize in this simple example, I could use Document->FormatColumns - but that often doesn't work.

<KEY> could be TAB, but currently each cursor moves to its next tab and they aren't made to align to the same tab stop.