mirror of
https://github.com/Drezil/imgui.git
synced 2025-07-07 21:39:54 +02:00
InputText(): Added io.DoubleClickSelectsWord option for OS X compatible behavior (#473)
This commit is contained in:
1
imgui.h
1
imgui.h
@ -711,6 +711,7 @@ struct ImGuiIO
|
||||
// Advanced/subtle behaviors
|
||||
bool WordMovementUsesAltKey; // = defined(__APPLE__) // OS X style: Text editing cursor movement using Alt instead of Ctrl
|
||||
bool ShortcutsUseSuperKey; // = defined(__APPLE__) // OS X style: Shortcuts using Cmd/Super instead of Ctrl
|
||||
bool DoubleClickSelectsWord; // = defined(__APPLE__) // OS X style: Double click selects by word instead of selecting whole text
|
||||
|
||||
//------------------------------------------------------------------
|
||||
// User Functions
|
||||
|
Reference in New Issue
Block a user