> Martin Frb <laza...@mfriebe.de> hat am 10. Februar 2014 um 14:08 geschrieben: > [...] > > I don't understand the "IDE directories" in "Paths": > > >> > > The IDE has one set of search paths for every directory. That means a > > package can have different search paths than the active project. > > << > > Here "directory" is not clear, sounds like a recursive definition? > > I guess it means "package directory". Then the sentence reads ok.
Actually, it means directory - any directory. A package can have source files in many directories. The search paths of a package are used for all files in all directories of a package. Same for projects. The IDE has one set of search paths (unit search path, include search path, sources search path) for each directory. It creates these sets on demand. Whenever a file is parsed the IDE looks up its cache. If this is the first time that a file in that directory is parsed, the IDE collects all settings and calculates the search paths and compiler options. This data is not stored on disk. > IMHO it should be > > The IDE has one set of search paths for every package and project. > > That means a package can have different search paths than the active > > project. That is true too. If you think that is less confusing please change it. Mattias -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus