Syntax highlighting and delegate method warning