Yes, I'm working on a new replace method that fixes many of the old issues.
As an ugly workaround, do a editor.endUndoAction() after doing a replace()
After installing Python Script, undo-ing an action reverts all of the
contents to the previous contents not the undo state.
Steps to reproduce:
1) If the current buffer has text, paste anything.
2) Run the script. Script contents below:
3) Process anything in the current buffer.
4) Press CTRL-Z. Contents will then revert to the the text before the
Win 7 Ultimate 64-Bit
Notepad++ 6.4.5 (Unicode)
[Python Script - Undo problem](http://sourceforge.net/p/notepad-plus/discussion/1290590/thread/e64347cf/?limit=25#0226)
Sent from sourceforge.net because you indicated interest in <https://sourceforge.net/p/notepad-plus/discussion/1290590/>
To unsubscribe from further messages, please visit <https://sourceforge.net/auth/subscriptions/>