mirror of
https://github.com/Drezil/imgui.git
synced 2025-07-04 12:08:47 +02:00
InputText: Internal renaming of some fields + final copy uses edit_state.CurLenA+1 instead of buf_size.
This commit is contained in:
2
imgui.h
2
imgui.h
@ -1429,7 +1429,7 @@ struct ImGuiTextEditCallbackData
|
||||
ImGuiKey EventKey; // Key pressed (Up/Down/TAB) // Read-only
|
||||
char* Buf; // Current text buffer // Read-write (pointed data only, can't replace the actual pointer)
|
||||
int BufTextLen; // Current text length in bytes // Read-write
|
||||
int BufSize; // Maximum text length in bytes // Read-only
|
||||
int BufSize; // Capacity (maximum text length + 1) // Read-only
|
||||
bool BufDirty; // Set if you modify Buf/BufTextLen!! // Write
|
||||
int CursorPos; // // Read-write
|
||||
int SelectionStart; // // Read-write (== to SelectionEnd when no selection)
|
||||
|
Reference in New Issue
Block a user