1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-01-25 02:24:24 +00:00

InputText: added mGuiInputTextCallbackData::EventActive helpers. (#9174)

This commit is contained in:
ocornut 2026-01-21 18:46:38 +01:00
parent d448045669
commit cb3b7ff4fb
3 changed files with 7 additions and 3 deletions

View file

@ -155,9 +155,9 @@ Other Changes:
next to each components, in multi-components functions.
- Added a way to select a specific marker color.
- InputText:
- Made ImGuiInputTextCallbackData::SelectAll() also sets CursorPos to SelectionEnd.
- Added ImGuiInputTextCallbackData::SetSelection() helper.
- Added ImGuiInputTextCallbackData::ID field.
- ImGuiInputTextCallbackData: SelectAll() also sets CursorPos to SelectionEnd.
- ImGuiInputTextCallbackData: Added SetSelection() helper.
- ImGuiInputTextCallbackData: Added ID and EventActive helpers. (#9174)
- Text, InputText:
- Reworked word-wrapping logic:
- Try to not wrap in the middle of contiguous punctuations. (#8139, #8439, #9094)