Open
Description
The problem
In the following file
hello
world
Calling the following two commands
- "bring line harp to after whale"
- "indent that"
Results in the following
hello
world
hello
It should be
hello
world
hello
- While we're here, make
that
mark be list of targets without delimiters when we do auto-joining of multiple "bring" sources - While we're here, implement Selection migration for "bring" / "move" #527?
The solution
We add support in our selection update tracker code for updating the range for an edit, so that the client can determine the final range of their edit range, after the edits are applied. The "bring" code will then make it so that each insertion which is not a delimiter is tracked, and set the "that" mark to the list of these insertions.
- Also highlight just these insertions rather than highlighting the delimiters