MCPcopy Create free account
hub / github.com/csev/py4e / findNextLine

Function findNextLine

tools/pythonauto/static/codemirror/codemirror.js:2823–2828  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2821 var lineObj = getLine(doc, line);
2822 var possible = true;
2823 function findNextLine() {
2824 var l = line + dir;
2825 if (l < doc.first || l >= doc.first + doc.size) return (possible = false);
2826 line = l;
2827 return lineObj = getLine(doc, l);
2828 }
2829 function moveOnce(boundToLine) {
2830 var next = (visually ? moveVisually : moveLogically)(lineObj, ch, dir, true);
2831 if (next == null) {

Callers 1

moveOnceFunction · 0.70

Calls 1

getLineFunction · 0.70

Tested by

no test coverage detected