I m using ICSharpCode.TextEditor.TextEditorControl
as my DSL editor. When I get DSL compilation errors, I would like to highlight the offending text to provide a better user experience. However, I m having difficulty finding how to do this.
So far, I ve found that there is a ShowInvalidLines
property but I don t see a way to mark any lines as invalid. I also see HighlightSpanStack
property of LineSegment
and HighlightingStrategy
but not sure how they are supposed to be used.
Any help would be appreciated. Thanks!