Location of caret in SyntaxEditor?

SyntaxEditor for Windows Forms Forum

Posted 20 years ago by shark92651
Avatar
How can I get the location of the caret in the control as client coordinates?

Comments (1)

Posted 20 years ago by shark92651
Avatar
Nevermind, I found this to be a good method:

Rectangle rect = syntaxEditor.Document.CurrentView.
GetCharacterBounds(syntaxEditor.Caret.Offset);
The latest build of this product (v24.1.0) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.