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

Function SearchState

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

Source from the content-addressed store, hash-verified

39 }
40
41 function SearchState() {
42 this.posFrom = this.posTo = this.query = null;
43 this.overlay = null;
44 }
45 function getSearchState(cm) {
46 return cm.state.search || (cm.state.search = new SearchState());
47 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected