Skip to content

Commit

Permalink
Fixes #27316
Browse files Browse the repository at this point in the history
  • Loading branch information
ramya-rao-a committed Jun 1, 2017
1 parent b16b4ce commit 4d4d9ca
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions extensions/emmet/src/editPoint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ function findEditPoint(lineNum: number, editor: vscode.TextEditor, position: vsc
let lineContent = line.text;

if (lineNum !== position.line && line.isEmptyOrWhitespace) {
editor.selection = new vscode.Selection(lineNum, lineContent.length, lineNum, lineContent.length);
return;
return new vscode.Selection(lineNum, lineContent.length, lineNum, lineContent.length);
}

if (lineNum === position.line && direction === 'prev') {
Expand Down

0 comments on commit 4d4d9ca

Please sign in to comment.