MCPcopy Create free account
hub / github.com/ronreiter/interactive-tutorials / getSearchState

Function getSearchState

static/js/codemirror/keymap/vim.js:1933–1936  ·  view source on GitHub ↗
(cm)

Source from the content-addressed store, hash-verified

1931 }
1932 };
1933 function getSearchState(cm) {
1934 var vim = getVimState(cm);
1935 return vim.searchState_ || (vim.searchState_ = new SearchState());
1936 }
1937 function dialog(cm, text, shortText, callback, initialValue) {
1938 if (cm.openDialog) {
1939 cm.openDialog(text, callback, { bottom: true, value: initialValue });

Callers 5

VimFunction · 0.70
updateSearchQueryFunction · 0.70
highlightSearchMatchesFunction · 0.70
findNextFunction · 0.70
clearSearchHighlightFunction · 0.70

Calls 1

getVimStateFunction · 0.85

Tested by

no test coverage detected