Posted 20 years ago
by Blaise

OK, this nube wants to be able to take an action when the caret is moved from one line of text (code) to another in the SyntaxEditor. What is the best way to do this?
The brute force way works (handle the key-up event for certain keystrokes [up, down, left, page-down, etc] and the mouse-up event, and then see if the caret line position is changed) ... But I figure there must be a better way!
Thanks.
The brute force way works (handle the key-up event for certain keystrokes [up, down, left, page-down, etc] and the mouse-up event, and then see if the caret line position is changed) ... But I figure there must be a better way!
Thanks.