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

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

bug#66732: tree-sitter fontification doesn't update multi-line syntax re


From: Stefan Monnier
Subject: bug#66732: tree-sitter fontification doesn't update multi-line syntax reliably
Date: Mon, 18 Dec 2023 22:40:59 -0500
User-agent: Gnus/5.13 (Gnus v5.13)

>> It seems like in our scenario the region does not get re-rendered even 
>> when some of the faces changed in there.
> Can't happen.

I think Dmitry is talking about the case where the faces were change
after the text was rendered (but before the end of the redisplay cycle).

I.e. the redisplay starts, renders up to position POS, then calls
jit-lock because `fonfitied` is nil, and jit-lock modifies faces of text
*before* POS.


        Stefan






reply via email to

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