Posted 14 years ago
by Leon Zhou

Hi,
I have to complement the syntax editor first, it is an amazing control, excellent work!
I'd like to know if there is a way to have the caret visible when the editor is out of focus. This is particularly useful for implementing dropping to the editor, notifying users where exactly they are dropping.
It's easy to set the caret's position using the existing SyntaxEditor.HitTest method, but the editor is not focused when dragging an external UI element to the editor, therefore the caret is always not visible.
Cheers,
Leon
[Modified at 05/23/2011 07:10 AM]
I have to complement the syntax editor first, it is an amazing control, excellent work!
I'd like to know if there is a way to have the caret visible when the editor is out of focus. This is particularly useful for implementing dropping to the editor, notifying users where exactly they are dropping.
It's easy to set the caret's position using the existing SyntaxEditor.HitTest method, but the editor is not focused when dragging an external UI element to the editor, therefore the caret is always not visible.
Cheers,
Leon
[Modified at 05/23/2011 07:10 AM]