mirror of
https://github.com/VSCodeVim/Vim.git
synced 2024-11-09 13:34:29 +03:00
Fix issue with shift + mouse selection from bottom to top (#8281)
This commit is contained in:
parent
e5973bbc5b
commit
64f598299d
@ -371,7 +371,7 @@ export class ModeHandler implements vscode.Disposable, IModeHandler {
|
||||
// If we prevented from clicking past eol but it is part of this selection, include the last char
|
||||
if (this.lastClickWasPastEol) {
|
||||
const newStart = new Position(selection.anchor.line, selection.anchor.character + 1);
|
||||
this.vimState.editor.selection = new vscode.Selection(newStart, selection.end);
|
||||
this.vimState.editor.selection = new vscode.Selection(newStart, selection.active);
|
||||
this.vimState.cursorStartPosition = selectionStart;
|
||||
this.lastClickWasPastEol = false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user