While the datastructure in BufferRegions is currently already able to represent multiple carets, edits will frequently crash the editor as the carets will result in deltas being applied out of order.
We need to have some way to guarantee that carets are dealt with in order, and that caret regions never overlap. Once that abstraction exists, we need to have tests and actually a BufferOp to add and remove cursors
While the datastructure in
BufferRegions
is currently already able to represent multiple carets, edits will frequently crash the editor as the carets will result in deltas being applied out of order.We need to have some way to guarantee that carets are dealt with in order, and that caret regions never overlap. Once that abstraction exists, we need to have tests and actually a
BufferOp
to add and remove cursors