User: vins
Date: 06/02/04 02:53:45
Branch: xemacs/lisp release-21-4
Modified: xemacs/lisp font-lock.el
Log:
Martin's font-lock extension for java (2 years after submission)!
Revision Changes Path
1.13.2.7 +4 -3 XEmacs/xemacs/lisp/font-lock.el
Index: font-lock.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/lisp/font-lock.el,v
retrieving revision 1.13.2.6
retrieving revision 1.13.2.7
diff -u -p -r1.13.2.6 -r1.13.2.7
--- font-lock.el 2003/08/05 17:17:14 1.13.2.6
+++ font-lock.el 2006/02/04 01:53:44 1.13.2.7
@@ -2503,9 +2503,10 @@ The name is assumed to begin with a capi
(list
(concat
"\\<\\("
+ "assert\\|"
"break\\|byvalue\\|"
"case\\|cast\\|catch\\|class\\|continue\\|"
- "do\\|else\\|extends\\|"
+ "do\\|else\\|enum\\|extends\\|"
"finally\\|for\\|future\\|"
"generic\\|goto\\|"
"if\\|implements\\|import\\|"
@@ -2691,10 +2692,10 @@ The name is assumed to begin with a capi
'("\\(@beaninfo\\)"
0 font-lock-keyword-face t)
;; Doc tag - Links
- '("{ *@link\\s +\\([^}]+\\)}"
+ '("{ *@link\\(?:plain\\)?\\s +\\([^}]+\\)}"
0 font-lock-keyword-face t)
;; Doc tag - Links
- '("{ *@link\\s +\\(\\(\\S +\\)\\|\\(\\S +\\s +\\S +\\)\\) *}"
+ '("{ *@link\\(?:plain\\)?\\s +\\(\\(\\S +\\)\\|\\(\\S +\\s +\\S +\\)\\)
*}"
1 font-lock-function-name-face t)
)))