comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: How to highlight procedure and function names in idlwave-mode?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: How to highlight procedure and function names in idlwave-mode? [message #52190] Mon, 15 January 2007 09:31
JD Smith is currently offline  JD Smith
Messages: 850
Registered: December 1999
Senior Member
On Fri, 12 Jan 2007 21:05:11 -0800, uniqueman wrote:

> In f90-mode, when I choose the font-lock-mode and heavy highlighting
> ( level 3) by clicking the menu items, it can highlight procedure and
> function name perfectly, as well as the reserved keywords. But in the
> idlwave-mode, after appending (setq idlwave-default-font-lock-items 3)
> to my .emacs.el, it didn't work, how can I fix this problem and make
> the function and procedure names highlighted?

IDLWAVE highlights routine definitions, not calling statements. You
can control how much highlighting is done with menu
IDLWAVE->Customize->Browse IDLWAVE Group, and then select
Misc->IDLWAVE Default Font Lock Items.

Font lock level 3 does everything in that list but the "FIXME: " tag (a
special Tag Carsten used in comments to draw attention to something which
needs fixing).

That said, you've set the wrong variable to change to level 3
fontification. The way to set level 3 fontification in IDLWAVE is:

(add-hook 'idlwave-mode-hook
(lambda ()
(setq font-lock-maximum-decoration 3)))

It's probably easier just to use the "Default Font Lock Items"
customization option above though.

JD
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: how write TIFF from ENVI
Next Topic: Re: save image from ENVI to TIFF file

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 13:36:22 PDT 2025

Total time taken to generate the page: 0.55494 seconds