| Summary: | Paste from clipboard to multiple cursors | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | nomot16750 |
| Component: | part | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | wishlist | CC: | waqar.17a |
| Priority: | NOR | ||
| Version First Reported In: | 24.08.3 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/frameworks/ktexteditor/-/commit/7ab7eec2351275dbdfaf49cbac860e70023a5be7 | Version Fixed/Implemented In: | 6.10 |
| Sentry Crash Report: | |||
|
Description
nomot16750
2024-12-24 13:58:51 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/ktexteditor/-/merge_requests/768 Git commit 7ab7eec2351275dbdfaf49cbac860e70023a5be7 by Waqar Ahmed. Committed on 25/12/2024 at 11:07. Pushed by waqar into branch 'master'. Try to split clipboard text across multiple cursors when pasting If the number of lines in clipboard text == number of cursors then paste each line of clipboard text at a cursor position instead of pasting all text at each cursor position. FIXED-IN: 6.10 M +12 -0 autotests/src/multicursortest.cpp M +1 -0 autotests/src/multicursortest.h M +11 -5 src/view/kateview.cpp https://invent.kde.org/frameworks/ktexteditor/-/commit/7ab7eec2351275dbdfaf49cbac860e70023a5be7 Will that work if text in the clipboard contains Windows or Mac line endings? Someone needs to test that If split is done on `\n` I guess it will not work with `\r` (Mac) line endings, and with `\r\n` (Windows) line endings it will produce new line when pasting. |