emacs-devel
[Top][All Lists]
Advanced

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

Re: emacs-tree-sitter and Emacs


From: Eli Zaretskii
Subject: Re: emacs-tree-sitter and Emacs
Date: Thu, 02 Apr 2020 21:29:48 +0300

> From: Yuan Fu <address@hidden>
> Date: Thu, 2 Apr 2020 13:18:51 -0400
> Cc: Eli Zaretskii <address@hidden>,
>  address@hidden,
>  address@hidden,
>  address@hidden
> 
> Can we do something similar to fontified text property? I.e., only parse the 
> first screen full of text when a buffer is opened, and mark the rest as 
> unparsed with text property. Then when we need to access the parse tree (for 
> fortification, etc), send all unparsed text before some point (e.g., last 
> visible char in the window) to the parser.

The current "parser" used by font-lock is used exactly in this fashion
from the display engine, IIUC what you mean.



reply via email to

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