onSelectionChange() not getting called for single character selection #2617
This commit is contained in:
@@ -667,8 +667,8 @@ export class SelectionService extends Disposable implements ISelectionService {
|
|||||||
|
|
||||||
this._removeMouseDownListeners();
|
this._removeMouseDownListeners();
|
||||||
|
|
||||||
if (this.selectionText.length <= 1 && timeElapsed < ALT_CLICK_MOVE_CURSOR_TIME) {
|
if (this.selectionText.length <= 1 && timeElapsed < ALT_CLICK_MOVE_CURSOR_TIME && event.altKey) {
|
||||||
if (event.altKey && this._bufferService.buffer.ybase === this._bufferService.buffer.ydisp) {
|
if (this._bufferService.buffer.ybase === this._bufferService.buffer.ydisp) {
|
||||||
const coordinates = this._mouseService.getCoords(
|
const coordinates = this._mouseService.getCoords(
|
||||||
event,
|
event,
|
||||||
this._element,
|
this._element,
|
||||||
|
|||||||
Reference in New Issue
Block a user