[Top][All Lists]

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

Re: [SPAM UNSURE] Re: How to add pseudo vector types

From: Eli Zaretskii
Subject: Re: [SPAM UNSURE] Re: How to add pseudo vector types
Date: Wed, 21 Jul 2021 22:49:09 +0300

> From: Clément Pit-Claudel <cpitclaudel@gmail.com>
> Date: Wed, 21 Jul 2021 13:12:16 -0400
> On 7/21/21 12:54 PM, Stephen Leake wrote:
> > Hmm. Perhaps you are not talking about interrupting the parse; you are
> > assuming that the parse for each change completes before the next change
> > arrives.
> Neither of these.  I'm assuming that you open a file, launch a parse, batch 
> up changes until that first parse completes, then launch a second parse, 
> during which additional changes are batched up, then launch a third parse, 
> etc.

But how would the "launched parse" access the buffer text if it runs
in parallel to normal editing?  We've discussed the difficulties with
that, and you seem to ignore them here?

> Any time you actually need the info (for navigating, or for fontification, 
> or…) then you either use the last parse if it was recent enough, or (more 
> likely) you block until you can complete a synchronous parse.

Which means the results will many times be slightly wrong, because the
parse info you use is outdated?

reply via email to

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