-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm trying to do something that might be done in a completely different
way but I have no idea how. I'm trying to fix a bug in JCF2, the code
formatting tool of lazarus.

I thought the best way to do this is make the changes to these files,
recompile the IDE and see if it is fixed.

Therefore I started lazarus (a recent svn version that works just fine
with all my other projects), opened the lazarus project lazarus.lpi and
then in an editor window opened the file
"C:\lazarus\components\jcf2\IdePlugin\JcfIdeMain.pas" as a starting
point to find my way through this big bunch of code to find all the
other parts of this puzzle. Since JCf2 is part of the IDE and compiled
in, all of its files should belong to the project, right? Wrong!

Whenever I try to do any "find definition" in this file I immediately
get the following error:

C:\lazarus\components\jcf2\IdePlugin\JcfIdeMain.pas(34,5) Error: include
file not found "JcfGlobal.inc"

I have tried to use the project/compiler options to add include paths, i
have tried the project inspector to add the file *itself*, i have tried
almost any of the dozens of paths all across the project and IDE
configuration dialogs but it just won't find this file.

What am I doing wrong?

1) where does it search for files when I do a "find declaration" and how
can I influence this? Are there any documents I should read? Are there
any documents at all?

2) what would be the correct way of doing what I am trying to do?

Bernd
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFLdmyJxT6R4jlFoh0RAijpAJ9vBEk+d24nO9P3y3c5CP6XCg2etACffLVI
ql/SjQNNmIL9Xcn4rBicggw=
=5BHA
-----END PGP SIGNATURE-----

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to