implement syntax highlighting of CM's add, delete and substitute