apply all text edits to each node, before determining the resulting doc_edits -- allow several iterations to consolidate spans etc.;
expand Clear edit before sending to prover;
at most one full reparse of each node;
package GraphBrowser;
class ParseError extends Exception {
public ParseError(String s) { super(s); }
}