#101 View Defined Functions in All open Files

open
Neil Hodgson
None
3
2003-10-15
2003-10-12
Peter Geoffery
No

I believe this option is critical when working over
multiple files.

Various ways it can be implemented
When File is first opened the file is scanned for
keywords which are in the properties file and these are
placed into a list window.
Then whenever a keyword is changed i.e. def, class the
window is updated with the changed. OR this could be
implemented with a Update NOW button.

This way various languages can handle this if they want
it.

Discussion

  • Neil Hodgson
    Neil Hodgson
    2003-10-12

    • priority: 5 --> 3
    • assigned_to: nobody --> nyamatongwe
     
  • Neil Hodgson
    Neil Hodgson
    2003-10-14

    • status: open --> closed
     
  • Neil Hodgson
    Neil Hodgson
    2003-10-14

    Logged In: YES
    user_id=12579

    If someone produces a good implementation of this I'll include
    it. Will not work on it myself.

     
  • Logged In: NO

    I'm Willing to work on it. But I could do with the following info.

    The following steps is what I intend to do
    1) need to create another window similar to the existing
    output window.
    2) Need to trap the open command So that the
    scandocument function scans for defines etc can be added
    to the listing.
    3) Need to trap changing document (via tabs etc) to execute
    the scandocument function
    4) Need to execute a Find Command when someone clicks on
    the new window. Similar in operation as the Output error jump
    to command.
    5) Parse properties file for language for FunctionKeywords=
    and use these for the scandocument function
    6) Trap the line number function so that when someone
    changes up or down the list a quick scan of the line against
    the FunctionKeyword list . If it matches it adds the line to
    the list.

    I am hoping you can point me in the right direction for the
    various items above. Any comments on the method of
    implemnetation in respect to the way you have coded Scite.

     
  • Neil Hodgson
    Neil Hodgson
    2003-10-15

    Logged In: YES
    user_id=12579

    1) No easy way: would need a sensible sizing policy as well as
    integrating the window.
    2,3) The extension interface (OnOpen, OnSwitchFile) can be
    used for this, at least initially. Currently only one extension is
    supported at a time.
    4) Unsure whether yiou are searching for a string or line
    number. If line number, copy double click code from
    GoMessage.
    5) Getprops.GetNewExpand("function.keywords.",
    fileNameForExtension.c_str())
    6) You can use the SCN_UPDATEUI notification like the status
    bar.

     
  • Neil Hodgson
    Neil Hodgson
    2003-10-15

    • status: closed --> open
     
  • ucmtWk <a href="http://btfhbmkgvnnz.com/">btfhbmkgvnnz</a>, [url=http://cvdltvlzphvj.com/]cvdltvlzphvj[/url], [link=http://xkmkmxjtcqyw.com/]xkmkmxjtcqyw[/link], http://pfwxymqlsbyl.com/