MCPcopy Create free account
hub / github.com/TruthHun/BookStack / getSearchState

Function getSearchState

static/editor.md/lib/codemirror/addon/search/search.js:45–47  ·  view source on GitHub ↗
(cm)

Source from the content-addressed store, hash-verified

43 this.overlay = null;
44 }
45 function getSearchState(cm) {
46 return cm.state.search || (cm.state.search = new SearchState());
47 }
48 function queryCaseInsensitive(query) {
49 return typeof query == "string" && query == query.toLowerCase();
50 }

Callers 3

doSearchFunction · 0.85
findNextFunction · 0.85
clearSearchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected