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

Function logInsertModeChange

lib/web/CodeMirror/keymap/vim.js:5450–5457  ·  view source on GitHub ↗
(macroModeState)

Source from the content-addressed store, hash-verified

5448 }
5449
5450 function logInsertModeChange(macroModeState) {
5451 if (macroModeState.isPlaying) { return; }
5452 var registerName = macroModeState.latestRegister;
5453 var register = vimGlobalState.registerController.getRegister(registerName);
5454 if (register && register.pushInsertModeChanges) {
5455 register.pushInsertModeChanges(macroModeState.lastInsertModeChanges);
5456 }
5457 }
5458
5459 function logSearchQuery(macroModeState, query) {
5460 if (macroModeState.isPlaying) { return; }

Callers 1

exitInsertModeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected