Syntax highlighting: added setup and loop (with a small trick).