[Lazarus] Getting help for a type if its unit is not in uses

Marco van de Voort marcov at stack.nl
Sun Feb 9 15:45:18 CET 2014


On Wed, Feb 05, 2014 at 12:25:18PM +0100, Mattias Gaertner wrote:
> > Are there any ideas for improving this situation for people that know 
> > that there is an identifier in the RTL, FCL, whatever, but don't know 
> > which unit it resides in? E.g. Lazarus did scan the FPC sources, 
> > couldn't it keep an identifier->unit index?

> It only scanned the directories for file names. This alone can take
> minutes on slow disks/networks.
> There are currently two identifier->unit indices.

You could also try to lookup in CHM index. Lookup symbol, and then
parse path of the html to get the unit (due to fpdoc structure)
 
Since the CHM indices are already sorted, this should be doable quickly
after the initial decompression.




More information about the Lazarus mailing list