[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: jit-lock doesn't honor font-lock-lines-before
From: |
Richard M. Stallman |
Subject: |
Re: jit-lock doesn't honor font-lock-lines-before |
Date: |
Wed, 31 Aug 2005 10:36:55 -0400 |
Because this means that every time I insert one character, redisplay
would refontify `font-lock-lines-before' in addition to the current
line.
That might be somewhat slower--but how much? Would it even be
noticeable?
jit-lock's after-change hook would only reset the
fontified property to nil. Whether and when these lines are refontified
would be _also_ decided by the redisplay engine.
It's not decided by the redisplay engine alone. When calls for
a certain region to be fontified, jit-lock could be changed to look
at the previous line too.