@@ -205,6 +205,8 @@ class DefaultTextEditingShortcuts extends Shortcuts {
205
205
const SingleActivator (LogicalKeyboardKey .keyC, control: true ): CopySelectionTextIntent .copy,
206
206
const SingleActivator (LogicalKeyboardKey .keyV, control: true ): const PasteTextIntent (SelectionChangedCause .keyboard),
207
207
const SingleActivator (LogicalKeyboardKey .keyA, control: true ): const SelectAllTextIntent (SelectionChangedCause .keyboard),
208
+ const SingleActivator (LogicalKeyboardKey .keyZ, control: true ): const UndoTextIntent (SelectionChangedCause .keyboard),
209
+ const SingleActivator (LogicalKeyboardKey .keyZ, shift: true , control: true ): const RedoTextIntent (SelectionChangedCause .keyboard),
208
210
};
209
211
210
212
// The following key combinations have no effect on text editing on this
@@ -215,6 +217,7 @@ class DefaultTextEditingShortcuts extends Shortcuts {
215
217
// * Meta + C
216
218
// * Meta + V
217
219
// * Meta + A
220
+ // * Meta + shift? + Z
218
221
// * Meta + shift? + arrow down
219
222
// * Meta + shift? + arrow left
220
223
// * Meta + shift? + arrow right
@@ -235,6 +238,7 @@ class DefaultTextEditingShortcuts extends Shortcuts {
235
238
// * Meta + C
236
239
// * Meta + V
237
240
// * Meta + A
241
+ // * Meta + shift? + Z
238
242
// * Meta + shift? + arrow down
239
243
// * Meta + shift? + arrow left
240
244
// * Meta + shift? + arrow right
@@ -259,6 +263,7 @@ class DefaultTextEditingShortcuts extends Shortcuts {
259
263
// * Meta + C
260
264
// * Meta + V
261
265
// * Meta + A
266
+ // * Meta + shift? + Z
262
267
// * Meta + shift? + arrow down
263
268
// * Meta + shift? + arrow left
264
269
// * Meta + shift? + arrow right
@@ -319,12 +324,15 @@ class DefaultTextEditingShortcuts extends Shortcuts {
319
324
const SingleActivator (LogicalKeyboardKey .keyC, meta: true ): CopySelectionTextIntent .copy,
320
325
const SingleActivator (LogicalKeyboardKey .keyV, meta: true ): const PasteTextIntent (SelectionChangedCause .keyboard),
321
326
const SingleActivator (LogicalKeyboardKey .keyA, meta: true ): const SelectAllTextIntent (SelectionChangedCause .keyboard),
327
+ const SingleActivator (LogicalKeyboardKey .keyZ, meta: true ): const UndoTextIntent (SelectionChangedCause .keyboard),
328
+ const SingleActivator (LogicalKeyboardKey .keyZ, shift: true , meta: true ): const RedoTextIntent (SelectionChangedCause .keyboard),
322
329
// The following key combinations have no effect on text editing on this
323
330
// platform:
324
331
// * End
325
332
// * Home
326
333
// * Control + shift? + end
327
334
// * Control + shift? + home
335
+ // * Control + shift? + Z
328
336
};
329
337
330
338
// The following key combinations have no effect on text editing on this
0 commit comments