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

Function move

src/codemirror.js:9069–9075  ·  view source on GitHub ↗
(by, dir)

Source from the content-addressed store, hash-verified

9067 }
9068
9069 function move(by, dir) {
9070 var f = function(cm) {
9071 cm.extendSelection(findEnd(cm, cm.getCursor(), by, dir));
9072 };
9073 f.motion = true;
9074 return f;
9075 }
9076
9077 function killTo(cm, by, dir) {
9078 var selections = cm.listSelections(), cursor;

Callers 1

codemirror.jsFile · 0.70

Calls 3

cursorEqualFunction · 0.85
getCursorMethod · 0.80
findMethod · 0.65

Tested by

no test coverage detected