This project is read-only.

Clear Undo History

Topics: Developer Forum, User Forum
Nov 16, 2009 at 5:32 PM


Is there a way to clear the undo history in the control? I'm re-using it to display different things, and in-between each load I want to clear the undo history. Is that possible with having to create a new instance of the control each time?



Nov 17, 2009 at 2:08 PM
Edited Nov 17, 2009 at 2:08 PM


have a look at the UndoRedo Property of ScintillaNET there is a Method called EmptyUndoBuffer

Best Regards


Nov 17, 2009 at 2:42 PM

Awesome. Many Thanks.


Btw, is there any documentation on the control's properties and methods?

Nov 17, 2009 at 3:03 PM

I'm not sure but I guess there is currently only the Documentation of the C++ Component

Or just click on the Documentation Tab here in codeplex to see what's there ;-)

Nov 17, 2009 at 3:19 PM

Yeah I looked at the Documentation tab, there's some good info in there, wish there were more.

But thanks, I'm going to start looking at the Scintilla documentation.