[fpc-pascal] Using include files in code tools

Ryan Joseph genericptr at gmail.com
Thu May 7 11:26:12 CEST 2020


When using code tools I've found that it needs to start from a main unit (otherwise other relevant macros may not be set) and then insert includes into the source text. This is fine but when I inspect the node tree (TCodeTreeNode) how do I know which include a node came from?

I need this information so I can get navigate to the include file AND relative text offset into the include file text. 

Regards,
	Ryan Joseph



More information about the fpc-pascal mailing list