>>I'd like it to do it "around the selected text"
Unfortunately that isn't possible.
It is only shown if 'markup is on' but apart from that the only option is for Admins - 'if you don't want it, don't use it'. I suppose I could put in an on/off option in the editdisplay section of the Profile - that's a good idea.
If you used combo boxes you'd lose the visual reminder and it wouldn't really be 'one-click' any more.
Yes, the code is available at: <A HREF="http://www.amdragon.com/cgi-bin/wwwthreads/showthreaded.pl?Cat=&Board=hack&Number=1039" target="_new">http://www.amdragon.com/cgi-bin/wwwthreads/showthreaded.pl?Cat=&Board=hack&Number=1039</A>
<img src="http://www.amdragon.com/images/eileensig.gif" alt=" - " />