https://bugs.kde.org/show_bug.cgi?id=436621
Jan Paul Batrina <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Latest Commit| |https://invent.kde.org/fram | |eworks/ktexteditor/commit/0 | |aa491a9b1d08d6c803f06edfa7a | |dd6e5a3181bc Resolution|--- |FIXED --- Comment #2 from Jan Paul Batrina <[email protected]> --- Git commit 0aa491a9b1d08d6c803f06edfa7add6e5a3181bc by Jan Paul Batrina. Committed on 20/05/2021 at 11:46. Pushed by cullmann into branch 'master'. Add "Transpose Words" feature Similar to "Transpose Characters", the word at the current cursor position is swapped with the next word (or the previous word if there is no next word in the line). Since KateView::word[Left|Right] is used, the next word would be the word to the right for LTR layouts and the word to the left for RTL layouts. The cursor's relative position inside the word is also preserved. For example, before transpose: wor|d1 word2 after transpose: word2 wor|d1 M +19 -0 src/document/katedocument.cpp M +1 -0 src/document/katedocument.h M +55 -0 src/view/kateview.cpp M +8 -0 src/view/kateview.h https://invent.kde.org/frameworks/ktexteditor/commit/0aa491a9b1d08d6c803f06edfa7add6e5a3181bc -- You are receiving this mail because: You are watching all bug changes.
