| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
`font-lock-set-defaults'.
|
|
|
|
|
|
|
| |
(font-lock-multiline, font-lock-fontified, font-lock-mode)
(turn-on-font-lock, font-lock-add-keywords, global-font-lock-mode)
(font-lock-global-modes): Moved to font-core.el.
(font-lock-set-defaults-1): Partially moved to font-core.el.
|
| |
|
| |
|
| |
|
|
|
|
| |
the form `:x'.
|
| |
|
| |
|
|
|
|
| |
(c-font-lock-syntactic-face-function): Accept doxygen-style comments.
|
|
|
|
|
| |
Use :weight and :slant, not :bold and :italic.
(various face definitions): Likewise.
|
| |
|
|
|
|
|
|
|
|
|
| |
(font-lock-ppss-stats, font-lock-ppss): Remove.
(font-lock-fontify-syntactically-region): Remove tuning code.
(font-lock-compile-keywords): Fix off-by-one bug.
(font-lock-set-defaults): Don't set removed vars.
(c-keywords): Add `inline'.
(c-type-names): Add `_Complex', `_Imaginary' and `_Bool'.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If set and if applicable, add a regexp to highlight defun-like
text inside comments and strings.
(font-lock-fontify-keywords-region): Pass that new arg.
(font-lock-set-defaults): Move the code to set `font-lock-keywords'
to the end and pass that new arg.
(c-font-lock-keywords-2): Fix regex for labels.
(font-lock-match-c++-style-declaration-item-and-skip-to-next):
Make it work when LIMIT is several lines further.
(c-font-lock-keywords-3, c++-font-lock-keywords-3)
(objc-font-lock-keywords-3, java-font-lock-keywords-3):
Use backquote and make the regexes for `int a, b, c;' work on
multiple lines.
|
|
|
|
| |
Also work when LIMIT is further than the end of line.
|
|
|
|
| |
(font-lock-defaults-alist): Use it. From David Ponce <david.ponce@wanadoo.fr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(font-lock-defaults-alist): Don't define keywords for lisp languages.
Use `c-font-lock-syntactic-face-function' for c languages.
(font-lock-mode): Don't unset vars when turning the mode off.
(font-lock-default-fontify-buffer): Don't unset vars at the end.
(font-lock-extra-managed-props): New var.
(font-lock-default-unfontify-region): Use it.
(font-lock-apply-syntactic-highlight): Flush the syntax cache.
Don't eval the value when there's no match.
(font-lock-ppss-stats): New var.
(font-lock-ppss): New fun.
(font-lock-fontify-syntactically-region): Use it and syntax.ppss.
(font-lock-apply-highlight): Allow `highlight' to set several props.
(font-lock-set-defaults): Use dolist.
(font-lock-unset-defaults): Remove.
(font-lock-match-c-style-declaration-item-and-skip-to-next):
Try to recognize prototypes using `foo P_ ((args))'.
({c,c++,java,objc}-font-lock-keywords-{1,2,3}): Don't setq a defconst.
(c-font-lock-keywords-2): Fix last change to still use Anders' trick.
(c-font-lock-syntactic-face-function): New function.
(font-lock-match-c++-style-declaration-item-and-skip-to-next)
(c++-keywords): Use a more sophisticated regexp to handle
shallowly nested templates.
|
| |
|
|
|
|
| |
font-lock-support-mode is set to jit-lock-mode.
|
| |
|
|
|
|
| |
like `struct X Y', finish with point after Y.
|
|
|
|
|
| |
background, use "red1", since "lightred" is not one of the colors
recognized by tty-colors.el.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
rather than (before|after)-change-functions.
|
| |
|
|
|
|
| |
change.
|
|
|
|
|
| |
(font-lock-default-fontify-region): If font-lock-multiline is
nil, don't check the property `font-lock-multiline'.
|
| |
|
|
|
|
|
| |
Include the terminating \n (off-by-one error).
(font-lock-set-defaults): Use dolist.
|
|
|
|
| |
javadoc tags.
|
|
|
|
|
|
|
|
|
|
|
|
| |
(font-lock-defaults-alist): Mark obsolete.
(font-lock-mode, font-lock-mode-hook) <defvar>: Remove.
(font-lock-mode): Use define-minor-mode.
(font-lock-support-mode): Tweak type to default to jit-lock-mode.
(font-lock-turn-off-thing-lock): Be more explicit.
(font-lock-apply-syntactic-highlight): Use string-to-syntax after eval.
(font-lock-syntactic-face-function): New var.
(font-lock-fontify-syntactically-region): Use it.
(font-lock-doc-face): New.
|
|
|
|
|
|
|
|
|
|
|
| |
(font-lock-global-modes): Define with easy-mmode-define-global-mode.
(font-lock-change-major-mode): Remove.
(turn-on-font-lock-if-enabled): Only apply to the current buffer.
(font-lock-default-fontify-region): Extend the multiline
fontification to whole lines.
(font-lock-fontify-anchored-keywords)
(font-lock-fontify-keywords-region): If matching just one
line (with \n) only mark the \n as multiline.
|
|
|
|
| |
for dark-background tty's.
|
| |
|
|
|
|
|
| |
(font-lock-fontify-syntactic-keywords-region): Use it.
(font-lock-mode): Fix docstring. Don't need make-local-hook anymore.
|
|
|
|
| |
color, non-tty, default to `chocolate1'.
|
|
|
|
|
|
|
|
| |
(font-lock-turn-on-thing-lock): Use jit-lock-refontify.
(font-lock-choose-keywords):
Ignore LEVEL unless KEYWORDS is a list of syms.
(c-keywords, c++-keywords, objc-keywords, java-keywords):
Don't wrap regexp-opt things in \(...\) unnecessarily.
|
|
|
|
| |
the doc strings how to customize Font Lock faces.
|
|
|
|
|
|
|
|
|
|
|
| |
(tex-font-lock-keywords, tex-font-lock-keywords-2)
(tex-font-lock-keywords-1): Remove.
(font-lock-turn-on-thing-lock): Use jit-lock-register.
(font-lock-turn-off-thing-lock): Use jit-lock-unregister.
(font-lock-default-fontify-region): Expand beg..end correctly
when just following a multiline region.
(font-lock-fontify-anchored-keywords):
Include the anchor text as part of the multiline.
|
|
|
|
|
|
|
| |
(tex-font-lock-keywords-1, tex-font-lock-keywords-2):
Don't use regexp-opt-depth. Spice up the regexp for args.
Don't distinguish between cmds that can take an opt arg or not.
Use `append' and `prepend' rather than `keep'.
|
|
|
|
| |
that ``the buffer is too big''.
|
| |
|
|
|
|
|
| |
`defconst', `define-condition', `with-slots'.
* font-lock.el (lisp-font-lock-keywords-2): Added `with-' and `do-'.
|
|
|
|
|
| |
(font-lock-support-mode) <defgroup>: Add :version.
(global-font-lock-mode): Use mapc.
|
|
|
|
| |
(font-lock-after-unfontify-buffer): No need to call back to jit-lock.
|
| |
|