osx uses super+arrows for home/end, built on work in ocornut/imgui#473

This commit is contained in:
Michael Bartnett
2016-05-12 00:48:38 -04:00
parent 5525c2356a
commit 86f42b5950
2 changed files with 8 additions and 4 deletions

View File

@ -758,6 +758,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 HomeEndUsesArrowSuperKey; // = defined(__APPLE__) // OS X style: Line/Text Start and End using Cmd+Arrows instead of Home/End
bool DoubleClickSelectsWord; // = defined(__APPLE__) // OS X style: Double click selects by word instead of selecting whole text
bool MultiSelectUsesSuperKey; // = defined(__APPLE__) // OS X style: Multi-selection in lists uses Cmd/Super instead of Ctrl [unused yet]