#407 - Implemented most parts of the diff-based syntax highlighting.