Is it possible to add commands that can show:
- where the cursor is at
- where a certain character is at
in display coordinates?
For example:
ctrlEditCursorPosition ctrl
To get the cursor position, and:
ctrl ctrlEditCharacterPosition n, where n is the index of the character in the ctrlText.
It should return an invalid array (like []) if either of these positions fall outside the current view.