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

Function handleQuery

static/js/codemirror/keymap/vim.js:709–715  ·  view source on GitHub ↗
(query, ignoreCase, smartCase)

Source from the content-addressed store, hash-verified

707 getSearchState(cm).setReversed(!forward);
708 var promptPrefix = (forward) ? '/' : '?';
709 function handleQuery(query, ignoreCase, smartCase) {
710 updateSearchQuery(cm, query, ignoreCase, smartCase);
711 commandDispatcher.processMotion(cm, vim, {
712 type: 'motion',
713 motion: 'findNext'
714 });
715 }
716 function onPromptClose(query) {
717 handleQuery(query, true /** ignoreCase */, true /** smartCase */);
718 }

Callers 2

onPromptCloseFunction · 0.85
VimFunction · 0.85

Calls 1

updateSearchQueryFunction · 0.85

Tested by

no test coverage detected