(e3, t3, i2, s2)
| 6446 | i3 && (this._highlightedLines.add(i3.marker.line), this._highlightDecorations.push({ decoration: i3, match: e4, dispose() { |
| 6447 | i3.dispose(); |
| 6448 | } })); |
| 6449 | } |
| 6450 | } |
| 6451 | _find(e3, t3, i2, s2) { |
| 6452 | var _a; |
| 6453 | if (!this._terminal || !e3 || 0 === e3.length) return (_a = this._terminal) == null ? void 0 : _a.clearSelection(), void this.clearDecorations(); |
| 6454 | if (i2 > this._terminal.cols) throw new Error(`Invalid col: ${i2} to search in terminal of ${this._terminal.cols} cols`); |
| 6455 | let r2; |
| 6456 | this._initLinesCache(); |
| 6457 | const o2 = { startRow: t3, startCol: i2 }; |
| 6458 | if (r2 = this._findInLine(e3, o2, s2), !r2) for (let i3 = t3 + 1; i3 < this._terminal.buffer.active.baseY + this._terminal.rows && (o2.startRow = i3, o2.startCol = 0, r2 = this._findInLine(e3, o2, s2), !r2); i3++) ; |
| 6459 | return r2; |
| 6460 | } |
no test coverage detected