code: function(codestring, widget) {
      this.widget = widget;
      this.code = "";
      this.indent = 0;
      this._toggles = [];
      if (codestring) {
        // Consecutive lines to be dragged as a single block of code have strings "\\n" to
        // represent newlines => replace them with actual new line characters "\n"
        this.code = codestring.replace(/#distractor\s*$/, "").replace(trimRegexp, "$1").replace(/\\n/g, "\n");
        this.indent = codestring.length - codestring.replace(/^\s+/, "").length;
      }
    }
docs: Create a line object skeleton with only code and indentation from a code string of an assignment definition string (see parseCode)