Finding a SpanIndicator

SyntaxEditor for Windows Forms Forum

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

Comments (1)

Posted 14 years ago by shark92651
Avatar
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 (v2018.1 build 0341) was released 6 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.