emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Colorful line numbers


From: Eli Zaretskii
Subject: Re: Colorful line numbers
Date: Fri, 22 Jul 2022 18:38:40 +0300

> From: João Távora <joaotavora@gmail.com>
> Cc: emacs-devel@gnu.org
> Date: Fri, 22 Jul 2022 16:10:54 +0100
> 
> > You mean, the Lisp program will scan the entire buffer text and update
> > the properties upon each and every change to buffer text?  Like in
> > some post-command-hook or something?
> 
> In some hook yes, but not "post-command-hook" and not on each and every
> change.  And I don't think the "entire buffer text" has to be scanned.

How else would you know where such re-scanning is needed?  An Emacs
command could change buffer text in several places and in different
ways, and you must ensure all the characters of a line have the
correct properties.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]