Juri Linkov
d8d5c28c13
(font-lock-regexp-grouping-backslash): Don't
...
inherit from escape-glyph (use bold for all cases).
2005-07-19 11:31:31 +00:00
Stefan Monnier
8a08764f7a
(font-lock-fontify-keywords-region): Avoid inf-loops
...
when the matched text is empty.
2005-07-13 04:39:14 +00:00
Lute Kamstra
086add1519
Update FSF's address.
2005-07-04 23:32:44 +00:00
Eli Zaretskii
112abe2467
(font-lock-regexp-grouping-construct): Fix the bogus name from
...
the last change.
2005-07-03 05:00:31 +00:00
Eli Zaretskii
9ad5e4d4ee
(font-lock-regexp-grouping-backslash): Rename from
...
font-lock-regexp-backslash. Doc fix.
(font-lock-regexp-backslash-grouping-construct): Rename from
font-lock-regexp-backslash-construct. Doc fix.
(lisp-font-lock-keywords-2): Fix highlighting of ELisp regexp
grouping constructs.
2005-07-02 09:40:42 +00:00
Stefan Monnier
56d8206be3
(save-buffer-state): Use `declare'.
2005-06-29 08:19:17 +00:00
Juanma Barranquero
97f38995a5
(font-lock-keywords): Fix spelling in docstrings.
2005-06-16 16:09:42 +00:00
Luc Teirlinck
dd314c0fc3
(font-lock-add-keywords): Doc fix.
2005-06-06 21:32:57 +00:00
Juri Linkov
c711faac0a
(font-lock-regexp-backslash)
...
(font-lock-regexp-backslash-construct): New faces.
(lisp-font-lock-keywords-2): Use new faces. Match `?:' only
after `('. Add `while-no-input' to control structures.
2005-06-06 12:02:35 +00:00
Luc Teirlinck
1224500961
(font-lock-set-defaults): Fix omission in last change.
2005-06-05 03:37:59 +00:00
Luc Teirlinck
bed8843851
(font-lock-add-keywords): Doc fix. Comment change.
...
(font-lock-remove-keywords): Doc fix.
(font-lock-mode-major-mode): Compiler defvar.
(font-lock-set-defaults): Use `font-lock-mode-major-mode '.
2005-06-04 22:23:44 +00:00
Richard M. Stallman
a159470388
(font-lock-fontify-syntactically-region):
...
Pass t for GREEDY to looking-back.
2005-05-29 08:39:40 +00:00
Lute Kamstra
822b23b008
(font-lock-beginning-of-syntax-function): Fix docstring.
2005-05-22 23:48:12 +00:00
Stefan Monnier
9605a00f9c
(lisp-font-lock-keywords-2): Don't error. Minor regexp-optimization.
2005-05-20 13:25:58 +00:00
Daniel Pfeiffer
ae0c69273e
(lisp-font-lock-keywords-2): Do \\) only in strings, because (eq ... ?\\) is fairly frequent.
2005-05-19 02:15:09 +00:00
Daniel Pfeiffer
71994ae7da
(lisp-font-lock-keywords-1): Set `font-lock-negation-char-face' for [^...] char group.
...
(lisp-font-lock-keywords-2): Highlight regexp's \\( \\| \\).
2005-05-16 20:36:45 +00:00
Richard M. Stallman
7435a76be7
(font-lock-comment-start-skip): New variable.
...
(font-lock-comment-end-skip): New variable.
(font-lock-fontify-syntactically-region): Use them if non-nil.
2005-05-15 14:28:55 +00:00
Stefan Monnier
3989c3e714
(font-lock-comment-delimiter-face): Fix up the inheritance.
2005-05-13 03:34:50 +00:00
Stefan Monnier
3187cffc0d
(font-lock-comment-delimiter-face): Fix last change.
2005-05-12 21:23:04 +00:00
Stefan Monnier
bf2cea1da0
(font-lock-comment-delimiter-face): Inherit from
...
font-lock-comment-face rather than copying its setting.
2005-05-12 20:04:32 +00:00
Kim F. Storm
39eae0731c
(font-lock-negation-char-face): Default to "off".
2005-05-12 08:57:17 +00:00
Stefan Monnier
90cbc9cda0
(font-lock-fontify-syntactically-region): Don't use comment-end if
...
comment-start-skip is not set.
Obey the font-lock-comment-delimiter-face variables.
2005-05-11 18:52:17 +00:00
Richard M. Stallman
a447965796
(font-lock-fontify-syntactically-region):
...
Use font-lock-comment-delimiter-face for comment delimiters.
2005-05-11 16:27:25 +00:00
Stefan Monnier
b71813cb9a
(font-lock-fontify-keywords-region): Use a marker
...
when trying to ensure forward progress.
2005-05-11 15:55:16 +00:00
Lute Kamstra
0003d2e319
(font-lock-keywords-alist, font-lock-removed-keywords-alist): Clarify docstrings.
2005-05-10 09:02:40 +00:00
Daniel Pfeiffer
5d27cf9f35
(font-lock-negation-char-face): New face and variable.
2005-05-05 19:01:39 +00:00
Lute Kamstra
95965740cf
(font-lock-add-keywords, font-lock-remove-keywords): Clarify docstring.
...
(font-lock-keywords-alist, font-lock-removed-keywords-alist):
Don't start docstrings with a `*'.
(font-lock-update-removed-keyword-alist): Give it a docstring.
2005-04-28 11:48:53 +00:00
Stefan Monnier
8a2a65356d
(font-lock-default-fontify-region): Don't force
...
parse-sexp-lookup-properties to nil.
2005-04-27 19:43:50 +00:00
Lute Kamstra
0edd2744ad
(font-lock-fontify-region-function): Fix docstring.
...
(font-lock-comment-delimiter-face): Ditto.
2005-04-26 14:14:42 +00:00
Lute Kamstra
8ba81e936d
(font-lock-syntactic-face-function): Fix docstring.
2005-04-25 11:12:33 +00:00
Richard M. Stallman
4403a96955
(font-lock-comment-delimiter-face): Doc fix.
2005-04-24 21:31:37 +00:00
Richard M. Stallman
9177dd93a4
(font-lock-comment-face): On terminals with few colors,
...
use the default appearance.
(font-lock-comment-delimiter-face): New face, new variable.
2005-04-23 16:45:21 +00:00
Dan Nicolaescu
ea81d57ec5
* mh-customize.el (mh-speedbar-selected-folder-face): Special case
...
high number of colors displays.
* textmodes/table.el (table-cell-face): Add special case for
displays supporting a high number of colors.
* progmodes/vhdl-mode.el (vhdl-font-lock-prompt-face)
(vhdl-font-lock-reserved-words-face)
(vhdl-speedbar-architecture-face)
(vhdl-speedbar-instantiation-face)
(vhdl-speedbar-architecture-selected-face)
(vhdl-speedbar-instantiation-selected-face): Likewise.
* progmodes/sh-script.el (sh-heredoc-face): Likewise.
* progmodes/idlw-help.el (idlwave-help-link-face): Likewise.
* progmodes/ebrowse.el (ebrowse-tree-mark-face)
(ebrowse-root-class-face, ebrowse-member-attribute-face)
(ebrowse-progress-face): Likewise.
* progmodes/compile.el (compilation-info-face): Likewise.
* progmodes/cc-fonts.el (c-invalid-face): Likewise.
* emacs-lisp/re-builder.el (reb-match-3): Likewise.
* calendar/calendar.el (diary-face): Likewise.
* woman.el (woman-italic-face, woman-bold-face)
(woman-unknown-face): Likewise.
* wid-edit.el (widget-button-pressed-face): Likewise.
* whitespace.el (whitespace-highlight-face): Likewise.
* smerge-mode.el (smerge-mine-face, smerge-base-face): Likewise.
* pcvs-info.el (cvs-marked-face): Likewise.
* info.el (info-xref): Likewise.
* ido.el (ido-subdir-face, ido-indicator-face): Likewise.
* hilit-chg.el (highlight-changes-face)
(highlight-changes-delete-face): Likewise.
* hi-lock.el (hi-yellow, hi-green, hi-blue-b, hi-green-b)
(hi-red-b): Likewise.
* generic-x.el (show-tabs-tab-face, show-tabs-space-face): Likewise.
* font-lock.el (font-lock-keyword-face)
(font-lock-function-name-face, font-lock-warning-face): Likewise.
* cus-edit.el (custom-invalid-face, custom-modified-face)
(custom-set-face, custom-changed-face, custom-variable-tag-face)
(custom-group-tag-face-1, custom-group-tag-face): Likewise.
* comint.el (comint-highlight-prompt): Likewise.
2005-04-08 14:26:13 +00:00
Lute Kamstra
67b4790bd3
(font-lock-keywords): Docstring fixes.
2005-04-08 12:51:07 +00:00
Luc Teirlinck
2d526287db
Bind `font-lock-fontify-block' to M-o M-o.
2005-03-28 16:49:20 +00:00
Lute Kamstra
f665853a1a
(lisp-font-lock-keywords-1): Font lock a call to define-generic-mode
...
like a function declaration.
2005-03-21 17:12:01 +00:00
Richard M. Stallman
f9d0b1eda1
(font-lock-lines-before): New user option.
...
(font-lock-after-change-function): Obey it.
2005-03-17 23:44:19 +00:00
Stefan Monnier
55d0f066be
(font-lock-fontify-keywords-region): Ensure forward
...
progress, even with buggy anchored keywords.
2005-03-06 00:02:04 +00:00
Stefan Monnier
516eb29c73
(font-lock-unfontify-region): Save buffer state.
...
(font-lock-default-unfontify-region): Dont' save buffer state any more.
2004-12-07 04:58:36 +00:00
Stefan Monnier
048aac3938
(font-lock-compile-keywords): Don't complain if the end
...
of defun-prompt-regexp matches inside a comment/string but the
beginning is correctly outside everything.
2004-11-27 00:17:22 +00:00
Stefan Monnier
6ce66ffe74
(font-lock-fontify-syntactically-region): Fix last fix
...
so it doesn't forget to highlight the beginning of the region either.
2004-11-14 00:37:12 +00:00
Stefan Monnier
7ae3cc71e1
(font-lock-fontify-syntactically-region):
...
Don't forget to highlight the last char when we hit `end'.
2004-11-12 00:00:59 +00:00
Stefan Monnier
a5f48305f1
(font-lock-apply-highlight): Fix last change.
2004-10-11 14:56:50 +00:00
Stefan Monnier
6b7f34912c
(font-lock-apply-highlight): Explicitly check the case
...
where the face expression evals to nil.
2004-10-10 01:54:12 +00:00
Richard M. Stallman
7ea820e985
(font-lock-set-defaults): Use with-no-warnings.
2004-08-22 16:53:44 +00:00
Stefan Monnier
f9c0bc2e73
(font-lock-keywords): Docstring improvement.
2004-07-27 18:45:41 +00:00
Richard M. Stallman
5ac714934d
(font-lock-add-keywords, font-lock-remove-keywords):
...
Compile font-lock-keywords, not KEYWORDS.
(lisp-font-lock-keywords-2): Add multiple-value-prog1, go.
Add warn, check-type. Handle cerror like error.
2004-07-17 14:30:33 +00:00
Richard M. Stallman
0715d1a4a8
(font-lock-fontify-syntactic-keywords-region):
...
More changes to go with previous change.
2004-06-28 02:45:01 +00:00
Richard M. Stallman
e2850f3f85
(font-lock-set-defaults): Fix previous change.
2004-06-24 23:30:50 +00:00
Richard M. Stallman
69968400c3
(font-lock-keywords): Change format of compiled values. Document it.
...
(font-lock-add-keywords): If font-lock-keywords is compiled,
extract the uncompiled version, modify, then recompile.
(font-lock-remove-keywords): Likewise.
(font-lock-fontify-keywords-region): Handle changed format.
(font-lock-compile-keywords): Handle changed format.
(font-lock-set-defaults): Compile the keywords explicitly here.
2004-06-24 20:29:41 +00:00