Subject: Re: bug#62333: 30.0.50; Issue with tree-sitter syntax tree during certain changes

From: Dmitry Gutov <[email-masked]>
Date: Fri, 31 Mar 2023 15:38:33 +0300

On 31/03/2023 10:46, Eli Zaretskii wrote:
>> Cc:[email-masked],[email-masked],[email-masked],
>>   [email-masked]
>> Date: Fri, 31 Mar 2023 09:19:35 +0300
>> From: Eli Zaretskii<[email-masked]>
>>
>>> Simple example: if the beginning of the narrowed region falls inside a
>>> (let's say multine) string, should the visible remainder of that string
>>> continue to be highlighted as a string?
>> No.
>>
>>> Or should the buffer contents after the string's closer now be
>>> highlighted as being inside a string?
>> Yes.
> To clarify: these my answers are in the context of the current
> handling of narrowing, not in the context of restricting the parser
> (which you seem to reject as a useful idea anyway).

Interesting.

You do realize that it doesn't work this way currently, right?