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

Function callback

lib/web/CodeMirror/test/vim_test.js:1159–1162  ·  view source on GitHub ↗
(arg)

Source from the content-addressed store, hash-verified

1157testVim('on_mode_change', function(cm, vim, helpers) {
1158 var modeHist = [];
1159 function callback(arg) {
1160 var subMode = arg.subMode ? ':' + arg.subMode : '';
1161 modeHist.push(arg.mode + subMode);
1162 }
1163 helpers.doKeys('<Esc>', '<Esc>');
1164 cm.on('vim-mode-change', callback);
1165 function test(key, mode) {

Callers 11

stepFunction · 0.70
fakeOpenDialogFunction · 0.70
vim_test.jsFile · 0.70
runmode.jsFile · 0.50
findNextFunction · 0.50
fetchHintsFunction · 0.50
runFunction · 0.50
forAllPropsFunction · 0.50
dialog.jsFile · 0.50
stopFunction · 0.50
doReplaceFunction · 0.50

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected