Skip to content

Commit

Permalink
Merge pull request #1740 from Chillee/1027
Browse files Browse the repository at this point in the history
fixed #1027 maybe?
  • Loading branch information
Chillee authored May 27, 2017
2 parents d075d28 + 0fc94fc commit 5c1500a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/textEditor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export class TextEditor {
}

if (!letVSCodeHandleKeystrokes) {
const selections = vscode.window.activeTextEditor!.selections.slice(0);
// const selections = vscode.window.activeTextEditor!.selections.slice(0);

await vscode.window.activeTextEditor!.edit(editBuilder => {
if (!at) {
Expand All @@ -34,7 +34,7 @@ export class TextEditor {
});

// maintain all selections in multi-cursor mode.
vscode.window.activeTextEditor!.selections = selections;
// vscode.window.activeTextEditor!.selections = selections;
} else {
await vscode.commands.executeCommand('default:type', { text });
}
Expand Down

0 comments on commit 5c1500a

Please sign in to comment.