MCPcopy
hub / github.com/witheve/Eve / clearSearchHighlight

Function clearSearchHighlight

src/codemirror.js:13251–13259  ·  view source on GitHub ↗
(cm)

Source from the content-addressed store, hash-verified

13249 });
13250 }
13251 function clearSearchHighlight(cm) {
13252 var state = getSearchState(cm);
13253 cm.removeOverlay(getSearchState(cm).getOverlay());
13254 state.setOverlay(null);
13255 if (state.getScrollbarAnnotate()) {
13256 state.getScrollbarAnnotate().clear();
13257 state.setScrollbarAnnotate(null);
13258 }
13259 }
13260 /**
13261 * Check if pos is in the specified range, INCLUSIVE.
13262 * Range can be specified with 1 or 2 arguments.

Callers 3

onPromptKeyUpFunction · 0.85
onPromptKeyDownFunction · 0.85
VimFunction · 0.85

Calls 3

getSearchStateFunction · 0.85
removeOverlayMethod · 0.80
clearMethod · 0.65

Tested by

no test coverage detected