vscode-emacs-mcx icon indicating copy to clipboard operation
vscode-emacs-mcx copied to clipboard

Refactoring the EmacsCommand base class design

Open whitphx opened this issue 3 years ago • 0 comments

The EmacsCommand base class should be simplified.

  • afterExecute callback can be omitted. What is currently done in that callback can be moved to EmacsEmulator.runCommand.
  • execute() should take only emulator object and isInMarkMode should be obtained from the emulator object.
    • prefixArgument can be still passed as an argument... TBD.
  • IMarkModeController contains rect-related properties now.

whitphx avatar Jan 23 '22 18:01 whitphx