trampgeek / moodle-qtype_coderunner

CodeRunner: A moodle quiz question type that runs student-submitted program code in a sandbox to check if it satisfies a given set of tests.
GNU General Public License v2.0
207 stars 120 forks source link

Suggestion: ACE UI remembers edit/undo history after page reload #204

Open jimbonothing64 opened 7 months ago

jimbonothing64 commented 7 months ago

When a question answerer presses check, the page reloads, from the form submit, and the user loses their undo history. Question answerers should not lose their edit history when clicking check on, at minimum, the current question they are working on.

This is bad for beginner programmers who may forget which line they just changed. Being able to use ctrl+z after submitting code could help them to remember what they changed, and see what effect that had.

Proposed changes: