User: vins
Date: 06/02/04 02:56:10
Modified: xemacs/lisp ChangeLog font-lock.el
Log:
Martin's Java keyword patch.
Revision Changes Path
1.721 +5 -0 XEmacs/xemacs/lisp/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/lisp/ChangeLog,v
retrieving revision 1.720
retrieving revision 1.721
diff -u -p -r1.720 -r1.721
--- ChangeLog 2006/01/08 20:00:41 1.720
+++ ChangeLog 2006/02/04 01:56:05 1.721
@@ -1,3 +1,8 @@
+2004-01-19 Martin Buchholz <martin(a)xemacs.org>
+
+ * font-lock.el: Add support for not-so recent changes in Java to
+ java-mode.
+
2006-01-08 Aidan Kehoe <kehoea(a)parhasard.net>
* cmdloop.el (read-quoted-char):
1.30 +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.29
retrieving revision 1.30
diff -u -p -r1.29 -r1.30
--- font-lock.el 2005/01/26 04:18:15 1.29
+++ font-lock.el 2006/02/04 01:56:06 1.30
@@ -2587,9 +2587,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\\|"
@@ -2775,10 +2776,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)
)))
Show replies by date