Sublime Forum

[BUG] pasting text with new lines on multiple cursors

#1

Using Sublime Text 3, build 3047. Bug occurs on both Windows and Ubuntu.

  1. Start with this text:

AAAAAA BBBBBB CCCCCC DDDDDD EEEEEE FFFFFF

  1. Select text including a new line, e.g. from the middle of the C line to the middle of the D line. Copy that, i.e. “CCC\nDDD” is in your clipboard.

  2. Use multiple cursors (Ctrl+click), let’s say at end of B and E lines.

  3. Paste.

EXPECTED: same as if I clicked each cursor separately:

AAAAAA BBBBBBCCC DDD CCCCCC DDDDDD EEEEEECCC DDD FFFFFF

ACTUAL:

AAAAAA BBBBBBCCC CCCCCC DDDDDD EEEEEEDDD FFFFFF

Note:if 3+ cursors are used it appears to work fine. It’s only with 2 cursors that the bug occurs.

As a side note, where can we actually hear from the developer? I reported this bug months ago (before v3) which is still occuring but no word from the dev. If there’s anything I can do to help find the issue, let me know!

0 Likes

#2

github.com/adzenith/CopyEdit

1 Like