emacs-devel
[Top][All Lists]
Advanced

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

Re: Highlight text


From: Eli Zaretskii
Subject: Re: Highlight text
Date: Wed, 09 Feb 2022 16:48:51 +0200

> From: Anand Tamariya <atamariya@gmail.com>
> Date: Wed, 9 Feb 2022 19:08:54 +0530
> 
> Can somebody point me to a piece of code in the display engine which is 
> responsible for highlighting text
> upon selection? Or the general logic on what causes it to display in a 
> different face than normal text?

It's not in the display engine (it was once).  It's in simple.el, see
redisplay--update-region-highlight there.  Basically, we nowadays
implement region highlight as an overlay.



reply via email to

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