https://bugs.kde.org/show_bug.cgi?id=409940

mickael.bo...@linux.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mickael.bo...@linux.com

--- Comment #1 from mickael.bo...@linux.com ---
I would like to implement this in Kate.
How :
- connect a slot to KTextEditor::View::cursorPositionChanged()
- fill a map<KTextEditor::View, list<KTextEditor::Cursor>> in this slot
- register the actions "undo move cursor" and "redo move cursor in the View
menu with their associated shortcuts and the hardcoded shortcuts ctrl + "mouse
previous/next button"
- when the action is triggered, apply it on the current view and update the
map[view] list accordingly.

In a second commit:
- allow to discard jumps when the relative cursor move is less than N lines
- allow to limit the lists sizes (I doubt this will save a lot of memory but
the original post only suggests to undo few bad keystrokes).

On my own wishlist:
- allow to configure the mouse buttons actions but I did not see any easy
option  in the KDE framework. The Kate tab bar already use the "mouse
previous/next button" but I don't use the tab bar, thus the "mouse
previous/next button" are a good mouse shortcut for me.

Any suggestions before I try this?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to