On Di, 2016-02-09 at 18:46 -0500, Anthony Walter wrote:
> Ralf,
> 
> A couple of points.
> 
> 1) As I explained there are times when I, and probably other people as
> well, need to find the declaration of a function, constant, record, or some
> other identifier. We may not know if the function even exists or has been
> declared in Pascal, for example when attempting to use specific APIs
> dependent on some external library. In those case my approach is often to
> search (grep) files under either my lazarus or fpc folder. If there is some
> better way please to find these identifiers, which are not in the help
> systems, please let me know.

If you are using Lazarus:
- put the cursor inside the indentifier
- use right mouse key
- klick "find declaration of ..." or use key combination ALT-UpArrow

When on the console, I don't know. Searching would have to be done with
the OS and target cpu in mind, because in many cases that's what
switches included files. I did not try yet.

There hsa been a thread on the lazaurs list lately, handling the topic
of "navigating huge files" or similar. There is a lot of info about what
lazarus can do for you regarding search and navigation.

-- 
Marc Santhoff <m.santh...@web.de>

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to