comparison lisp/isearch.el @ 35158:7e92991883c2

(isearch, isearch-lazy-highlight-face): New definitions for face colors and attributes.
author Eli Zaretskii <eliz@gnu.org>
date Tue, 09 Jan 2001 11:37:01 +0000
parents ec6003a7be16
children 0b2d36d2a4ea
comparison
equal deleted inserted replaced
35157:60037f41e0a8 35158:7e92991883c2
1884 "Lazy highlighting feature for incremental search." 1884 "Lazy highlighting feature for incremental search."
1885 :version "21.1" 1885 :version "21.1"
1886 :group 'isearch) 1886 :group 'isearch)
1887 1887
1888 (defface isearch 1888 (defface isearch
1889 '((t (:inherit region))) 1889 '((((type tty pc) (class color))
1890 "Face for highlighting matches." 1890 (:background "magenta4" :foreground "cyan1"))
1891 (((class color) (background light))
1892 (:background "magenta4" :foreground "lightskyblue1"))
1893 (((class color) (background dark))
1894 (:background "palevioletred2" :foreground "brown4"))
1895 (t (:inverse-video t)))
1896 "Face for highlighting Isearch matches."
1891 :group 'isearch-faces) 1897 :group 'isearch-faces)
1892 (defvar isearch 'isearch) 1898 (defvar isearch 'isearch)
1893 1899
1894 (defface isearch-lazy-highlight-face 1900 (defface isearch-lazy-highlight-face
1895 '((t (:inherit secondary-selection))) 1901 '((((type tty pc) (class color))
1896 "Face for lazy highlighting of matches." 1902 (:background "turquoise3"))
1903 (((class color) (background light))
1904 (:background "paleturquoise"))
1905 (((class color) (background dark))
1906 (:background "paleturquoise4"))
1907 (t (:underline t)))
1908 "Face for lazy highlighting of Isearch matches other than the current one."
1897 :group 'isearch-faces) 1909 :group 'isearch-faces)
1898 (defvar isearch-lazy-highlight-face 'isearch-lazy-highlight-face) 1910 (defvar isearch-lazy-highlight-face 'isearch-lazy-highlight-face)
1899 1911
1900 (defvar isearch-lazy-highlight-overlays nil) 1912 (defvar isearch-lazy-highlight-overlays nil)
1901 (defvar isearch-lazy-highlight-window nil) 1913 (defvar isearch-lazy-highlight-window nil)