Hi Jan! I think I've read that there are no ways for us to modify the code explorer window at the moment. What would be involved in adding these commands to hook to the Code Explorer into the PSPad scripting commands?
The reason I end up wanting these things it because I work with a game-engine specific scripting language and the mel/Maxscript languages a lot, and they probably won't ever be covered by the default code explorer. I imagine in the Code Explorer that every item needs an item index for the parenting, or something like that. CE_Clear() - clears the code explorer CE_AddItem( type, parentIndex, name, lineNumber ) - Adds an item labelled "name" to the code explorer of the specific type as a child item to the parentIndex item. Then when you click on the item it goes to the specified line number. Types = (1 = folder, 2 = function, 3 = event...) I guess this is mostly to get the icon right. I don't think we'd need more than those two commands - I think we could handle re-synching it and anything else through the functionality already in the scripting language. Just a thought, anyway. Awesome app, Jan! -- <http://forum.pspad.com/read.php?2,37195,37195> PSPad freeware editor http://www.pspad.com
