Not logged in
▾
Log In
Register
Forgot Password
Resend Validation E-mail
PRODUCTS▾
WPF Controls
Avalonia Controls
Windows Forms Controls
Universal Windows Controls
Icons
Apps
DOWNLOAD
BUY
PURCHASE
SUPPORT
COMPANY
BLOG
Location of caret in SyntaxEditor?
SyntaxEditor for Windows Forms Forum
Previous
thread
Back to Forum
Up
Next
thread
Posted
20 years ago
by
shark92651
How can I get the location of the caret in the control as client coordinates?
Comments
(1)
Posted
20 years ago
by
shark92651
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.1) was released 4 months ago, which was after the last post in this thread.
Add Comment
Please
log in
to a validated account to post comments.