Highlighting of keywords, comments, strings etc. can be accomplished
font-lock. If you are using
font-lock-mode turned on in any other buffer,
it should also automatically work in IDLWAVE buffers. If you’d
prefer invoking font-lock individually by mode, you can enforce it in
idlwave-mode with the following line in your .emacs:
(add-hook 'idlwave-mode-hook 'turn-on-font-lock)
IDLWAVE supports 3 increasing levels of syntax highlighting.
font-lock-maximum-decoration determines which level
is selected. Individual categories of special tokens can be selected
for highlighting using the variable
Items which should be fontified on the default fontification level 2.