M
MLM450
I need to programmatically delete protected text in a RichTextBox. The
problem is that I can't find a way to do it without getting
undesirable results in the undo buffer.
If I unprotect the text and delete, 2 entries go into the undo buffer.
If the user performs a single undo, they get back the text unprotected.
If I copy the entire RTF text, make my changes and copy it back, the
undo buffer is initialized.
Any ideas?
Thanks!
problem is that I can't find a way to do it without getting
undesirable results in the undo buffer.
If I unprotect the text and delete, 2 entries go into the undo buffer.
If the user performs a single undo, they get back the text unprotected.
If I copy the entire RTF text, make my changes and copy it back, the
undo buffer is initialized.
Any ideas?
Thanks!