Search found 32 matches

by troels_kn
Sun May 20, 2007 6:58 pm
Forum: Tips
Topic: macro for commenting/uncommenting multiple lines
Replies: 0
Views: 3804

macro for commenting/uncommenting multiple lines

In C-like languages (Including PHP and Java), you often have to comment out a block of text, and you can't always use the block-type comments /* */ because they don't nest. For this purpose, I have a macro, which comments out the selection, and a counterpart, which does the opposite. To implement: S...
by troels_kn
Sun May 20, 2007 6:30 pm
Forum: Tips
Topic: macro for next/previous function
Replies: 0
Views: 3774

macro for next/previous function

I'm mainly using Textpad for writing PHP, and I have found the following macro quite useful. It simply jumps to the next function in the file (And its counterpart jumps to the previous function). It's a quick way to navigate in large files: To implement it: Start with a file, where there is a functi...
by troels_kn
Mon May 14, 2007 8:28 pm
Forum: Enhancement Suggestions
Topic: Enhanced bracket matching.
Replies: 3
Views: 195

Nicodareus wrote: Aha.. Well.. That was 4 years ago. I feel it's worth rementioning. It's an extremely invaluable feature that I can't believe has gone unfathomed for so long.
I wholeheartedly agree.
by troels_kn
Mon May 14, 2007 7:44 am
Forum: Enhancement Suggestions
Topic: Enhanced bracket matching.
Replies: 3
Views: 195

by troels_kn
Wed May 09, 2007 8:51 pm
Forum: General
Topic: Recorded Macros
Replies: 2
Views: 284

Go to: Configure > Preferences > Folders
That'll show you where macros are stored.
by troels_kn
Mon May 07, 2007 10:23 am
Forum: Enhancement Suggestions
Topic: A few suggestions for improving tools
Replies: 0
Views: 1173

A few suggestions for improving tools

I have a few suggestions for how to improve on the tools feature of textpad, which with rather simple changes would make it possible to script textpad to a great extend, without having to embed a scripting engine directly into textpad. First thing is to allow tools to return a textpad-macro (*.tpm),...
by troels_kn
Sun May 06, 2007 9:28 pm
Forum: General
Topic: match variable number of words
Replies: 4
Views: 357

Code: Select all

Ideas:\(.*\) by \(.*\)
Should do. Regex' can't span linebreaks though, unless you know exactly how many there are. For example, if the text is always presented as:

Ideas:
A History of Thought and Invention, from Fire to Freud by Peter Watson

You can use this regex:

Code: Select all

Ideas:\n\(.*\) by \(.*\)
by troels_kn
Wed May 02, 2007 2:07 pm
Forum: Enhancement Suggestions
Topic: Incremental Search
Replies: 12
Views: 1842

+1
by troels_kn
Wed May 02, 2007 1:30 pm
Forum: Enhancement Suggestions
Topic: white is to strident for the doc tab
Replies: 1
Views: 99

They do look a bit wrong somehow.
by troels_kn
Wed May 02, 2007 1:28 pm
Forum: Enhancement Suggestions
Topic: Code folding
Replies: 28
Views: 4946

I wouldn't use this feature, and if it was possible, I would turn it off. So if it's ever implemented, I would prefer if it was optional.
by troels_kn
Wed May 02, 2007 1:26 pm
Forum: Enhancement Suggestions
Topic: Auto Complete Please
Replies: 2
Views: 260

Maybe it could be implemented as automatically calling an external tool, with the current (incomplete) word as argument, after X seconds (Or at a key-combination).

Then again - this might be a rather inefficient solution.
by troels_kn
Tue May 01, 2007 11:26 pm
Forum: General
Topic: tools output jump to file
Replies: 0
Views: 602

tools output jump to file

Hi

Is it possible to jump to the first (only) result of a file/line/column, without the need to explicitly double click it in the tool output window?

Also, is it possible in these cases to not show the tool output window?

Thanks
by troels_kn
Tue May 01, 2007 10:12 pm
Forum: Tips
Topic: Macro for html, xml, etc. any file with <markup></m
Replies: 4
Views: 4345

If you don't use POSIX type regexp, you can instead use This for search and replace, respectively:

Code: Select all

[ ]?>
>
by troels_kn
Tue May 01, 2007 9:39 pm
Forum: Enhancement Suggestions
Topic: Matching Brace Highlight
Replies: 3
Views: 339

Can I just add my vote for this feature. It's one of the few things, I'm really missing in textpad.
by troels_kn
Thu Mar 22, 2007 12:23 pm
Forum: General
Topic: Textpad 5.0 discussion
Replies: 54
Views: 12499

Re: Not Dead Yet!

devdanke wrote: It would be great if Helios would post a roadmap of features planned for the v5 series of releases.
I just want to second that suggestion. A roadmap would help to prevent frustration, and would open up for a less speculative debate at these forums.