Calculate modified status of TextRange?

SyntaxEditor for Windows Forms Forum

Posted 18 years ago by Erik Pepping - RADVenture B.V

Document.Modified contains a boolean which indicates that the text of the document is changed. I want to determine the "is Modified" condition also for a SpanIndicator.
Can anyone tell me what the easiest way is to determine if a SpanIndicator.TextRange contains a modified piece of text?



[Modified at 12/04/2006 08:24 AM]

Comments (1)

Posted 18 years ago by Actipro Software Support - Cleveland, OH, USA
You would have to track that sort of information yourself. Maybe handle the DocumentTextChanged event and then scan the indicators and flag them somehow if they overlap the TextRange that has been modified.

Actipro Software Support

The latest build of this product (v24.1.0) was released 5 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.