Fix cursor merging in first/last line + tests

We need to remove cursors when they collide. Can happen when you are in the first or last line of the document


performance improvements

Merge request reports

Loading
Loading