[fpc-pascal] Pascal Language Server

Mattias Gaertner nc-gaertnma at netcologne.de
Fri May 1 11:55:18 CEST 2020


This thread is getting too long.

Can you please create new threads for new topics?

On Fri, 1 May 2020 16:27:46 +0700
Ryan Joseph via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:

> Ok, got things working now. Here's the basic pattern I'm using. I
> call explore and then walk the root tree node to find what I need but
> i've noticed the 2nd time I do this I get less results than the first
> time! What is happening?

What are you doing between calls of Explore?

> I assume it's caching something but do I
> need to reference the cache myself?
> 
>   Code := CodeToolBoss.LoadFile(Path,false,false);
>   if not CodeToolBoss.Explore(Code,Tool,false,false) then
>     exit;
>   WalkTree(Tool.Tree.Root);

Mattias


More information about the fpc-pascal mailing list