XEmacs C++-font-lock custumizing question# Unix - 噫吁兮,危乎高哉
O*D
1 楼
Hi all,
I have a question about XEmacs lisp extension.
In C++-mode, font lock recognizes int, float etc as types and highlight
them using font-lock-type-face. Yet it does not font lock on extended types
for instance time_t and iterator.
Emacs fontifies these names by default and one can append whatever he wants
to the list c++-font-lock-extra-types. And if your company decided all the
classes in its application code would conform to a name convention class
TC***,
you can add a regexp to the list
I have a question about XEmacs lisp extension.
In C++-mode, font lock recognizes int, float etc as types and highlight
them using font-lock-type-face. Yet it does not font lock on extended types
for instance time_t and iterator.
Emacs fontifies these names by default and one can append whatever he wants
to the list c++-font-lock-extra-types. And if your company decided all the
classes in its application code would conform to a name convention class
TC***,
you can add a regexp to the list