Mercurial > emacs
diff etc/NEWS @ 72251:0933613f837b
(font-lock-beg, font-lock-end, font-lock-extend-region-functions): New vars.
(font-lock-extend-region-multiline)
(font-lock-extend-region-wholelines): New functions.
(font-lock-default-fontify-region): Use them.
(font-lock-extend-jit-lock-region-after-change): Only round up
if font-lock-default-fontify-region will do it as well.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Thu, 03 Aug 2006 07:14:39 +0000 |
parents | 81868132a889 |
children | cf36b1a9d6b7 858cb33ae39d |
line wrap: on
line diff
--- a/etc/NEWS Thu Aug 03 05:42:53 2006 +0000 +++ b/etc/NEWS Thu Aug 03 07:14:39 2006 +0000 @@ -5363,6 +5363,11 @@ property over the second half of the command to force (deferred) refontification of `bar' whenever the `e' is added/removed. +*** `font-lock-extend-region-functions' makes it possible to alter the way +the fontification region is chosen. This can be used to prevent rounding +up to whole lines, or to extend the region to include all related lines +of multiline constructs so that such constructs get properly recognized. + ** Major mode mechanism changes: +++