Thanks for the info. Well I have had a go at a XML comment script, and it kinda works. But only for simple stuff at the moment, like for example:
If the next non-empty line is a 'class' or a 'variable' declaration the script adds: /// <summary> /// /// </summary> If the line is a function it adds the summary bit and additionally adds: /// <param name="xxx"></param> for each of the parameters between the '()' characters, with xxx as the parameters name. It doesn't support return values yet, and most likely needs a lot of debugging anyway. But at least I have a nice start. It also tries to indent the comment bassed on the line that is being commented, so that they line up nicely. But I have seen it go wrong a couple of times (specifically with multiple tabs or something I think), so I still need to debug that as well. Anyway thanks again for the nudge in the correct direction. Still wouldn't mind a 'string trigger' as well as the assigned shortcut key of course... <wink> <wink> :) Mantheren -- <http://forum.pspad.com/read.php?2,42063,42081> PSPad freeware editor http://www.pspad.com
