Clear selectionEnd when selecting word at cursor
This commit is contained in:
@@ -270,6 +270,7 @@ export class SelectionManager extends EventEmitter implements ISelectionManager
|
|||||||
const coords = this._getMouseBufferCoords(event);
|
const coords = this._getMouseBufferCoords(event);
|
||||||
if (coords) {
|
if (coords) {
|
||||||
this._selectWordAt(coords, false);
|
this._selectWordAt(coords, false);
|
||||||
|
this._model.selectionEnd = null;
|
||||||
this.refresh(true);
|
this.refresh(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user