Search found 11 matches

by schnitzi
Tue Aug 09, 2005 6:55 am
Forum: General
Topic: sort by line lenght ?
Replies: 1
Views: 378

You can highlight the line and then go Edit | Insert | Statistics. That will put in the number of characters, words, and lines in that line. You could theoretically do that for each line then sort on that information and later remove it. Maybe all as part of a macro.
by schnitzi
Tue Feb 03, 2004 6:27 am
Forum: Java
Topic: command line args
Replies: 2
Views: 851

s_reynisson wrote:Configure->Preferences->Tools->Run Java Application

He meant to tell you to click the "Prompt for parameters" box there. ;-)
by schnitzi
Tue Feb 03, 2004 6:24 am
Forum: Java
Topic: Run Java Application
Replies: 2
Views: 1005

Re: Run Java Application

Everytime I run a Java Application in TextPad it creates a batch file that is linked to the program I am running, I am using Windows XP. Is there a way to stop this?


What do you mean, "creates a batch file"? Are you just talking about the popup window (with the black background) that's created ...
by schnitzi
Fri Jan 30, 2004 3:25 am
Forum: General
Topic: How to update text in a file from a program (Tool)
Replies: 1
Views: 547

Re: How to update text in a file from a program (Tool)

Seems to me you would have to pass $File as well as $Sel. Then
have your program look for the selected text in the file, do whatever
modifications to it, then write the file back out. TextPad will then
warn you with something like "Another application has modified this
file; reload it?".

If you ...
by schnitzi
Wed Jan 28, 2004 3:42 am
Forum: General
Topic: Search Question
Replies: 4
Views: 634

Re: Search Question

dforrest wrote:Can I use TextPad to find files NOT containing a particular string?

How can you use TextPad to do that? Use it to write a program
that does it. ;-)

Seriously, I think that may be the only way...
by schnitzi
Fri Jan 23, 2004 6:29 am
Forum: General
Topic: tidy HOW-TO issue
Replies: 12
Views: 1947


Just so I'm understanding the tool setup line column logic, in the reg exp I'm giving it the since I've got line setup as 1 it uses the value that returns in the first set of parens via ^line \([0-9]+\), where the \( and \) place ( and ) in the return - is this correct?



That is correct, and 2 ...
by schnitzi
Thu Jan 22, 2004 2:23 am
Forum: General
Topic: tidy HOW-TO issue
Replies: 12
Views: 1947


Hmm, it looks right. Something I always try in these situations:
copy and paste this "Regular expression to match output" into a
regular old search window, and see if the search finds these output
lines your are talking about. Remember to click "Regular expression"
on the Search popup. You can ...
by schnitzi
Thu Jan 22, 2004 2:19 am
Forum: General
Topic: tidy HOW-TO issue
Replies: 12
Views: 1947

trying it with adding a space after so that it looked like this:

'^line ([0-9]+) column ([0-9]+) ' (without the ' )

as well as without the extra space at the end of the line

still doesn't match the column


Hmm, it looks right. Something I always try in these situations:
copy and paste this ...
by schnitzi
Wed Jan 21, 2004 7:52 am
Forum: General
Topic: tidy HOW-TO issue
Replies: 12
Views: 1947

Re: tidy HOW-TO issue

setup tidy support per the howto at http://textpad.com/forum/viewtopic.php?t=4768

I get a "cannot jump to item under the cursor" when I doubleclick on the result in the Command Results tab after running the tidy tool to link me back to the correct spot in the source. I've confirmed that my setup ...
by schnitzi
Mon May 12, 2003 9:22 am
Forum: General
Topic: Opening Multiple files
Replies: 1
Views: 592

Not sure what's causing the first part, but you can prevent the second part by going to Configure | Preferences | General and un-checking "Allow multiple instances to run".

Or, if you'd rather be able to run multiple instances, you can drag and drop the new batch of selected files into the textpad ...
by schnitzi
Mon May 12, 2003 8:41 am
Forum: General
Topic: Classpath not referenced by TextPad
Replies: 2
Views: 467

I believe what happens is this. When TextPad starts, it loads and stores the environment variables. This is what nearly every application I've ever seen does. Changes made to the environment variables after starting TP will not be picked up, unless you restart TP. This is because there is no system ...