Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes #1432 #1434

Merged
merged 1 commit into from
Mar 26, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions src/mode/modeHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ export class ModeHandler implements vscode.Disposable {
return;
}

if (e.selections.length !== this.vimState.allCursors.length) {
if (e.selections.length !== this.vimState.allCursors.length || this.vimState.isMultiCursor) {
// Number of selections changed, make sure we know about all of them still
this.vimState.allCursors = vscode.window.activeTextEditor!.selections.map(x =>
new Range(Position.FromVSCodePosition(x.start), Position.FromVSCodePosition(x.end)));
Expand All @@ -612,12 +612,6 @@ export class ModeHandler implements vscode.Disposable {
return;
}

if (this.vimState.isMultiCursor) {
// AAAAAARGGHHHHH - johnfn

return;
}

/**
* We only trigger our view updating process if it's a mouse selection.
* Otherwise we only update our internal cursor postions accordingly.
Expand Down