Adopt to latest command changes

This commit is contained in:
Sandeep Somavarapu
2016-07-21 21:13:00 +02:00
parent f53d0df26d
commit 2b83dc4e00
4 changed files with 58 additions and 68 deletions

View File

@ -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);
}