Skip to content

Commit

Permalink
Make tslint happy.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnfn committed Aug 9, 2016
1 parent e4fa3b5 commit d88d9be
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/actions/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,8 @@ export class DeleteOperator extends BaseOperator {
/**
* Deletes from the position of start to 1 past the position of end.
*/
public async delete(start: Position, end: Position, currentMode: ModeName, registerMode: RegisterMode, vimState: VimState, yank = true): Promise<Position> {
public async delete(start: Position, end: Position, currentMode: ModeName,
registerMode: RegisterMode, vimState: VimState, yank = true): Promise<Position> {
if (registerMode === RegisterMode.LineWise) {
start = start.getLineBegin();
end = end.getLineEnd();
Expand Down Expand Up @@ -2611,7 +2612,8 @@ class ActionChangeToEOLInVisualBlockMode extends BaseCommand {

for (const { start } of Position.IterateLine(vimState)) {
// delete from start up to but not including the newline.
await deleteOperator.delete(start, start.getLineEnd().getLeft(), vimState.currentMode, vimState.effectiveRegisterMode(), vimState, true);
await deleteOperator.delete(
start, start.getLineEnd().getLeft(), vimState.currentMode, vimState.effectiveRegisterMode(), vimState, true);
}

vimState.currentMode = ModeName.VisualBlockInsertMode;
Expand Down Expand Up @@ -2640,7 +2642,6 @@ class ActionGoToInsertVisualBlockModeAppend extends BaseCommand {
}
}


@RegisterAction
export class YankVisualBlockMode extends BaseOperator {
public keys = ["y"];
Expand Down

0 comments on commit d88d9be

Please sign in to comment.