>Ultimately I would like to modify the way that beautify works but what annoys me most is the fact that I have to select a menu and then the beautify function. It would also be nice to be able to comment and uncomment code like .NET. Do you have any suggestions?
Well, you may try to look at
http://www.foxclub.ru/sol/index.php?act=view&id=526 I haven't looked at it myself and I suspect that the comments to the code are in Russian.
If it's not broken, fix it until it is.
My Blog