I'm adding this comment (as well as other comments).

// The ACE editor uses an ID number to identify each highlighted line,
// so to allow unhighlighting, we track the ID of every highlighted.
// line inside the paneState marked data structure.  The structure
// is organized as follows:
// paneState.marked = {
//   mark-css-class-name: {
//     zero-based-line-number: ACE-highlighting-id,
//     ... (one for each highlighted line)
//   },
//   (one for each CSS class used for highlighting)
// }



On Mon, Mar 3, 2014 at 4:37 PM, jamessynge <notifications@github.com> wrote:

> In site/top/src/editor-view.js:
>
> > @@ -1206,12 +1207,36 @@ function markPaneEditorLine(pane, line, markclass) {
> >    // ACE uses zero-based line numbering.
> >    var zline = line - 1;
> >    // Add the marker.
> > +  if (!paneState.marked[markclass]) {
> > +    paneState.marked[markclass] = {};
> > +  }
> > +  var idMap = paneState.marked[markclass];
>
> Could you describe idMap here (hopefully also described where
> paneState.marked is described, but that isn't near enough)?
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/PencilCode/pencilcode-site/pull/35/files#r10230225>
> .
>