• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/emacs-93/emacs/lisp/textmodes/

Lines Matching +defs:find +defs:face

39 (defvar font-lock-comment-face)
40 (defvar font-lock-doc-face)
266 "Regular expression used by \\[tex-region] to find start of file's header.")
269 "Regular expression used by \\[tex-region] to find end of file's header.")
419 ; 2 font-lock-function-name-face)
421 ; 2 font-lock-constant-face)
426 ; ("\\\\\\([a-zA-Z@]+\\|.\\)" . font-lock-keyword-face)
427 ; ("^[ \t\n]*\\\\def[\\\\@]\\(\\w+\\)" 1 font-lock-function-name-face keep))
430 ; 2 font-lock-function-name-face)
432 ; 2 font-lock-constant-face)
433 ; ("^[ \t]*\\\\def\\\\\\(\\(\\w\\|@\\)+\\)" 1 font-lock-function-name-face)
478 ;; highlighted as tex-verbatim face. Let's undo that.
480 '("^\\(\\\\\\)end" (1 (get-text-property (match-end 1) 'face) t))
486 (list "\\$\\$\\([^$]+\\)\\$\\$" 1 'tex-math-face)
497 ;; because "there's already a face there".
501 3 'font-lock-function-name-face 'keep)
503 1 'font-lock-function-name-face 'keep)
505 (list (concat slash variables " *" arg) 2 'font-lock-variable-name-face)
507 (list (concat slash includes opt arg) 3 'font-lock-builtin-face)
510 1 font-lock-function-name-face))))
514 (unless (memq (get-text-property (match-end 1) 'face)
515 '(font-lock-comment-face tex-verbatim))
555 (list (concat slash citations opt arg) 3 'font-lock-constant-face)
561 'font-lock-string-face)
564 (cons (concat slash specials-1) 'font-lock-warning-face)
566 1 'font-lock-warning-face)
587 (unless (or (memq (get-text-property pos 'face)
588 '(font-lock-constant-face font-lock-builtin-face
589 font-lock-comment-face tex-verbatim))
597 '(face subscript display (raise -0.3))
598 '(face superscript display (raise +0.3)))))
637 ;; face from the \ but C-M-f still jumps to the wrong spot :-( --Stef
667 '((t :inherit font-lock-string-face))
671 (put 'tex-math-face 'face-alias 'tex-math)
672 (defvar tex-math-face 'tex-math)
675 ;; '((t :inherit font-lock-string-face))
680 (put 'tex-verbatim-face 'face-alias 'tex-verbatim)
681 (defvar tex-verbatim-face 'tex-verbatim)
690 ;; Let's find the end and mark it.
691 ;; We used to do it inside tex-font-lock-syntactic-face-function, but
694 ;; preceding text but font-lock-syntactic-face-function only to the
708 ;; Use string syntax but math face for $...$.
709 (defun tex-font-lock-syntactic-face-function (state)
712 ((not char) font-lock-comment-face)
713 ((eq char ?$) tex-math-face)
714 (t tex-verbatim-face))))
801 (defvar tex-face-alist
807 "Alist of face and TeX font name for facemenu.")
809 (defvar tex-latex-face-alist
811 ,@tex-face-alist)
812 "Alist of face and LaTeX font name for facemenu.")
1004 (set (make-local-variable 'tex-face-alist) tex-latex-face-alist)
1075 (set (make-local-variable 'facemenu-add-face-function)
1076 (lambda (face end)
1077 (or (cdr (assq face tex-face-alist))
1078 (error "Face %s not configured for %s mode" face mode-name))))
1079 (set (make-local-variable 'facemenu-end-add-face) "}")
1080 (set (make-local-variable 'facemenu-remove-face-function) t)
1087 (font-lock-syntactic-face-function
1088 . tex-font-lock-syntactic-face-function)
1139 (eq (get-text-property (point) 'face) 'tex-verbatim)
1153 To find a particular invalidity from `*Occur*', switch to that buffer
1207 '(mouse-face highlight
1367 (search-failed (error "Couldn't find unended \\begin"))))
1767 ;; This isn't the main file, let's try to find better,
1840 "Like `executable-find' but with a cache."
1843 (let ((executable (executable-find name)))
2007 (defun tex-compilation-parse-errors (limit-search find-at-least)
2051 (find-file-noselect filename))
2066 (or (and find-at-least
2068 find-at-least))
2375 (if (and (eq (get-text-property (line-beginning-position) 'face)
2383 (latex-find-indent))))
2389 (defun latex-find-indent (&optional virtual)
2391 VIRTUAL if non-nil indicates that we're only trying to find the indentation
2412 (latex-find-indent 'virtual))))
2454 indent (latex-find-indent 'virtual))))
2503 (defun doctex-font-lock-syntactic-face-function (state)
2510 (tex-font-lock-syntactic-face-function state)
2511 font-lock-doc-face))
2521 '(("^%<[^>]*>" (0 font-lock-preprocessor-face t)))))
2533 (font-lock-syntactic-face-function
2534 (cons (car x) 'doctex-font-lock-syntactic-face-function))