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

Function computeMaxLength

tools/pythonauto/static/codemirrorepl/codemirrorepl.js:968–978  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

966 }
967
968 function computeMaxLength() {
969 var maxLineLength = 0;
970 maxLine = ""; maxWidth = null;
971 doc.iter(0, doc.size, function(line) {
972 var l = line.text;
973 if (!line.hidden && l.length > maxLineLength) {
974 maxLineLength = l.length; maxLine = l;
975 }
976 });
977 maxLengthChanged = false;
978 }
979
980 function replaceRange(code, from, to) {
981 from = clipPos(from);

Callers 1

endOperationFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected