Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TextContainer: finish implementing basic text editing features
along with a minor refactor for simplifying the existing editing capabilities 1. support for rudimentary (only good for single line eg TextEdit) alignment 2. cursor position only requires the char index now. we instead figure everything else out during Draw time 3. cache text length for quickly calculating things 4. implement keyboard keys: home, end, arrows, return, backspace, delete 5. show the software keyboard (if applicable) after MoveCursorToPoint 6. bug fixes: not erasing all text from insertion point, MarkDirty(), unable to position cursor at end of line 7. fix compilation when DEBUG_TEXT is set
- Loading branch information
1 parent
7968f60
commit 0766cdd
Showing
2 changed files
with
235 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.