This plugin will lists all classes and functions available for calling directly from plugins.
Note: the script tree is very slow during initialization and resizing so you might want to keep the panel closed during every-day use and just open it when you need it for reference.
Updates:
Version 1.1 - fixes panel visibility detection
Version 1.2 - small fix
Plugin: Script Tree for plugin writers
Plugin: Script Tree for plugin writers
- Attachments
-
- scripttree.zip
- (1.49 KiB) Downloaded 2019 times
Blumentals Software Programmer
Re: Plugin: Script Tree for plugin writers
Great plugin! "The missing manual" 
I found a couple bugs:
1) Dockpanel is blank if any other plugin running is creating a dockpanel in same location.
Try installing your own "docktest" test plugin. Then close and reload editor.
2) Some properties and procedures are listed multiple times.
Try expanding "TEdit", and you'll see "CopyToClipboard" 5 times. (Seems like it's the same block of properties/procedures that gets repeated)
Suggestion:
Add a search box, so you can search for properties/procedures etc.

I found a couple bugs:
1) Dockpanel is blank if any other plugin running is creating a dockpanel in same location.
Try installing your own "docktest" test plugin. Then close and reload editor.
2) Some properties and procedures are listed multiple times.
Try expanding "TEdit", and you'll see "CopyToClipboard" 5 times. (Seems like it's the same block of properties/procedures that gets repeated)
Suggestion:
Add a search box, so you can search for properties/procedures etc.
There are 10 types of people in the world: Those who understand binary and those who don't.
Re: Plugin: Script Tree for plugin writers
(1) Nice catch, I'll update the plugin. Apparently panel.Visible is not the same as panel.PanelVisible and the latter has to be used in this case for checking whether user has closed the panel.
(2) I think I know what causes this, I'll see if that can be fixed.
(2) I think I know what causes this, I'll see if that can be fixed.
Blumentals Software Programmer
Re: Plugin: Script Tree for plugin writers
Apparently "ready" signal is not fired when plugin is just installed. Will be fixed in next release.
Blumentals Software Programmer
Re: Plugin: Script Tree for plugin writers
Small bug.
In line 29:
panel.PluginVisible
Shouldn't that be:
panel.PanelVisible
Btw: Is it possible to extend it so it also shows the available events? (onClick, onEnter etc.)
In line 29:
panel.PluginVisible
Shouldn't that be:
panel.PanelVisible
Btw: Is it possible to extend it so it also shows the available events? (onClick, onEnter etc.)
There are 10 types of people in the world: Those who understand binary and those who don't.
Re: Plugin: Script Tree for plugin writers
Fixed!
It does show the events, just as you already noticed the script tree does not show properties that are inherited from parent classes so (at least for now) you should look at the class and its ancestors to get the full picture.
It does show the events, just as you already noticed the script tree does not show properties that are inherited from parent classes so (at least for now) you should look at the class and its ancestors to get the full picture.
Blumentals Software Programmer
- Will Fastie
- Posts: 160
- Joined: Mon Jan 31, 2005 6:47 pm
- Location: Timonium, MD USA
- Contact:
Re: Plugin: Script Tree for plugin writers
+1. That's a handy tool for plug-in developers.
Will
WebDesignBuild.biz, Fastie.com
WebDesignBuild.biz, Fastie.com