> Maybe I misunderstand how you meant it but how does the right-click version > know at which position to undo when it don't use the caret position? I'd > expect the caret is somewhere where you want to undo, you right-click (at > which point I expect Scintilla still preserves the caret position but I may > be wrong) and select undo from the menu. But you still need the caret > position, not?
As said above, no: the right click undo would undo at the position of the click, which indeed doesn't move the caret, which means we need be able to undo arbitrary hunks regardless of the caret position. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/pull/531#issuecomment-301339580
