TextView: Update nav shortcuts again
Make Cmd+Left and Cmd+Right work the same as Option+Left and Option+Right, that is, they do word-wise navigation. Make Option+Up go to beginning of paragraph and Option+Down go to end of paragraph like Cmd+Left and Cmd+Right used to. Unfortunately option shortcuts are currently eaten by S&T until #9431 gets fixed.
This commit is contained in:
@@ -453,15 +453,17 @@ private:
|
||||
LayoutData* fLayoutData;
|
||||
int32 fLastClickOffset;
|
||||
|
||||
bool fInstalledNavigateLinewiseShortcuts;
|
||||
bool fInstalledNavigateWordwiseShortcuts;
|
||||
bool fInstalledNavigateDocwiseShortcuts;
|
||||
bool fInstalledNavigateToTopOrBottomShortcuts;
|
||||
bool fInstalledNavigateCommandWordwiseShortcuts;
|
||||
bool fInstalledNavigateOptionWordwiseShortcuts;
|
||||
bool fInstalledNavigateOptionLinewiseShortcuts;
|
||||
bool fInstalledNavigateCommandDocwiseShortcuts;
|
||||
bool fInstalledNavigateHomeEndDocwiseShortcuts;
|
||||
|
||||
bool fInstalledSelectLinewiseShortcuts;
|
||||
bool fInstalledSelectWordwiseShortcuts;
|
||||
bool fInstalledSelectDocwiseShortcuts;
|
||||
bool fInstalledSelectToTopOrBottomShortcuts;
|
||||
bool fInstalledSelectCommandWordwiseShortcuts;
|
||||
bool fInstalledSelectOptionWordwiseShortcuts;
|
||||
bool fInstalledSelectOptionLinewiseShortcuts;
|
||||
bool fInstalledSelectCommandDocwiseShortcuts;
|
||||
bool fInstalledSelectHomeEndDocwiseShortcuts;
|
||||
|
||||
uint32 _reserved[6];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user