> Looks mostly good, but I'd rather not rely on where the caret is. Not relying 
> on it makes it fairly easy to add a right-click version of the feature

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?

-- 
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-301274785

Reply via email to