Author Topic: Multiple cursor alignment  (Read 2753 times)

jporkkahtc

  • Senior Community Member
  • Posts: 2620
  • Hero Points: 210
  • 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.


Dennis

  • Senior Community Member
  • Posts: 3954
  • Hero Points: 515
Re: Multiple cursor alignment
« Reply #1 on: April 06, 2021, 05:24:02 PM »
This is a great idea, we are looking into it for the next release.