InputText: fixed cursor navigation when pressing Up Arrow on the last character of a multiline buffer which doesn't end with a carriage return. (#6000)

Simplify stb_textedit_find_charpos(). Leaving that to simmer for a while before attempting an upstream PR.
This commit is contained in:
ocornut 2023-01-04 17:58:07 +01:00
commit 57a5b73a4c
4 changed files with 17 additions and 24 deletions