help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: tutorial on faces ?


From: Jean-Christophe Helary
Subject: Re: tutorial on faces ?
Date: Fri, 8 Feb 2019 00:58:09 +0900


> On Feb 8, 2019, at 0:44, Drew Adams <drew.adams@oracle.com> wrote:

> I probably should have mentioned this: To highlight
> parts of a string is one thing - use `propertize'
> with property `face', for example.
> 
> To highlight parts of a buffer is something else.

How is that something else ?

> You typically use font lock for this.  Font lock
> periodically updates the highlighting, even as
> you change buffer contents.  It applies a set of
> highlighting rules (regexp patterns, for example),
> in sequence.

Isn't it something you'd always want ?

Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune





reply via email to

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