]> git.eshelyaron.com Git - emacs.git/commit
Add more fontification to regexp builder mode
authorLennart Borgman <lennart.borgman@gmail.com>
Thu, 27 Jun 2019 17:08:42 +0000 (19:08 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 27 Jun 2019 17:08:42 +0000 (19:08 +0200)
commitc1234ca9c3703cd8bae3912f3e0a1948bae3aed1
tree69be7cb1f0d74c1e6c6783f2c9b159bfdbc07099
parent2fbcda71a9f1d6ebff041203cb5ca4979decdf3e
Add more fontification to regexp builder mode

* lisp/emacs-lisp/re-builder.el (reb-copy): Work in the presence
of newlines in the regexps.
(reb-change-syntax): Use a dedicated history variable.
(reb-fontify-string-re): Fontify sub-matches.
(reb-regexp-grouping-backslash, reb-regexp-grouping-construct):
New faces.
(reb-string-font-lock-keywords): New variable.
(reb-mark-non-matching-parenthesis): Match parenthesis.
(reb-restart-font-lock): New function.

* lisp/emacs-lisp/re-builder.el (reb-mode-map): Add divider some
dividers (bug#6347).
lisp/emacs-lisp/re-builder.el