Some feature suggestions

Ideas for new features

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
Sebastian Mares
Posts: 4
Joined: Sun May 29, 2005 5:39 pm
Location: Germany
Contact:

Some feature suggestions

Post by Sebastian Mares »

Hi!

I love TextPad and the only thing that is keeping me from buying a license is the very slow development. Anyways, here are some things that I would like to see in the next version - most of them are already in TextMate for Mac OS X:
  • Comment multiple lines of code at once and differentiate between various languages (maybe addition to the syntax highlighting?)
  • Support for code snippets
  • This one is hard to describe :P - I would like to be able to type in "HelloWorld", press a custom key combination and the program automatically changes "HelloWorld" to something like "function HelloWorld(arg1) { }", selects "arg1" and moves the cursor to it so I can start editing the arguments. After that, pressing CTRL+TAB maybe or something and jump between "{ }" so I can type in the code for the function. Or instead of letting the user associate multiple key combinations for various actions, you could let the user type something like "_fnct_HelloWorld" and then press a key combination that is defined by TextPad and TextPad changes "_fnct_HelloWorld" to "function HelloWorld(arg1) { }"; type in "_msgbox_HelloWorld", press the key combination and TextPad changes to "MessageBox 'Hello World'". I hope you understand what I mean.
Here is a cool video demonstrating what I mean with the last feature suggestion: http://blog.mattmecham.com/blogimages/textmate.mov
It's by the Invision Power Board developer Matt Mecham (TextMate).
There are 10 types of people in this world: those who understand binary, and those who don't.
User avatar
MudGuard
Posts: 1295
Joined: Sun Mar 02, 2003 10:15 pm
Location: Munich, Germany
Contact:

Post by MudGuard »

For your first wish: it should not be too hard to write macros for that (just replace the line start ^ with the single line characters for the specific language - // or # should cover quite a lot of languages)

regarding code snippets: did you test the Textpad Clip Libraries?

In part they could also be a help for your third wish.
User avatar
talleyrand
Posts: 624
Joined: Mon Jul 21, 2003 6:56 pm
Location: Kansas City, MO, USA
Contact:

Post by talleyrand »

On #3, perhaps a macro or a set of macros could be developed to meet your needs?
I choose to fight with a sack of angry cats.
Sebastian Mares
Posts: 4
Joined: Sun May 29, 2005 5:39 pm
Location: Germany
Contact:

Post by Sebastian Mares »

Thanks for the suggestion guys!
There are 10 types of people in this world: those who understand binary, and those who don't.
Post Reply