(e3, t3)
| 6614 | return true; |
| 6615 | } |
| 6616 | _applyStyles(e3, t3, i2) { |
| 6617 | e3.classList.contains("xterm-find-result-decoration") || (e3.classList.add("xterm-find-result-decoration"), t3 && (e3.style.outline = `1px solid ${t3}`)), i2 && e3.classList.add("xterm-find-active-result-decoration"); |
| 6618 | } |
| 6619 | _createResultDecoration(e3, t3) { |
| 6620 | const i2 = this._terminal, s2 = i2.registerMarker(-i2.buffer.active.baseY - i2.buffer.active.cursorY + e3.row); |
| 6621 | if (!s2) return; |
| 6622 | const o2 = i2.registerDecoration({ marker: s2, x: e3.col, width: e3.size, backgroundColor: t3.matchBackground, overviewRulerOptions: this._highlightedLines.has(s2.line) ? void 0 : { color: t3.matchOverviewRuler, position: "center" } }); |
| 6623 | if (o2) { |
| 6624 | const e4 = []; |
| 6625 | e4.push(s2), e4.push(o2.onRender(((e5) => this._applyStyles(e5, t3.matchBorder, false)))), e4.push(o2.onDispose((() => (0, r.disposeArray)(e4)))); |
| 6626 | } |
| 6627 | return o2; |
| 6628 | } |
no test coverage detected