CnPack Forum » CnWizards IDE Wizards » [Bug] local procedures confuse Procedure List Toolbar


2009-3-12 07:19 Giel
[Bug] local procedures confuse Procedure List Toolbar

Please see the comments in this code:

regards,

Giel

--------

unit Unit1;

interface

type TClass1 = class
  procedure Procedure1;
  procedure Procedure2;
end;

implementation

procedure TClass1.Procedure1;
begin
  //if the cursor is here, then the Procedure List Toolbar shows:
  //| TClass1 |  |TClass1.Procedure1|
  //That's correct
end;

procedure TClass1.Procedure2;
  procedure Procedure3;
  begin
  end;

begin
  //if the cursor is here, then the Procedure List Toolbar shows:
  //| <None> |  | Procedure3 |
  //while you'd expect:
  //| TClass1 |  |TClass1.Procedure2|
end;

end.

2009-3-12 12:02 Passion
Thanks for your report. Could you download the latest nightly build version of CnWizards to test it? In my mind, it's a relatively "old" bug and should be fixed already.

[url]http://www.cnpack.org/downbuilds.php[/url]

2009-3-12 17:03 Giel
You're right, it works OK in 0.9.1.487 :-)

Thanks,

Giel

页: [1]


Powered by Discuz! Archiver 5.0.0  © 2001-2006 Comsenz Inc.