Summary: | Multiple Cursor Behavior: Alt+DoubleClick, Alt+Click+Drag and SelectText + Alt+Click | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Chris Holland <zrenfire> |
Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | groszdanielpub, nate, waqar.17a |
Priority: | NOR | ||
Version: | 22.04.2 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Other | ||
Latest Commit: | 8942e2da8fdba77e44fff42c21ddd2a147e18644 | Version Fixed In: | 5.98 |
Sentry Crash Report: |
Description
Chris Holland
2022-07-15 00:53:18 UTC
Multiple selections with mouse are not supported yet. Nor is a mixture of selections and simple cursors supported. I just found this issue as I accidentally lost my cursors after moving the mouse a bit while Alt+Clicking. As for what Kate should actually do when Alt+Dragging, there are multiple reasonable options: one is to create a new cursor and just one selection. When the new selection created by the mouse would include an existing cursor, there is another option: create equivalent selections around all existing cursors, move all cursors (except when the mouse is released right at an existing cursor), and don't create a new cursor. Likewise, Alt+DoubleClick could either select just one word or, if the word under the mouse includes an existing cursor, another option is to select the word under each existing cursor. This is now implemented. https://github.com/KDE/ktexteditor/commit/8942e2da8fdba77e44fff42c21ddd2a147e18644 |