MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / clearInputState

Function clearInputState

lib/web/CodeMirror/keymap/vim.js:1045–1048  ·  view source on GitHub ↗
(cm, reason)

Source from the content-addressed store, hash-verified

1043 };
1044
1045 function clearInputState(cm, reason) {
1046 cm.state.vim.inputState = new InputState();
1047 CodeMirror.signal(cm, 'vim-command-done', reason);
1048 }
1049
1050 /*
1051 * Register stores information about copy and paste registers. Besides

Callers 7

handleMacroRecordingFunction · 0.85
handleEscFunction · 0.85
handleKeyInsertModeFunction · 0.85
handleKeyNonInsertModeFunction · 0.85
VimFunction · 0.85
handleQueryFunction · 0.85
onPromptKeyDownFunction · 0.85

Calls 1

signalMethod · 0.80

Tested by

no test coverage detected