@@ -205,6 +205,8 @@ class DefaultTextEditingShortcuts extends Shortcuts {
205205 const SingleActivator (LogicalKeyboardKey .keyC, control: true ): CopySelectionTextIntent .copy,
206206 const SingleActivator (LogicalKeyboardKey .keyV, control: true ): const PasteTextIntent (SelectionChangedCause .keyboard),
207207 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),
208210 };
209211
210212 // The following key combinations have no effect on text editing on this
@@ -215,6 +217,7 @@ class DefaultTextEditingShortcuts extends Shortcuts {
215217 // * Meta + C
216218 // * Meta + V
217219 // * Meta + A
220+ // * Meta + shift? + Z
218221 // * Meta + shift? + arrow down
219222 // * Meta + shift? + arrow left
220223 // * Meta + shift? + arrow right
@@ -235,6 +238,7 @@ class DefaultTextEditingShortcuts extends Shortcuts {
235238 // * Meta + C
236239 // * Meta + V
237240 // * Meta + A
241+ // * Meta + shift? + Z
238242 // * Meta + shift? + arrow down
239243 // * Meta + shift? + arrow left
240244 // * Meta + shift? + arrow right
@@ -259,6 +263,7 @@ class DefaultTextEditingShortcuts extends Shortcuts {
259263 // * Meta + C
260264 // * Meta + V
261265 // * Meta + A
266+ // * Meta + shift? + Z
262267 // * Meta + shift? + arrow down
263268 // * Meta + shift? + arrow left
264269 // * Meta + shift? + arrow right
@@ -319,12 +324,15 @@ class DefaultTextEditingShortcuts extends Shortcuts {
319324 const SingleActivator (LogicalKeyboardKey .keyC, meta: true ): CopySelectionTextIntent .copy,
320325 const SingleActivator (LogicalKeyboardKey .keyV, meta: true ): const PasteTextIntent (SelectionChangedCause .keyboard),
321326 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),
322329 // The following key combinations have no effect on text editing on this
323330 // platform:
324331 // * End
325332 // * Home
326333 // * Control + shift? + end
327334 // * Control + shift? + home
335+ // * Control + shift? + Z
328336 };
329337
330338 // The following key combinations have no effect on text editing on this
0 commit comments