()
| 2150 | t3 && t3[0] === this._model.selectionEnd[0] && t3[1] === this._model.selectionEnd[1] || this.refresh(true); |
| 2151 | } |
| 2152 | _dragScroll() { |
| 2153 | if (this._model.selectionEnd && this._model.selectionStart && this._dragScrollAmount) { |
| 2154 | this._onRequestScrollLines.fire({ amount: this._dragScrollAmount, suppressScrollEvent: false }); |
| 2155 | const e3 = this._bufferService.buffer; |
| 2156 | this._dragScrollAmount > 0 ? (3 !== this._activeSelectionMode && (this._model.selectionEnd[0] = this._bufferService.cols), this._model.selectionEnd[1] = Math.min(e3.ydisp + this._bufferService.rows, e3.lines.length - 1)) : (3 !== this._activeSelectionMode && (this._model.selectionEnd[0] = 0), this._model.selectionEnd[1] = e3.ydisp), this.refresh(); |
| 2157 | } |
| 2158 | } |
| 2159 | _handleMouseUp(e3) { |
| 2160 | const t3 = e3.timeStamp - this._mouseDownTimeStamp; |
| 2161 | if (this._removeMouseDownListeners(), this.selectionText.length <= 1 && t3 < 500 && e3.altKey && this._optionsService.rawOptions.altClickMovesCursor) { |
no test coverage detected