Page 1 of 1

View of function headings

Posted: Fri Oct 20, 2000 10:22 am
by Steve Aldrich
Does TextPad have the feature where I can view all the function headings in the file in a separate window? I want to see the function names in a separate window, then click the function name and go right to it in the edit window.

RE: View of function headings

Posted: Fri Oct 20, 2000 4:21 pm
by Rajesh Kini
Try ShowMethods Utility for Java source file in Utilities download for Textpad
http://www.textpad.com/add-ons/index.html

I guess you can change the ShowMethods java prog a bit for any other language

Kini

RE: View of function headings

Posted: Fri Oct 27, 2000 6:51 am
by David Vanden Heuvel
Another way is to use CTAGS.
see http://www.textpad.com/support/tips.html

you can modify this a bit to do what you want by changing the parameters line to:
ctags -x -R $File| grep "method"

Initial folder: $Filedir

This method can be used to list classes, macros, functions, etc.
by replacing "method" with the corresponding keyword.

regards,
David.