Parse the entire document in-memory to get more accurate highlighting.
Refactor the classifier to extract the parsing and buffering logic.
Add region tagger.
Cleanup license headers and add missing ones.
Add outlining support.