selectAllInCodeBlockCommand function

CommandShortcutEvent selectAllInCodeBlockCommand(
  1. String description
)

CTRL+A to select all content inside a Code Block, if cursor is inside one.

  • support
    • desktop
    • web

Implementation

CommandShortcutEvent selectAllInCodeBlockCommand(
  String description,
) =>
    CommandShortcutEvent(
      key: 'ctrl + a to select all content inside a code block',
      command: 'ctrl+a',
      macOSCommand: 'meta+a',
      getDescription: () => description,
      handler: _selectAllInCodeBlockCommandHandler,
    );