From 8652cb3e1a267e767298ecab6ca8fb28b6c6e756 Mon Sep 17 00:00:00 2001 From: Ellet Date: Thu, 26 Sep 2024 00:14:13 +0300 Subject: [PATCH] chore: remove redundant Single activator entries that's not being used --- .../default_single_activator_intents.dart | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/lib/src/editor/raw_editor/keyboard_shortcuts/default_single_activator_intents.dart b/lib/src/editor/raw_editor/keyboard_shortcuts/default_single_activator_intents.dart index 9d1c3977d..3d0aeb49c 100644 --- a/lib/src/editor/raw_editor/keyboard_shortcuts/default_single_activator_intents.dart +++ b/lib/src/editor/raw_editor/keyboard_shortcuts/default_single_activator_intents.dart @@ -152,18 +152,6 @@ Map defaultSinlgeActivatorIntents() { meta: _isDesktopMacOS, ): const OpenSearchIntent(), - // Navigate to the start or end of the document - SingleActivator( - LogicalKeyboardKey.home, - control: !_isDesktopMacOS, - meta: _isDesktopMacOS, - ): const ScrollToDocumentBoundaryIntent(forward: false), - SingleActivator( - LogicalKeyboardKey.end, - control: !_isDesktopMacOS, - meta: _isDesktopMacOS, - ): const ScrollToDocumentBoundaryIntent(forward: true), - // Arrow key scrolling SingleActivator( LogicalKeyboardKey.arrowUp,