Simon Marshall
4fffc0710e
(tex-font-lock-keywords-2): Fontify \nocite like \cite.
...
(lisp-font-lock-keywords-2): Fontify abort, assert, etc., separately.
({c,c++,objc,java}-font-lock-keywords-{2,3}): Fontify only type/class
names with font-lock-type-face. Fontify type specs, etc., with
font-lock-keyword-face.
1998-09-01 09:01:44 +00:00
Simon Marshall
39df451ba4
(lisp-font-lock-keywords-1): Fix previous change.
...
(font-lock-support-mode): Allow nil as a mode-specific value. Fix tag.
1998-08-03 08:52:35 +00:00
Richard M. Stallman
ae659ad5e2
(lisp-font-lock-keywords-1): Fontify defconstant' and
defparameter'.
...
(lisp-font-lock-keywords-2): Fontify `lambda', `in-package' and `locally'.
1998-07-31 03:17:08 +00:00
Richard M. Stallman
aaa154880b
(lisp-font-lock-keywords-2): support `handler-*',
...
`restart-*', `*-bind', `abort', `the', `break', `compiler-let'
`symbol-macrolet' etc.
(lisp-font-lock-keywords-1): Support `define-*-macro',
`define-condition', `define-setf-expander' etc.
1998-07-14 08:22:05 +00:00
Richard M. Stallman
3fd00dcb42
(lisp-font-lock-keywords): Fontify handler-case',
ccase',
...
`ctypecase', `assert', `error'.
1998-07-10 03:19:33 +00:00
Andreas Schwab
b4a38363e6
(font-lock-verbose): Use `other' widget type.
1998-06-24 09:09:56 +00:00
Simon Marshall
5bbc1cf756
move defpackage to lisp-font-lock-keywords-1
1998-05-05 09:29:55 +00:00
Richard M. Stallman
a58ef230d3
(lisp-font-lock-keywords-2): Added `defpackage'.
...
.
1998-04-24 19:46:03 +00:00
Simon Marshall
ae7460eed6
add some C/C++ keywords.
1998-03-25 16:56:12 +00:00
Dave Love
b632d90a16
(scheme-font-lock-keywords-1, scheme-font-lock-keywords-2,
...
scheme-font-lock-keywords): Moved.
1998-03-10 22:54:43 +00:00
Simon Marshall
8acf2292d9
Renamed font-lock-reference-face to font-lock-constant-face.
1998-02-20 14:24:57 +00:00
Simon Marshall
9c8de95c2a
Keyword doc fixes and keyword tweaks.
1998-02-18 09:12:24 +00:00
Richard M. Stallman
caf0dd7116
(font-lock-keywords): Doc fix.
1998-02-06 06:10:30 +00:00
Dave Love
741e2425d0
(lisp-font-lock-keywords-1): Correct defmethod addition.
1998-01-23 16:50:56 +00:00
Simon Marshall
b9dd672d87
(c++-font-lock-extra-types): Add some container classes.
...
(c-font-lock-keywords-1): Use builtin face for preprocessor directives.
1998-01-15 16:11:00 +00:00
Dave Love
5c79a131c1
(lisp-font-lock-keywords-1): Add defmethod.
1998-01-12 18:54:01 +00:00
Simon Marshall
844a6a4670
Allow any number of ::foos in declarative items.
1997-10-28 14:16:40 +00:00
Simon Marshall
5b341c7e2c
Don't fontify \item like \it.
1997-09-15 09:03:45 +00:00
Simon Marshall
e0e277ff6a
Try to comment where font-lock-keyword order is important.
1997-09-09 13:01:02 +00:00
Richard M. Stallman
1b317e2c3e
(font-lock-comment-face, etc.):
...
defvars moved up to avoid warnings.
(font-lock-face-attributes, global-font-lock-mode): Add defvars.
1997-09-07 04:08:18 +00:00
Richard M. Stallman
56072c8592
(global-font-lock-mode): When turning off
...
Global Font Lock mode, turn off Font Lock mode everywhere.
1997-09-07 01:29:14 +00:00
Simon Marshall
74167b21c9
don't add text for the modeline.
1997-07-29 12:25:05 +00:00
Simon Marshall
d77c8526be
Add type specs "explicit" "mutable".
1997-07-25 11:34:20 +00:00
Simon Marshall
46f26fcf29
split up scheme and tex support; wrap inhibit-point-motion-hooks where nec.
1997-06-27 06:59:30 +00:00
Simon Marshall
23a0e11b3b
Rearrange custom options. Also enable custom control of Global Font Lock mode.
1997-06-19 08:49:04 +00:00
Simon Marshall
ac6e572cb9
Update for syntax-table text properties.
...
font-lock.el now adds them via font-lock-syntactic-keywords.
1997-05-29 07:18:05 +00:00
Simon Marshall
2273c36b4e
Respect font-lock-face-attributes and custom fixes.
1997-04-23 07:10:09 +00:00
Simon Marshall
b34aa0a311
Cleaned up custom support.
1997-04-18 07:08:56 +00:00
Simon Marshall
55015061f5
Customise. And a few code cleanups.
1997-04-17 07:29:13 +00:00
Richard M. Stallman
815eae1d27
(font-lock-fontify-syntactically-region): Use new
...
features of parse-partial-sexp instead of doing regexp search.
1997-04-15 05:00:36 +00:00
Simon Marshall
2d63aa6734
Allow arbitrary regexps in *-font-lock-extra-types.
1997-03-15 13:19:12 +00:00
Simon Marshall
56fcbd7e9d
1. If PRE-MATCH-FORM returns a suitable number, use that as a value for LIMIT.
...
2. Commented out menu code.
1997-02-21 09:36:18 +00:00
Simon Marshall
1c626aaf74
Fix additional text prop fns to behave as proposed builtins.
...
Undo previous font-lock-after-change-function as that works better albeit not perfectly.
1997-01-09 10:08:58 +00:00
Simon Marshall
c1f2ffc8f9
(a) add font-lock-keywords-alist, (b) fix compilation of quoted conses in keyword form, (c) make simple font-lock-match-c-style-declaration-item-and-skip-to-next and more complex font-lock-match-c++-style-declaration-item-and-skip-to-next.
1996-11-16 13:27:49 +00:00
Simon Marshall
2e6a15fce5
Changes to font-lock-fontify-syntactically-region: (a) the cache position must be a marker, (b) use a loop to look for comment start, some speedups.
...
Two new faces, two new modes.
1996-10-23 11:21:05 +00:00
Richard M. Stallman
7ca7485a8a
(font-lock-inhibit-modes): Deleted.
...
(turn-on-font-lock-if-enabled): Deleted.
1996-08-01 21:45:04 +00:00
Richard M. Stallman
00ddb61e2e
(font-lock-mode): Don't add to after-change-functions
...
if font-lock-fontify-region-function is `ignore'.
(font-lock-inhibit-modes): New variable.
(turn-on-font-lock-if-enabled): Test it.
1996-07-27 20:23:55 +00:00
Simon Marshall
56a2f57a0d
Make sure font-lock-match-c++-style-declaration-item-and-skip-to-next only skips commas.
1996-07-13 11:12:25 +00:00
Simon Marshall
98f84f52d4
1. Use new font-lock-comment-start-regexp for matching a comment---it can be faster than comment-start-skip.
...
2. Don't treat ; as an item separator.
1996-07-12 07:27:55 +00:00
Simon Marshall
fd23afbeb4
Put fewer conditions in turn-on-font-lock and more in turn-on-font-lock-if-enabled, so a user can put the former on hooks.
1996-06-24 08:06:51 +00:00
Richard M. Stallman
5aa29679e1
(font-lock-verbose): Default to 0. Doc fix.
...
(font-lock-default-fontify-buffer): Interpret numeric value.
(font-lock-fontified): Don't make it permanent-local.
(font-lock-mode): Remove before-revert-hook and after-revert-hook code.
Call font-lock-turn-on-thing-lock before font-lock-mode-hook. Doc fix.
(font-lock-revert-setup, font-lock-revert-cleanup): Deleted.
(font-lock-support-mode): New variable.
(font-lock-turn-on-thing-lock): New function. Use it.
(font-lock-turn-off-thing-lock): Renamed font-lock-thing-lock-cleanup.
(font-lock-change-major-mode): Turn off Font Lock mode if it is on.
Add font-lock-change-major-mode to change-major-mode-hook at top level.
1996-06-23 18:36:01 +00:00
Richard M. Stallman
f42b62e4b8
(font-lock-make-faces): Set threshold for "light color"
...
at .6 of the total for white.
1996-06-22 16:51:43 +00:00
Richard M. Stallman
6c0fc42885
(global-font-lock-mode): Set up find-file-hooks.
...
(font-lock-default-fontify-buffer, font-lock-fontify-block)
(font-lock-mode): Fix syntax of msgs such as Fontifying...done.
1996-06-17 00:06:46 +00:00
Simon Marshall
2d9cdda805
Treat font-lock-keywords of (t) the same as nil.
...
xvc
1996-03-07 13:47:46 +00:00
Richard M. Stallman
94de9afef1
(font-lock-fontify-block): Use facemenu-keymap to make the binding.
1996-03-07 07:11:03 +00:00
Richard M. Stallman
7e47f20bba
(global-map): Change C-M-g to M-g M-g.
1996-03-02 21:09:04 +00:00
Simon Marshall
343204bdd1
Make global-font-lock-mode show status messages, and fontification interruptable.
1996-02-28 09:53:39 +00:00
Simon Marshall
a465832f09
Moved `supported' from turn-on-font-lock-if-supported to turn-on-font-lock.
1996-02-08 10:08:08 +00:00
Simon Marshall
a078558d78
Correct specialised fontification and associated stuff.
1996-02-02 10:37:39 +00:00
Simon Marshall
271c888a35
Support for local fontification.
1996-01-26 08:26:58 +00:00