moveCursorTopSelectCommand top-level property

CommandShortcutEvent moveCursorTopSelectCommand
final

arrow up + shift + ctrl or cmd move the cursor to the topmost position of the document and select everything in between

Implementation

final CommandShortcutEvent moveCursorTopSelectCommand = CommandShortcutEvent(
  key: 'move cursor to start of file and select all',
  getDescription: () => AppFlowyEditorL10n.current.cmdMoveCursorTopSelect,
  command: 'ctrl+shift+arrow up',
  macOSCommand: 'cmd+shift+arrow up',
  handler: _moveCursorTopSelectCommandHandler,
);