> On May 7, 2020, at 8:21 PM, Ryan Joseph <[email protected]> wrote:
>
>>> I need this information so I can get navigate to the include file AND
>>> relative text offset into the include file text.
>>
>> There are plenty of functions for include files. Can you give an
>> example what you need?
>
> I start with CodeToolBoss.Explore after loading the unit and get the current
> tool from that. I need to start with an actual unit right? I don't think it
> will parse plain include files on its own, and that won't often work anyways
> because there are macros in the unit which includes the include file.
>
> I'm collecting the symbols so that I can return them to the client and it can
> navigate to a particular file at a line/column number. The file which I
> navigate to must be the include file but I only have those location relative
> to the unit, not the include.
sorry to pester but any ideas on this? I still haven't figured it out yet.
Regards,
Ryan Joseph
_______________________________________________
fpc-pascal maillist - [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal