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

Method clearDecorations

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

Source from the content-addressed store, hash-verified

6419 this._highlightTimeout && window.clearTimeout(this._highlightTimeout), this._cachedSearchTerm && ((_a = this._lastSearchOptions) == null ? void 0 : _a.decorations) && (this._highlightTimeout = setTimeout((() => {
6420 const e3 = this._cachedSearchTerm;
6421 this._cachedSearchTerm = void 0, this.findPrevious(e3, { ...this._lastSearchOptions, incremental: true, noScroll: true });
6422 }), 200));
6423 }
6424 clearDecorations(e3) {
6425 this._selectedDecoration.clear(), (0, r.disposeArray)(this._highlightDecorations), this._highlightDecorations = [], this._highlightedLines.clear(), e3 || (this._cachedSearchTerm = void 0);
6426 }

Callers 5

activateMethod · 0.95
_highlightAllMatchesMethod · 0.95
_findMethod · 0.95
_findNextAndSelectMethod · 0.95

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected