InputText: Added '\' and '/' as word seperator. (#7824, #7704)

Adding those seperators means that ctrl+(left|right)-arrows and ctrl+backspace will stop at slashes, which is more inline with how most software works and generally is very convenient when dealing with paths or urls.
This commit is contained in:
Laurent Dufresne
2024-07-29 11:23:47 +02:00
committed by ocornut
parent 79e83d6535
commit 96460a8a12
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -146,6 +146,7 @@ Other changes:
- Multi-Select (advanced)
- Nav: fixed clicking window decorations (e.g. resize borders) from losing focused item when
within a child window using ImGuiChildFlags_NavFlattened.
- InputText: added '\' and '/' as word seperator. (#7824, #7704) [@reduf]
- Clipper: added SeekCursorForItem() function. When using ImGuiListClipper::Begin(INT_MAX) you can
can use the clipper without knowing the amount of items beforehand. (#1311)
In this situation, call ImGuiListClipper::SeekCursorForItem(items_count) as the end of your iteration