mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-02 06:21:50 +01:00
arrays.range, arrays.weave
This commit is contained in:
@@ -398,7 +398,7 @@ class MouseController<T> implements IDisposable {
|
||||
if (isSelectionRangeChangeEvent(e) && reference !== undefined) {
|
||||
const min = Math.min(reference, focus);
|
||||
const max = Math.max(reference, focus);
|
||||
const rangeSelection = range(max + 1, min);
|
||||
const rangeSelection = range(min, max + 1);
|
||||
const selection = this.list.getSelection();
|
||||
const contiguousRange = getContiguousRangeContaining(disjunction(selection, [reference]), reference);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user