emacs-devel
[Top][All Lists]
Advanced

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

Re: Reliable after-change-functions (via: Using incremental parsing in E


From: Dmitry Gutov
Subject: Re: Reliable after-change-functions (via: Using incremental parsing in Emacs)
Date: Tue, 31 Mar 2020 18:45:24 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1

On 31.03.2020 18:36, Eli Zaretskii wrote:
But it definitely can work with parts of the buffer, and we don't need
it to have a complete AST for this particular job.

Syntax highlighting can and often does depend on buffer contents after the region.

It's one thing to mis-highlight a part of the buffer because the contents are incomplete (the user hasn't typed the full expression).

It's another thing to mis-highlight it because the chunk requested by jit-lock ended on a particular ambiguous position.



reply via email to

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