Hello David,

while travelling in the bus to university (what is a quite good time to think about
jde improvements :) ) I thought you shall add the script that you used to get java's
basic
APIs to JDE. This would be usefull to have a lisp function :
jde-add-api-to-fontified-apis that would require a package name, a directory, or a jar
file
as parameter to add custom apis to the fontified list.
(this shall output something to a buffer or append it to a jde-java-font-lock.api file)

Steff

David Ponce wrote:

> Hello All,
>
> Attached you will find another new version of jde-java-font-lock.el.
> Since my last post I made the following changes:
>
> - You can now fontify user's defined identifiers with the new
>   `jde-java-font-lock-api-face'.  These identifiers are read in the
>   file specified by the `jde-java-font-lock-api-file' option.
>
>   I provided a default file "jde-java-font-lock.api" to fontify class
>   names of the core 'java' and 'javax' packages (JDK 1.3) and servlet
>   API (JSDK 2.0).  To enable this fontification just put this file on
>   your home directory, maybe modify it to suit your needs and execute
>   the command:
>
>   M-x jde-java-font-lock-setup-keywords (or restart Emacs).
>
>   To improve reloading a cache file of regular expressions matching
>   these names is created in the same directory (see the source for
>   more details).
>
> - Because the 'const' and 'goto' keywords are reserved, but not
>   currently used they are now fontified with `font-lock-warning-face'.
>
> - The 'default' keyword is now fontified with
>   `font-lock-keyword-face'.  This was suggested by Stephane Nicolas
>   <[EMAIL PROTECTED]>.
>
> Please try it.  Any feedback will be much appreciated.
>
> Sincerely,
> David
>
>   ------------------------------------------------------------------------
>                              Name: jde-java-font-lock.zip
>    jde-java-font-lock.zip    Type: Zip Compressed Data (application/x-zip-compressed)
>                          Encoding: base64

Reply via email to