MCPcopy Create free account
hub / github.com/witheve/Eve / findNextLine

Function findNextLine

src/codemirror.js:4842–4847  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4840 var line = pos.line, ch = pos.ch, origDir = dir;
4841 var lineObj = getLine(doc, line);
4842 function findNextLine() {
4843 var l = line + dir;
4844 if (l < doc.first || l >= doc.first + doc.size) return false
4845 line = l;
4846 return lineObj = getLine(doc, l);
4847 }
4848 function moveOnce(boundToLine) {
4849 var next = (visually ? moveVisually : moveLogically)(lineObj, ch, dir, true);
4850 if (next == null) {

Callers 1

moveOnceFunction · 0.85

Calls 1

getLineFunction · 0.85

Tested by

no test coverage detected