1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-01-29 03:00:05 +00:00

InputText: ImGuiInputTextCallbackData::SelectAll() sets CursorPos. Added SetSelection() helper.

Context was for #9174 but not specific to it.
This commit is contained in:
ocornut 2026-01-21 18:25:38 +01:00
parent 42b7704b70
commit f21307e5c9
2 changed files with 7 additions and 3 deletions

View file

@ -154,6 +154,9 @@ Other Changes:
- Added ImGuiSliderFlags_ColorMarkers to opt-in adding R/G/B/A color markers
next to each components, in multi-components functions.
- Added a way to select a specific marker color.
- InputText:
- ImGuiInputTextCallbackData::SelectAll() also sets CursorPos to SelectionEnd.
- Added ImGuiInputTextCallbackData::SetSelection() helper.
- Text, InputText:
- Reworked word-wrapping logic:
- Try to not wrap in the middle of contiguous punctuations. (#8139, #8439, #9094)