help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fontify a buffer using JDEE's fontification without switching to jde


From: Sandip Chitale
Subject: Re: fontify a buffer using JDEE's fontification without switching to jde-mode
Date: 29 Jan 2003 16:41:12 -0800

kai.grossjohann@uni-duisburg.de (Kai Großjohann wrote in message 
news:<8465s968wv.fsf@lucy.is.informatik.uni-duisburg.de>...
> sandipchitale@yahoo.com (Sandip Chitale) writes:
> 
> > How do I use jde font locking mechanism to fontify a buffer without
> > switching to jde-mode ?
> 
> It's difficult.  Why do you want to do that?  If the indentation is
> wrong, you could just customize that until it's right...

I am writing a JDEE add-in tool to display info about type at
point using introspection. I did not want to force use of JDEE
mode in the output buffer of my tool.

The following three forms seem to do what I asked for.

(set-syntax-table java-mode-syntax-table)
(derived-mode-set-syntax-table 'jde-mode)
(jde-setup-syntax-coloring)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]