changments detection

Topics: Developer Forum, User Forum
May 28, 2009 at 2:49 PM

Hi all,

does any body knows how to detect changments in a scintilla text, I just need a variable to detect this changment to be able to know if I am going to save this changement or not.

thanks in advance.

Developer
May 28, 2009 at 4:37 PM

I think you could use the History of the Scintilla Control, but you have to clear it, after you loaded the Text into it, or the Histroy contains the loading of the text.

this.sciDocument.UndoRedo.EmptyUndoBuffer();

Coordinator
May 28, 2009 at 5:27 PM

It sounds like you're looking for the Scintilla.Modified property.

May 29, 2009 at 11:50 AM

Yes its the Scintilla.Modified property, thanks a lot guys :)