Re: Java-1.5 font-lock support?

2005-05-08 Thread jeff peck
Until we see the full semantic support,
This simple patch improves the coloring of generic declarations:

diff -p font-lock.el.~1~ font-lock.el
*** font-lock.el.~1~Fri Aug 30 05:35:14 2002
--- font-lock.elSun May  8 12:19:19 2005
*** See also `java-font-lock-extra-types'.)
*** 2941,2947 
  ;;
  ;; Fontify random types immediately followed by an item or items.
  `(eval .
!   (list (concat ( ,java-type-names \\)\\
\\([ \t]*\\[[ \t]*\\]\\)*
\\([ \t]*\\sw\\))
;; Fontify each declaration item.
--- 2941,2947 
  ;;
  ;; Fontify random types immediately followed by an item or items.
  `(eval .
!   (list (concat ( ,java-type-names \\(?:\\(?:.*\\)
\\|) \\)
\\([ \t]*\\[[ \t]*\\]\\)*
\\([ \t]*\\sw\\))
;; Fontify each declaration item.




Re: Java-1.5 font-lock support?

2005-04-07 Thread Troy Daniels
At 05:29 PM 4/6/2005, jeff peck wrote:
Is there a version of Java font-lock that supports Java-1.5?
To so something reasonable with Generics and varargs (Object... args)
and other 1.5-isms?
While we're discussing 1.5, any idea when Semantic will support it?
Troy

Troy Daniels
[EMAIL PROTECTED]
781-273-3388 x218


Java-1.5 font-lock support?

2005-04-06 Thread jeff peck
Is there a version of Java font-lock that supports Java-1.5?
To so something reasonable with Generics and varargs (Object... args)
and other 1.5-isms?