MCPcopy
hub / github.com/csev/py4e / up

Function up

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

Source from the content-addressed store, hash-verified

54 function undo() {}
55
56 function up() {
57 switch (n--) {
58 case 0:
59 n = 0;
60 return;
61 case history.length:
62 text = mirror.getLine(line).slice(ch);
63 }
64
65 mirror.setLine(line, history[n]);
66 }
67
68 function down() {
69 switch (n++) {

Callers 2

dragEndFunction · 0.70
doneFunction · 0.70

Calls 1

sliceMethod · 0.80

Tested by

no test coverage detected