Richedit 2.0 Undo after WM_SETTEXT -


we use richedit 2.0 our script editor, has automatic multi-level undo , redo when type. when want build our script or when script opens, reformat text , send rich edit control wm_settext. clears undo buffer.

how can after reformatting script can still press ctrl-z , go previous text, , previous undos before that, before did reformat ? don't know how richedit saves undos, seem need way of not clearing undo buffer when wm_settext, , storing undo point before that. possible ?

thanks

shaun southern


Comments

Popular posts from this blog

Winapi c++: DialogBox hangs when breaking a loop -

vb.net - Font adding using PDFsharp -

javascript - jQuery iScroll clickable list elements while retaining scroll? -