Hi,

Is there any wiki site or other documentation for CodeTools?  I am
trying to convert some of the GExpert tools from Delphi to Lazarus.  I
am looking at the Code Explorer in Lazarus as an example which is
helping...

Question 1:
  I need to retrieve a list of procedures and functions from the
current editor file.  Code Explorer is based an a Treeview.  The one I
am busy with is not, it will just populate a TListView with all
procedures and functions.  Does CodeTools only return a treeview
structure of the current editor file, or is there another way of doing
this?


Question 2:
  Where does Code Explorer link into CodeTools to retrieve info from
the current editor file?
>From what I can see, it looks like the code in the Refresh method:

   // get the codetool with the updated codetree
  ACodeTool:=nil;
  if Assigned(OnGetCodeTree) then
    OnGetCodeTree(Self,ACodeTool);


Is my assumption correct?


Regards,
  - Graeme -

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to