On Tue, 03 May 2016 06:49:42 -0700 Aradeonas <aradeo...@operamail.com> wrote:
> > AFAIK, it's because it's not technically possible. > As an amateur can I ask why? > > Use {$IF DECLARED(useheaptrace)} in your main project file (just like > > lazarus.pp uses it). > Very interesting! I didnt know this ability,Thanks. How it works? what > key names it has? UseHeapTrace is a variable in unit heaptrc, which is silently used when compiling with -gh. > But it has a problem, if you use this define IDE wont color it properly > like you use normal defines, it that case it if define is not true it > will pale. $IF DECLARED is not supported by codetools. Mattias -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus