Page 1 of 1

Tool set for each document class

Posted: Tue Jun 07, 2005 9:12 am
by stevecooper
I've been using textpad for a while now, and I'm using it more and more. However, I'm making a lot of use of the Tools menu, and it's getting cluttered. Worse, many options are totally inappropriate, because they are for the wrong kind of file.

For example, I have a 'tidy XML' option, but that only works if I'm looking at an XML file.

Would it be possible to assign tools to particular document classes, then only have them visible on the Tools menu if the right kind of file is available? So, if I'm looking at an HTML file, my options would be;

1. Tidy HTML
2. View in Browser

and if I'm looking at a .c file, I get

1. Compile with gcc

Steve.

Posted: Tue Jun 07, 2005 9:16 am
by stevecooper
An alternative way to do it; Take each of the actions defined in Windows Explorer, and dynamically add them to the Tools menu.

So, your tools menu has the same options you get if you right-click in windows explorer.

It sounds like you'd get a lot of 'free' functionality without changing your TextPad setup.