![Avatar](https://secure.gravatar.com/avatar/ddcb4ed6c4f10c9dc538bfba1d926243.jpg?s=64&d=identicon&r=g)
Hi,
Please tell me how to get the caret's coordinate (x and y).
Thank you.
Hi,
Please tell me how to get the caret's coordinate (x and y).
Thank you.
Hello,
I believe this is what you are looking for (X/Y relative to the SyntaxEditor control):
var bounds = editor.ActiveView.TransformFromTextArea(editor.ActiveView.GetCharacterBounds(editor.Caret.Offset).Rect);
Thank you very much!
Please log in to a validated account to post comments.