vscode-emacs-mcx
vscode-emacs-mcx copied to clipboard
Refactoring the EmacsCommand base class design
The EmacsCommand
base class should be simplified.
-
afterExecute
callback can be omitted. What is currently done in that callback can be moved toEmacsEmulator.runCommand
. -
execute()
should take onlyemulator
object andisInMarkMode
should be obtained from theemulator
object.-
prefixArgument
can be still passed as an argument... TBD.
-
-
IMarkModeController
contains rect-related properties now.