[fpc-pascal] Code tools and changing include file text

Ryan Joseph genericptr at gmail.com
Wed May 13 05:48:14 CEST 2020


When a file changes I get the full source text and update the version in code tools by doing this:

Code := CodeToolBoss.FindFile(Path);
Code.Source := text;

This works but I'm having problems with include files now because I'm updating the code buffer for the include file but the main code doesn't seem to get updated. Do I need to notify the main code of changes or inject the include code into the main code buffer?

Regards,
	Ryan Joseph



More information about the fpc-pascal mailing list