jlnr/gosu — Issue #114: TextArea caret position doesn't take parsed entities/tags into account.
Author: Spooner
Created: 2012-02-19 15:14:59+00:00
State: open

If entities/tags are used in a TextArea then it uses the _full_ string length for caret, etc, not the string's display length, which is a pain to workaround.

e.g. in a string "hello", arrow keys will move caret from 0..5. In "&pig;" it also goes from 0..5 but should be 0..1