Summary: | Multi-line editing, with multiple cursors possible per line | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | nomot16750 |
Component: | part | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED DUPLICATE | ||
Severity: | wishlist | CC: | john.kizer, waqar.17a |
Priority: | NOR | ||
Version First Reported In: | 24.08.3 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
nomot16750
2024-12-07 07:36:17 UTC
Moving to confirmed wishlist - ultimately a similar request to https://bugs.kde.org/show_bug.cgi?id=316663 if reference there is helpful for anyone. First is possible if "number of copies" == "number of cursors". You need to copy with multiple cursors, and then paste with multiple cursors. Read the docs https://docs.kde.org/stable5/en/kate/katepart/kate-part-multiple-cursors.html The relevant shortcut is Alt+Shift+I Second is a duplicate of https://bugs.kde.org/show_bug.cgi?id=487644 Thus I am marking the bug as duplicate. *** This bug has been marked as a duplicate of bug 487644 *** (In reply to Waqar Ahmed from comment #2) > First is possible if "number of copies" == "number of cursors". You need to > copy with multiple cursors, and then paste with multiple cursors. Read the > docs > https://docs.kde.org/stable5/en/kate/katepart/kate-part-multiple-cursors. > html The relevant shortcut is Alt+Shift+I Hello Waqar, What if you want to paste lines from another application? It is not ideal that you need to paste them in separate location in Kate, convert selection to multiple cursors, make copy and then paste at multiple cursors. > Second is a duplicate of https://bugs.kde.org/show_bug.cgi?id=487644 > > Thus I am marking the bug as duplicate. I fail to see how these two bugs are the same. This one is about cursor movement with `Ctrl-Right`, they might be related internally somehow, so I might be wrong. Bug https://bugs.kde.org/show_bug.cgi?id=487644 is described as hard to solve. Could cursor movement with `Ctrl-Right` be solved by adding option to `Editing > Text Navigation`? Long time users who prefer classic behavior don't need to use the option. My main point is that in Sublime Text and Visual Studio Code this: ``` a b aa bb aaa bbb 1 2 3 ``` Can be converted to this: ``` a1 1b aa2 2bb aaa3 3bbb ``` Notice numbers after every `a`. In Kate we can add them before every `b` but not after every `a`. Moving cursor with `Ctrl-Right` which puts it behind the word enables that. In my opinion that is a separate issue from deleting with `Ctrl-Delete`. Kate already has options for cursor movement `Smart home and smart end`, `PageUp/PageDown moves cursor` and `Enable camel case cursor movement`. Is it possibility to add something similar for movement with `Ctrl-Right`? It is the same issue. Its about our word movement, word deletion etc works on top of basic word movement. As suggested by elsewhere, you can easily emulate the needed behavior in a kate script. Fixing this is not trivial, it requires a lot of changes aka a lot of time. |