function catchupNewlines(end, state) {
  catchup(end, state, stripNonNewline);
}
Catches up as `catchup` but removes all non-newline characters.

Equivalent to appending as many newlines as there are in the original source
between the current position and `end`.