[fpc-devel] Lazarus mixes the mouse-over source files

ABorka fpc-devel at aborka.com
Sat Feb 21 20:45:47 CET 2009


Hi,

I stumped into a little confusing part regarding how it is determined 
what source and unit files are used by Lazarus and the FPC compiler.

By moving my mouse over a function/procedure call, Lazarus displays the 
source code file where that item is declared.
However, it seems that if there are multiple declarations exist for that 
item in the packages/fpc source/etc. directories then the editor can 
select different files to show in the hint even within the same editor 
file.
The attached screenshots are two hints displayed for the same source 
code file for two calls and Lazarus shows two different source code 
files for both.
1. the call "apr_table_get(" shows the httpd20 directory
2. a few lines later the call "ap_get_remote_host(" shows the httpd13 
directory

from the FPC SVN sources.

The question is how to make Lazarus/FPC use the httpd22 directory both 
for the mouse over hints and during compilation? (usually one is 
developing something for only one Apache version at a time)

Thank You.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1.gif
Type: image/gif
Size: 11046 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20090221/5d18a50e/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2.gif
Type: image/gif
Size: 7653 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20090221/5d18a50e/attachment-0001.gif>


More information about the fpc-devel mailing list