MCPcopy Index your code
hub / github.com/csev/py4e / findNextLine

Function findNextLine

tools/pythonauto/static/codemirrorepl/codemirror.js:3707–3712  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3705 var lineObj = getLine(doc, line);
3706 var possible = true;
3707 function findNextLine() {
3708 var l = line + dir;
3709 if (l < doc.first || l >= doc.first + doc.size) return (possible = false);
3710 line = l;
3711 return lineObj = getLine(doc, l);
3712 }
3713 function moveOnce(boundToLine) {
3714 var next = (visually ? moveVisually : moveLogically)(lineObj, ch, dir, true);
3715 if (next == null) {

Callers 1

moveOnceFunction · 0.70

Calls 1

getLineFunction · 0.70

Tested by

no test coverage detected