Finding a SpanIndicator

SyntaxEditor for Windows Forms Forum

Posted 15 years ago by BTAC Developer
How can I determine if the cursor is within a SpanIndicator?

Comments (1)

Posted 15 years ago by shark92651
You can iterate the Document.Indicators property, checking the type of indicator you are looking for and checking the offset value.

The current cursor location is Caret.Position. Check out the "Offsets, Positions, and Locations" section of the help to learn how to convert between Positions, Locations, and Offsets.
The latest build of this product (v2020.1 build 0403) was released 14 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.