Search found 103 matches

by Ed
Sat Dec 24, 2005 7:10 pm
Forum: General
Topic: search&replace in more files
Replies: 2
Views: 228

TextPad can do this
1. From Explorer find all files and open them all in TextPad
2. Search>Replace. \\servente\newtest\ecfiles\DIRNAME with y:\ecfiles\DIRNAME Tick the box "All documents"
by Ed
Sat Dec 24, 2005 6:41 pm
Forum: General
Topic: Find and log but not replace
Replies: 3
Views: 242

TextPad has a "Find in Files" would using this give what you want?
by Ed
Sun Dec 18, 2005 8:43 pm
Forum: General
Topic: Invisible Line Numbers
Replies: 2
Views: 154

Are you using the latest TP? I have a feeling that this was a problem with an earlier version. I have seen this problem with very long files (>100000 lines) but it is only temporary while TP works out the numbers.
by Ed
Sat May 07, 2005 1:36 pm
Forum: General
Topic: New Window feature available in TextPad ?
Replies: 5
Views: 613

Hi Hari

You said
More importantly these parts may be Tiled horizontally or Vertically depending on the structure of the code ( handle at the top of the vertical scrolbar doesnt have that flexibility).
By this time you've probably found the handle on the horizontal scrollbar.
by Ed
Mon Apr 18, 2005 2:21 pm
Forum: General
Topic: Goto Spesific Line!!
Replies: 1
Views: 149

Post an example of an error message
by Ed
Sun Apr 17, 2005 7:56 pm
Forum: General
Topic: How to Set the Default Save File Format as UNIX in Textpad
Replies: 1
Views: 116

Preferences>Document Classes>Type>"Create New Files as" Unix
by Ed
Wed Mar 30, 2005 8:00 pm
Forum: WildEdit
Topic: Replacing multiple lines with a single line.
Replies: 2
Views: 710

I think I wasn't clear enough. There are loads of other lines of code, many of which start with spaces. I only want to join lines that start WARNING and end with ; I think I left the trailing space in the example. It shouldn't be there. Having said all that I used ^( *WARNING.+?,) *\r\n replace with...
by Ed
Wed Mar 30, 2005 2:57 pm
Forum: WildEdit
Topic: Replacing multiple lines with a single line.
Replies: 2
Views: 710

Replacing multiple lines with a single line.

I want change multi-line statements to single lines - for example:

Code: Select all

WARNING( "<some text", param1,
    param2, param3,
    param4 );
to

Code: Select all

WARNING( "<some text", param1, param2, param3, param4 );
where the delimiters are WARNING and ;

any ideas?
by Ed
Sun Mar 13, 2005 2:11 pm
Forum: General
Topic: How do you kill an executing script?
Replies: 2
Views: 136

Ctrl-Break
by Ed
Mon Feb 21, 2005 6:10 am
Forum: General
Topic: increase/decrease indent strips tabs?!
Replies: 8
Views: 367

What about the "delete trailing spaces" option?
by Ed
Mon Feb 14, 2005 6:18 pm
Forum: General
Topic: REGEX Capturing multiple lines
Replies: 13
Views: 1180

It's a bit of a long shot but you might alter the last * to a + Don't forget that there should also be a \ before the . I tried the mark with a file over 300000 lines long without a problem. How big is your file? Is it really the mark that's a problem? I believe there may be a problem with line leng...
by Ed
Mon Feb 14, 2005 9:27 am
Forum: General
Topic: REGEX Capturing multiple lines
Replies: 13
Views: 1180

OK, I believe you are omitting the ( and ) around the search expression. I also made the mistake of omitting a \ before the . although that won't have made much difference. so search for ( \$[^$]+P2 \. 46[^$]*\$ ) and replace with \n\1\n Ensure Posix is set on Configure>Preferences>Editor>"Use ...
by Ed
Sun Feb 13, 2005 5:48 pm
Forum: General
Topic: REGEX Capturing multiple lines
Replies: 13
Views: 1180

I'm not sure I understand your reply, perhaps my instructions weren't clear. I should have said: with Posix regular expressions:- search for \n replace ALL with ¬ search for (\$[^$]+P2.46[^$]*\$) replace ALL with \n\1\n search (not search and replace) for (\$[^$]+P2.46[^$]*\$) and press "Mar...
by Ed
Fri Feb 11, 2005 8:35 pm
Forum: General
Topic: REGEX Capturing multiple lines
Replies: 13
Views: 1180

\$[^$]+P2.46[^$]*\$ \$ - search for $ \ means don't treat $ as an end of line marker [^$]+ - 1 or more characters that are not a $ P2.46 - match this [^$]* - 0 or more characters that are not a $ \$ - as above I believe what yo actually want is to search for everything else and delete it, whereas wh...
by Ed
Fri Feb 11, 2005 9:23 am
Forum: General
Topic: REGEX Capturing multiple lines
Replies: 13
Views: 1180

with Posix regular expressions:-
search for
\n
replace with
¬
search for
\$[^$]+P2.46[^$]*\$
finds what you want

finally replace ¬ with \n

Bur with an offer like that from talleyrand I'd take it.