MCPcopy Index your code
hub / github.com/codeaashu/claude-code / _fireResults

Method _fireResults

src/server/web/public/terminal.js:6481–6496  ·  view source on GitHub ↗
(e3)

Source from the content-addressed store, hash-verified

6479 return this._fireResults(t3), this._cachedSearchTerm = e3, s2;
6480 }
6481 _didOptionsChange(e3, t3) {
6482 return !!t3 && (e3.caseSensitive !== t3.caseSensitive || e3.regex !== t3.regex || e3.wholeWord !== t3.wholeWord);
6483 }
6484 _fireResults(e3) {
6485 if (e3 == null ? void 0 : e3.decorations) {
6486 let e4 = -1;
6487 if (this._selectedDecoration.value) {
6488 const t3 = this._selectedDecoration.value.match;
6489 for (let i2 = 0; i2 < this._highlightDecorations.length; i2++) {
6490 const s2 = this._highlightDecorations[i2].match;
6491 if (s2.row === t3.row && s2.col === t3.col && s2.size === t3.size) {
6492 e4 = i2;
6493 break;
6494 }
6495 }
6496 }
6497 this._onDidChangeResults.fire({ resultIndex: e4, resultCount: this._highlightDecorations.length });
6498 }
6499 }

Callers 2

findNextMethod · 0.95
findPreviousMethod · 0.95

Calls 1

fireMethod · 0.80

Tested by

no test coverage detected