Posted 19 years ago
by Paul Huckstepp
- United Kingdom
Hi,
Could some one help me out with removing an indicator pls.
I have a document open in Syntax Editor 3 that has a squiggly line beneath it which is set:Now the problem is that I don't know how to do a removal of the same indicator when needed. The Remove function only seems to take an indicator parameter. How can I specify the word/characters to remove the indicator from?
Thanks for your help.
Could some one help me out with removing an indicator pls.
I have a document open in Syntax Editor 3 that has a squiggly line beneath it which is set:
Dim indicator As SpanIndicator = Nothing
indicator = New SquiggleLineIndicator("ErrorIndicator", 1, Color.Red)
indicator.Tag = "Spelling Error"
Try
Me.codeWindow2.Document.Indicators.Add(indicator, CInt(previousWord2.startOffset), previousWord2.Length)
Catch
End Try
Thanks for your help.