]> git.eshelyaron.com Git - emacs.git/commit
Display matched offscreen open paren with a distinct face
authorShynur <one.last.kiss@outlook.com>
Mon, 1 May 2023 17:32:44 +0000 (01:32 +0800)
committerEli Zaretskii <eliz@gnu.org>
Tue, 2 May 2023 18:31:29 +0000 (21:31 +0300)
commit299bd316cd172f3a71705ab33efbf23590241e15
tree2a45ab053b832fee43567e5f332fd89608984f73
parentf1a7cd71a04270e44845427daa896afe80b0acb0
Display matched offscreen open paren with a distinct face

Propertize matched offscreen openparen that is showing in
the echo area in order to make it prominent; use shadow
face for non-context characters (i.e., 'Matches') for the
same purpose.
* lisp/simple.el (blink-matching-paren-offscreen): Add this
face for highlighting.
* lisp/simple.el (blink-matching-paren-highlight-offscreen): Add
this option to toggle face `blink-matching-paren-offscreen'.
* lisp/simple.el (blink-paren-open-paren-line-string): Propertize
the matched offscreen openparen with a face conditionally.
(Bug#63089)
lisp/simple.el