
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.