This forum is temporaily read-only. All existing discussions remain available for reference. For new questions, bug reports or support requests, please contact us at mail@lmdsupport.com.

How to know what exactly was changed in LMDDocument?

edited June 2013 in LMD IDE-Tools

Hi!

How to know what exactly was changed in LMDDocument?

I need to know what the line numbers have been changed in the event OnDocumentModified.

Comments

  • Generally, there no way. If you absolutely need it, you have to store a "previous" version of the text and compare it with the new one manually.
  • Hi,

    I've added OnLinesChanged(AFistLine, ACount: Integer) event to the edito document. Edit's internal parser use the same way to invalidate its own internal state.
  • Thank you very much!
Sign In or Register to comment.