mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-11 00:04:24 +00:00
InputText: restore truncating, now between UTF-8 codepoint. (#9029)
Amende612536,2a194e2.
This commit is contained in:
parent
8df962a6ed
commit
3c578fa87e
4 changed files with 24 additions and 8 deletions
|
|
@ -49,6 +49,9 @@ Other Changes:
|
|||
EndTable() was mistakenly restoring a wrong current table.
|
||||
- Disabled: fixed a bug when a previously enabled item that got nav focus
|
||||
and then turns disabled could still be activated using keyboard. (#9036)
|
||||
- InputText: when buffer is not resizable, trying to paste contents that
|
||||
cannot fit will now truncate text to nearest UTF-8 codepoint boundaries,
|
||||
instead of completely ignoring the paste. (#9029)
|
||||
- InputText: avoid continuously overwriting ownership of ImGuiKey_Enter/_KeypadEnter
|
||||
keys in order to allow e.g. external Shortcut override behavior. (#9004)
|
||||
- InputText: when using a callback to reduce/manipulate the value of BufTextLen,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue