Clear selectionEnd when selecting word at cursor

This commit is contained in:
Daniel Imms
2018-02-01 17:20:33 -08:00
parent 5550bfd90b
commit 3c6cab1491
+1
View File
@@ -270,6 +270,7 @@ export class SelectionManager extends EventEmitter implements ISelectionManager
const coords = this._getMouseBufferCoords(event);
if (coords) {
this._selectWordAt(coords, false);
this._model.selectionEnd = null;
this.refresh(true);
}
}