[Lazarus] Find declaration bug?

Mark Morgan Lloyd markMLl.lazarus at telemetry.co.uk
Sat Sep 29 22:09:18 CEST 2012


patspiper wrote:
> Hi,
> 
> I am not sure if this is the intended behaviour, and hence my post.
> 
> Under Ubuntu 11.04:
> 
> Create a new project, set its Target OS (Code Generation) to win32 and 
> set LCLWidgetType to Win32 in IDE Macro Values. Add unit seri and try 
> autocomplete. Code Tools will not suggest anything as expected since the 
> FPC serial unit is unix only. Complete it manually to serial. Hovering 
> the mouse over 'Serial' will show the hint:
> unit
>  Serial
> /home/me/Programs/fpc/fpsrc/exported/2.6.1/rtl/unix/serial.pp(5,6)
> 
> Right clicking / Find Declaration will open the serial unit, when it is 
> not available for Win32. Right click/Open File at Cursor opens it too as 
> expected. Should Find Declaration open it in the first place?

I submitted a patch which added Windows support about a year ago. Hasn't 
been applied.

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]




More information about the Lazarus mailing list