Hello,

some times ago I wondered how to collect undo/redo information in order to monitor the undo/redo of scintilla from outside. I use my own undo/redo stack because i need to store external info. Through the notifications I could nearly do what I want but I'm not sure. To be able to synchronize the two stacks I have to tell when scintilla starts a command and when it ends a command. it seems that SC_MULTISTEPUNDOREDO and SC_LASTSTEPINUNDOREDO do what I want but they seems to be sent only when SC_PERFORMED_UNDO or SC_PERFORMED_REDO are there :( couldn't they always be sent for any multi-step or last step of a command? we already have SC_PERFORMED_UNDO or SC_PERFORMED_REDO to know that a modification is part of undo/redo?

wouldn't having something like SC_MULTISTEP and SC_LASTSTEP plus SC_PERFORMED_UNDO/REDO aside be better?

Regards
Armel


_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to