Highlight variables, literals and clauses in message view