En/na Mantis Bug Tracker ha escrit:
> The following issue has been RESOLVED. 

I hate it when you cannot add a note to a closed bug >:-(


> ---------------------------------------------------------------------- 
>  (0022497) Luca Olivetti (reporter) - 2008-09-29 17:09
>  http://bugs.freepascal.org/view.php?id=12254#c22497 
> ---------------------------------------------------------------------- 
> I see the same message the 3rd time I ctrl+click on an identifier if it has
> to open the unit:
> 
> 1) first ctrl+click over, e.g. TStringGrid, opens the unit grids.pas ok
> 2) I close the tab with grids.pas
> 3) ctrl+click on the same identifier, again it opens grids.pas ok
> 4) close the tab again
> 5) ctrl+click again, it opens the tab but it's empty and I see the same
> error (C:\lazsvn\lcl\grids.pas(-1,0) Error: no pascal code found (first
> token is )
> 
> from this point every ctrl+click on any identifier (even identifiers
> declared in the same unit) will bring up the same empty tab and the only
> way out is restarting lazarus (closing and reopening the project has no
> effect). 

With revision 16806 this doesn't happen anymore *but* every other 
ctrl+click puts the cursor at the beginning of the unit instead of where 
TStringGrid is declared, i.e. at step 5) the tab is correctly opened 
with the full content of grids.pas but the cursor is on the first line 
of the unit.

Bye
-- 
Luca Olivetti
Wetron Automatización S.A. http://www.wetron.es/
Tel. +34 93 5883004      Fax +34 93 5883007
_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to