1. When you select text on the review to add notes to it. If you select more than one line and you don't take care of selecting the newline (dragging the selection to the beginning of the next line), the last line is not included in the selection
2. If you select only one line, completely, from beginning to end, you end up with a selection of the whole document.

Comments

ericduran’s picture

Nice find. This is indeed a bug.

It actually doesn't select the entire document it selects everything below your selection.

The problem seems to be that this while loop keeps on running. I'll investigate further

    while (next && (next != last) ) {
      elements.push(next);
      next = next.nextSibling;
    }