comparison lisp/ChangeLog @ 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 482bf4e8cc00
children 27bf187aaf90
comparison
equal deleted inserted replaced
72250:482bf4e8cc00 72251:0933613f837b
1 2006-08-03 Stefan Monnier <monnier@iro.umontreal.ca> 1 2006-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * font-lock.el (font-lock-beg, font-lock-end)
4 (font-lock-extend-region-functions): New vars.
5 (font-lock-extend-region-multiline)
6 (font-lock-extend-region-wholelines): New functions.
7 (font-lock-default-fontify-region): Use them.
8 (font-lock-extend-jit-lock-region-after-change): Only round up
9 if font-lock-default-fontify-region will do it as well.
2 10
3 * font-lock.el (font-lock-extend-after-change-region-function): 11 * font-lock.el (font-lock-extend-after-change-region-function):
4 Rename from font-lock-extend-region-function. 12 Rename from font-lock-extend-region-function.
5 (font-lock-extend-region): Remove by inlining at call sites. 13 (font-lock-extend-region): Remove by inlining at call sites.
6 (font-lock-after-change-function): Don't needlessly round up to a whole 14 (font-lock-after-change-function): Don't needlessly round up to a whole