mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-06-13 07:10:26 +08:00
Adopt to latest command changes
This commit is contained in:
@ -58,7 +58,7 @@ class InsertOperator extends OperatorWithNoArgs {
|
||||
|
||||
class AppendOperator extends OperatorWithNoArgs {
|
||||
protected _run(ctrl: IController, ed:TextEditor): void {
|
||||
let newPos = Motions.Right.run(this.doc(ed), this.pos(ed), ctrl.motionState);
|
||||
let newPos = Motions.RightMotion.run(this.doc(ed), this.pos(ed), ctrl.motionState);
|
||||
this.setPosReveal(ed, newPos.line, newPos.character);
|
||||
ctrl.setMode(Mode.INSERT);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user