InputText: CharFilter callback event sets CursorPos/SelectionStart/SelectionEnd. (#816)

This commit is contained in:
ocornut
2026-04-09 14:52:49 +02:00
parent 11de9df44c
commit f4ed421a88
4 changed files with 8 additions and 5 deletions

View File

@@ -47,6 +47,7 @@ Other Changes:
- InputTextMultiline: fixed an issue processing deactivation logic when an active
multi-line edit is clipped due to being out of view.
- Fixed a crash when toggling ReadOnly while active. (#9354)
- CharFilter callback event sets CursorPos/SelectionStart/SelectionEnd. (#816)
- Tables:
- Fixed issues reporting ideal size to parent window/container: (#9352, #7651)
- When both scrollbars are visible but only one of ScrollX/ScrollY was explicitly requested.

View File

@@ -63,7 +63,6 @@ It's mostly a bunch of personal notes, probably incomplete. Feel free to query i
- input text: preserve scrolling when unfocused?
- input text: reorganize event handling, allow CharFilter to modify buffers, allow multiple events? (#541)
- input text: expose CursorPos in char filter event (#816)
- input text: try usage idiom of using InputText with data only exposed through get/set accessors, without extraneous copy/alloc. (#3009)
- input text: access public fields via a non-callback API e.g. InputTextGetState("xxx") that may return nullptr if not active (available in internals)
- input text: flag to disable live update of the user buffer (also applies to float/int text input) (#701)