comparison lisp/font-lock.el @ 3227:bdc2d7488c19

[xemacs-hg @ 2006-02-04 01:56:05 by vins] Martin's Java keyword patch.
author vins
date Sat, 04 Feb 2006 01:56:06 +0000
parents 9db2c524b815
children 6f7f27dd257f
comparison
equal deleted inserted replaced
3226:bc7f93e5beed 3227:bdc2d7488c19
2585 (list 2585 (list
2586 ;; Keywords: 2586 ;; Keywords:
2587 (list 2587 (list
2588 (concat 2588 (concat
2589 "\\<\\(" 2589 "\\<\\("
2590 "assert\\|"
2590 "break\\|byvalue\\|" 2591 "break\\|byvalue\\|"
2591 "case\\|cast\\|catch\\|class\\|continue\\|" 2592 "case\\|cast\\|catch\\|class\\|continue\\|"
2592 "do\\|else\\|extends\\|" 2593 "do\\|else\\|enum\\|extends\\|"
2593 "finally\\|for\\|future\\|" 2594 "finally\\|for\\|future\\|"
2594 "generic\\|goto\\|" 2595 "generic\\|goto\\|"
2595 "if\\|implements\\|import\\|" 2596 "if\\|implements\\|import\\|"
2596 "instanceof\\|interface\\|" 2597 "instanceof\\|interface\\|"
2597 "new\\|package\\|return\\|switch\\|" 2598 "new\\|package\\|return\\|switch\\|"
2773 0 font-lock-keyword-face t) 2774 0 font-lock-keyword-face t)
2774 ;; Doc tag - beaninfo, unofficial but widely used, even by Sun 2775 ;; Doc tag - beaninfo, unofficial but widely used, even by Sun
2775 '("\\(@beaninfo\\)" 2776 '("\\(@beaninfo\\)"
2776 0 font-lock-keyword-face t) 2777 0 font-lock-keyword-face t)
2777 ;; Doc tag - Links 2778 ;; Doc tag - Links
2778 '("{ *@link\\s +\\([^}]+\\)}" 2779 '("{ *@link\\(?:plain\\)?\\s +\\([^}]+\\)}"
2779 0 font-lock-keyword-face t) 2780 0 font-lock-keyword-face t)
2780 ;; Doc tag - Links 2781 ;; Doc tag - Links
2781 '("{ *@link\\s +\\(\\(\\S +\\)\\|\\(\\S +\\s +\\S +\\)\\) *}" 2782 '("{ *@link\\(?:plain\\)?\\s +\\(\\(\\S +\\)\\|\\(\\S +\\s +\\S +\\)\\) *}"
2782 1 font-lock-function-name-face t) 2783 1 font-lock-function-name-face t)
2783 2784
2784 ))) 2785 )))
2785 ) 2786 )
2786 2787