Finding a SpanIndicator

SyntaxEditor for Windows Forms Forum

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

Comments (1)

Posted 19 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 (v24.1.1) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.