MCPcopy
hub / github.com/witheve/Eve / repeated

Function repeated

src/codemirror.js:9049–9056  ·  view source on GitHub ↗
(cmd)

Source from the content-addressed store, hash-verified

9047 }
9048
9049 function repeated(cmd) {
9050 var f = typeof cmd == "string" ? function(cm) { cm.execCommand(cmd); } : cmd;
9051 return function(cm) {
9052 var prefix = getPrefix(cm);
9053 f(cm);
9054 for (var i = 1; i < prefix; ++i) f(cm);
9055 };
9056 }
9057
9058 function findEnd(cm, pos, by, dir) {
9059 var prefix = getPrefix(cm);

Callers 1

codemirror.jsFile · 0.85

Calls 2

getPrefixFunction · 0.85
fFunction · 0.70

Tested by

no test coverage detected