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

2020-05-12 Thread Mattias Gaertner via fpc-pascal
On Wed, 13 May 2020 10:48:14 +0700 Ryan Joseph via fpc-pascal wrote: > 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 n

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

2020-05-12 Thread Ryan Joseph via fpc-pascal
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 does