https://bugs.kde.org/show_bug.cgi?id=497863
Bug ID: 497863 Summary: Paste from clipboard to multiple cursors Classification: Applications Product: kate Version: 24.08.3 Platform: Other OS: Linux Status: REPORTED Severity: wishlist Priority: NOR Component: part Assignee: kwrite-bugs-n...@kde.org Reporter: nomot16...@ociun.com Target Milestone: --- SUMMARY When pasting to multiple cursors Kate should check if number of lines in the clipboard is the same as number of multiple cursors and split those lines to corresponding cursor, i.e. each cursor should get single line from the clipboard. With current implementation in Kate every cursor gets all the lines from the clipboard. This is example of similar implementation in Visual Studio Code: https://github.com/microsoft/vscode/blob/4fa5611d67dc84e105e9cd155a746f2d7813d9a0/src/vs/editor/common/cursor/cursorTypeEditOperations.ts#L676 STEPS TO REPRODUCE If we have text like this: ``` a b c 1 2 3 ``` In Sublime Text and Visual Studio Code it is possible to cut three lines with numbers to the clipboard, select lines with letters, do split to multiple lines, use Home to put cursor at line start, make paste and get this: EXPECTED RESULT ``` 1a 2b 3c ``` OBSERVED RESULT In Kate 24.08.3 we get this: ``` 1 2 3a 1 2 3b 1 2 3c ``` ADDITIONAL INFORMATION Original report: https://bugs.kde.org/show_bug.cgi?id=497152 Related discussion: https://discuss.kde.org/t/multiline-paste-with-the-same-number-of-lines/26128/4 -- You are receiving this mail because: You are watching all bug changes.