@@ -476,32 +476,32 @@ function moveToLineLastNonWhiteSpaceCharacter(cursor: Cursor) {
476476 move ( cursor , { to : CursorMovePosition . WrappedLineLastNonWhitespaceCharacter } ) ;
477477}
478478
479- function moveLeft ( cursor : Cursor , amount ?: number , by ?: string , select ?: boolean ) {
480- move ( cursor , { to : CursorMovePosition . Left , by :by , amount : amount , select : select } ) ;
479+ function moveLeft ( cursor : Cursor , value ?: number , by ?: string , select ?: boolean ) {
480+ move ( cursor , { to : CursorMovePosition . Left , by :by , value : value , select : select } ) ;
481481}
482482
483- function moveRight ( cursor : Cursor , amount ?: number , by ?: string , select ?: boolean ) {
484- move ( cursor , { to : CursorMovePosition . Right , by :by , amount : amount , select : select } ) ;
483+ function moveRight ( cursor : Cursor , value ?: number , by ?: string , select ?: boolean ) {
484+ move ( cursor , { to : CursorMovePosition . Right , by :by , value : value , select : select } ) ;
485485}
486486
487487function moveUp ( cursor : Cursor , noOfLines : number = 1 , select ?: boolean ) {
488- move ( cursor , { to : CursorMovePosition . Up , by :CursorMoveByUnit . WrappedLine , amount : noOfLines , select : select } ) ;
488+ move ( cursor , { to : CursorMovePosition . Up , by :CursorMoveByUnit . WrappedLine , value : noOfLines , select : select } ) ;
489489}
490490
491491function moveDown ( cursor : Cursor , noOfLines : number = 1 , select ?: boolean ) {
492- move ( cursor , { to : CursorMovePosition . Down , by :CursorMoveByUnit . WrappedLine , amount : noOfLines , select : select } ) ;
492+ move ( cursor , { to : CursorMovePosition . Down , by :CursorMoveByUnit . WrappedLine , value : noOfLines , select : select } ) ;
493493}
494494
495495function moveToTop ( cursor : Cursor , noOfLines : number = 1 , select ?: boolean ) {
496- move ( cursor , { to : CursorMovePosition . ViewPortTop , amount : noOfLines , select : select } ) ;
496+ move ( cursor , { to : CursorMovePosition . ViewPortTop , value : noOfLines , select : select } ) ;
497497}
498498
499499function moveToCenter ( cursor : Cursor , select ?: boolean ) {
500500 move ( cursor , { to : CursorMovePosition . ViewPortCenter , select : select } ) ;
501501}
502502
503503function moveToBottom ( cursor : Cursor , noOfLines : number = 1 , select ?: boolean ) {
504- move ( cursor , { to : CursorMovePosition . ViewPortBottom , amount : noOfLines , select : select } ) ;
504+ move ( cursor , { to : CursorMovePosition . ViewPortBottom , value : noOfLines , select : select } ) ;
505505}
506506
507507function cursorEqual ( cursor : Cursor , posLineNumber : number , posColumn : number , selLineNumber : number = posLineNumber , selColumn : number = posColumn ) {
0 commit comments