Board logo

Subject: [Bug] local procedures confuse Procedure List Toolbar [Print This Page]

Author: Giel    Time: 2009-3-12 07:19     Subject: [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.
Author: Passion    Time: 2009-3-12 12:02

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.

http://www.cnpack.org/downbuilds.php
Author: Giel    Time: 2009-3-12 17:03

You're right, it works OK in 0.9.1.487 :-)

Thanks,

Giel




Welcome to CnPack Forum (http://bbs.cnpack.org/) Powered by Discuz! 5.0.0