[fpc-pascal] Pascal Language Server

Mattias Gaertner nc-gaertnma at netcologne.de
Fri May 1 16:28:37 CEST 2020


On Fri, 1 May 2020 20:23:01 +0700
Ryan Joseph via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:

>[...]
> > What are you doing between calls of Explore?  
> 
> I'm walking the node tree and then using the Start/EndPos to read
> into the source text so that I can extract identifier. It's just:
> LoadFile, Explore, WalkTree. I didn't step through the debugger or
> anything but I assume the actual node structure   starting from
> Tool.Tree.Root changed.

"Explore" checks if some files have changed and if so rebuilds the
nodes.

 
> If that's not normal behavior I'll look harder and get into the
> debugger.

Mattias



More information about the fpc-pascal mailing list