Syntax check immediately after the first keystroke.
Select views based on selected in the Tree view.
Highlight paragraphs when clicked on and also when getting focus in a text area.