Hi,

See the attached screenshots showing a comparative Procedure List result
for the same unit with the same search term. The one screenshot is of
Maximus IDE, and the other is from Lazarus IDE.

Lazarus IDE’s Procedure List uses CodeTools to find and populate the
ListView, but it doesn’t find any nested procedures or functions.

eg:

  TMainForm.SomeMethod;
  var
    x,y: integer;

    procedure LocalProc;
    begin
      // some code here
    end;

  begin
    // some code here.
  end;

Lazarus’s Procedure List will not find the LocalProc procedure. The code
to populate the ListView is here…

  procedure TProcedureListForm.PopulateListview;

in the <laz>/ide/procedurelist.pas unit.

Anybody with more CodeTools knowledge than I know what should be changed
to find such nested procedures or functions?


Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp
-- 
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to