• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/emacs-92/emacs/lisp/

Lines Matching defs:face

30 ;; one face, strings in another, reserved words in another, and so on.
32 ;; Comments will be displayed in `font-lock-comment-face'.
33 ;; Strings will be displayed in `font-lock-string-face'.
60 ;; insertion or deletion). Fontification means the replacement of `face' text
61 ;; properties in a given region; Emacs displays text with these `face' text
77 ;; The syntactic pass places `face' text properties in the buffer according to
88 ;; The keyword pass places `face' text properties in the buffer according to
151 ;; '(("\\<\\(one\\|two\\|three\\)\\>" . font-lock-keyword-face)
152 ;; ("\\<\\(four\\|five\\|six\\)\\>" . font-lock-type-face))
172 ;; '(("\\<\\(uno\\|due\\|tre\\)\\>" . font-lock-keyword-face)
173 ;; ("\\<\\(quattro\\|cinque\\|sei\\)\\>" . font-lock-type-face))
197 ;; - Use the same face for the same conceptual object, across all modes.
199 ;; keywords, should be highlighted with the same face, etc.
200 ;; - Make the face attributes fit the concept as far as possible.
291 ;; Originally these variable values were face names such as `bold' etc.
293 ;; and they give users another mechanism for changing face appearance.
295 ;; returns a face. So the easiest thing is to continue using these variables,
297 (defvar font-lock-comment-face 'font-lock-comment-face
300 (defvar font-lock-comment-delimiter-face 'font-lock-comment-delimiter-face
303 (defvar font-lock-string-face 'font-lock-string-face
306 (defvar font-lock-doc-face 'font-lock-doc-face
309 (defvar font-lock-keyword-face 'font-lock-keyword-face
312 (defvar font-lock-builtin-face 'font-lock-builtin-face
315 (defvar font-lock-function-name-face 'font-lock-function-name-face
318 (defvar font-lock-variable-name-face 'font-lock-variable-name-face
321 (defvar font-lock-type-face 'font-lock-type-face
324 (defvar font-lock-constant-face 'font-lock-constant-face
327 (defvar font-lock-warning-face 'font-lock-warning-face
330 (defvar font-lock-negation-char-face 'font-lock-negation-char-face
334 (defvar font-lock-preprocessor-face 'font-lock-preprocessor-face
337 (defvar font-lock-reference-face 'font-lock-constant-face)
338 (make-obsolete-variable 'font-lock-reference-face 'font-lock-constant-face)
385 FACENAME is an expression whose value is the face name to use.
386 Instead of a face, FACENAME can evaluate to a property list
387 of the form (face FACE PROP1 VAL1 PROP2 VAL2 ...)
403 variable `font-lock-keyword-face'.
405 the value of `font-lock-keyword-face'.
406 (\"fubar\" . fubar-face) Occurrences of \"fubar\" in the value of `fubar-face'.
407 (\"foo\\\\|bar\" 0 foo-bar-face t)
409 of `foo-bar-face', even if already highlighted.
410 (fubar-match 1 fubar-face)
413 in the value of `fubar-face'.
430 (\"\\\\\\=<anchor\\\\\\=>\" (0 anchor-face) (\"\\\\\\=<item\\\\\\=>\" nil nil (0 item-face)))
432 discrete occurrences of \"anchor\" in the value of `anchor-face', and subsequent
433 discrete occurrences of \"item\" (on the same line) in the value of `item-face'.
503 (defvar font-lock-syntactic-face-function
505 (if (nth 3 state) font-lock-string-face font-lock-comment-face))
506 "Function to determine which face to use when fontifying syntactically.
509 should return a face. This is normally set via `font-lock-defaults'.")
631 (defvar font-lock-face-attributes)) ; Obsolete but respected if set.
668 '((\"\\\\\\=<\\\\(FIXME\\\\):\" 1 font-lock-warning-face prepend)
669 (\"\\\\\\=<\\\\(and\\\\|or\\\\|not\\\\)\\\\\\=>\" . font-lock-keyword-face)))
683 '((\"\\\\\\=<\\\\(FIXME\\\\):\" 1 font-lock-warning-face prepend)
685 font-lock-keyword-face)))))
1162 '(syntax-table face font-lock-multiline)
1163 '(face font-lock-multiline)))))
1480 "Put proper face on each string and comment between START and END.
1486 state face beg)
1497 (setq face (funcall font-lock-syntactic-face-function state))
1501 (when face (put-text-property beg (point) 'face face))
1502 (when (and (eq face 'font-lock-comment-face)
1506 ;; and use font-lock-comment-delimiter-face for them.
1511 (put-text-property beg (match-end 0) 'face
1512 font-lock-comment-delimiter-face)))
1514 (put-text-property (match-beginning 0) (point) 'face
1515 font-lock-comment-delimiter-face))))
1536 (when (eq (car-safe val) 'face)
1544 ;; changed from <face> to (<face>) which is undesirable. --Stef
1548 (or (text-property-not-all start end 'face nil)
1549 (put-text-property start end 'face val)))
1552 (put-text-property start end 'face val))
1555 (font-lock-prepend-text-property start end 'face val))
1558 (font-lock-append-text-property start end 'face val))
1561 (font-lock-fillin-text-property start end 'face val)))))))
1692 (if (memq (get-text-property (match-beginning 0) 'face)
1693 '(font-lock-string-face font-lock-doc-face
1694 font-lock-comment-face))
1695 (list 'face font-lock-warning-face
1702 (list keyword '(0 font-lock-keyword-face)))
1711 (list (car keyword) (list (cdr keyword) 'font-lock-keyword-face)))
1816 ;; `custom-declare-face'.
1817 (defface font-lock-comment-face
1835 "Font Lock mode face used to highlight comments."
1838 (defface font-lock-comment-delimiter-face
1839 '((default :inherit font-lock-comment-face)
1846 "Font Lock mode face used to highlight comment delimiters."
1849 (defface font-lock-string-face
1858 "Font Lock mode face used to highlight strings."
1861 (defface font-lock-doc-face
1862 '((t :inherit font-lock-string-face))
1863 "Font Lock mode face used to highlight documentation."
1866 (defface font-lock-keyword-face
1875 "Font Lock mode face used to highlight keywords."
1878 (defface font-lock-builtin-face
1887 "Font Lock mode face used to highlight builtins."
1890 (defface font-lock-function-name-face
1897 "Font Lock mode face used to highlight function names."
1900 (defface font-lock-variable-name-face
1911 "Font Lock mode face used to highlight variable names."
1914 (defface font-lock-type-face
1923 "Font Lock mode face used to highlight type and classes."
1926 (defface font-lock-constant-face
1937 "Font Lock mode face used to highlight constants and labels."
1940 (defface font-lock-warning-face
1947 "Font Lock mode face used to highlight warnings."
1950 (defface font-lock-negation-char-face
1952 "Font Lock mode face used to highlight easy to overlook negation."
1955 (defface font-lock-preprocessor-face
1956 '((t :inherit font-lock-builtin-face))
1957 "Font Lock mode face used to highlight preprocessor directives."
1962 "Font Lock mode face for backslashes in Lisp regexp grouping constructs."
1967 "Font Lock mode face used to highlight grouping constructs in Lisp regexps."
2162 '("^#[ \t]*\\(?:error\\|warning\\)[ \t]+\\(.+\\)" 1 font-lock-warning-face prepend)
2166 1 font-lock-string-face prepend)
2170 (1 font-lock-function-name-face prepend)
2179 nil nil (1 font-lock-variable-name-face prepend)))
2184 (1 font-lock-builtin-face prepend) (2 font-lock-variable-name-face prepend t)))
2190 '(1 font-lock-preprocessor-face prepend)
2192 'font-lock-variable-name-face nil t))))
2215 "\\(const\\(ant\\)?\\|custom\\|varalias\\|face\\|parameter\\|var\\)\\|"
2222 (1 font-lock-keyword-face)
2223 (9 (cond ((match-beginning 3) font-lock-function-name-face)
2224 ((match-beginning 6) font-lock-variable-name-face)
2225 (t font-lock-type-face))
2228 ("^;;;###\\(autoload\\)" 1 font-lock-warning-face prepend)
2230 ("\\[\\(\\^\\)" 1 font-lock-negation-char-face prepend)))
2280 (1 font-lock-keyword-face)
2281 (2 font-lock-constant-face nil t))
2283 ("(\\(abort\\|assert\\|warn\\|check-type\\|cerror\\|error\\|signal\\)\\>" 1 font-lock-warning-face)
2285 ("\\\\\\\\\\[\\(\\sw+\\)\\]" 1 font-lock-constant-face prepend)
2287 ("`\\(\\sw\\sw+\\)'" 1 font-lock-constant-face prepend)
2289 ("\\<:\\sw+\\>" 0 font-lock-builtin-face)
2291 ("\\<\\&\\sw+\\>" . font-lock-type-face)
2301 (let ((face (get-text-property (1- (point)) 'face)))
2302 (when (or (and (listp face)
2303 (memq 'font-lock-string-face face))
2304 (eq 'font-lock-string-face face))
2312 ;;; ("(\\(\\(do-\\|with-\\)\\(\\s_\\|\\w\\)*\\)" 1 font-lock-keyword-face)