Hi all,

I'm having a hard time trying to get a grasp of CodeTools Defines
(Editor) and I can't find any documentation about it on the web or in
Lazarus sources. Is there anyone?

If not, I'll start with a concrete case: all codetools fail (with
error 'Unit not found', pointing to LCL units) on files not explicitly
included in the project, but instead accessed by means of "Other Unit
Files" configuration in 'Compiler options...' dialog of 'Project' main
menu.
I debugged the IDE and "discovered" that the LCL units aren't found
because the 'FindDeclarationTool' restricts the search to the folder
of the active document because it can't find a '#SrcPath' variable
defined (it is, for files added to the project or from LCL or fpc).

So, how can I fix this exact situation? And better yet, can anyone
share some insight on the CodeTools Defines so I/we can make a better
use of it? ;-)

Thanks,
Flávio

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to