Search found 5 matches

by fred_kidd_iv
Wed May 16, 2007 4:13 pm
Forum: General
Topic: 'Find in Files' search: exclude files?
Replies: 1
Views: 239

Shai-kun,

Try changing the "in Files:" to the file extensions of the source code in question. For example, my C++ searches always use "*.cpp *.c *.cxx *.h *.hxx *.hpp".

Fred
by fred_kidd_iv
Fri Mar 23, 2007 2:03 pm
Forum: General
Topic: Textpad 5: Replace Macro No longer works
Replies: 7
Views: 816

Thanks again for pointing out my replace expression was incorrect. I had a chance to look at it more and found one that works (i have swapped to POSIX): ^(.+ / )([0-9]+)$ By adding the /, i make sure it grabs all of the numbers at the end. So this: /vobs/vob_name/subdir/MySourceFile.cpp@@/main/my ...
by fred_kidd_iv
Wed Mar 21, 2007 9:02 pm
Forum: General
Topic: Textpad 5: Replace Macro No longer works
Replies: 7
Views: 816

Yes. I see the problem now. :oops: I have not run into the problem with my regular expression because at most, i have 3 versions per branch. But the one time i get more then that, it will have a problem. I will work on making a better expression that will match just what i need. For now though, i am ...
by fred_kidd_iv
Wed Mar 21, 2007 5:03 pm
Forum: General
Topic: Textpad 5: Replace Macro No longer works
Replies: 7
Views: 816

Yes, i did have a bug in the expression i submitted. The expresion i used was formatted correctly ( i did have a backslash on the last paren). Now having the search window up before i run the macro, it does work. I recorded a new macro that had the "F8" to open the replace window before doing the ...
by fred_kidd_iv
Wed Mar 21, 2007 3:26 pm
Forum: General
Topic: Textpad 5: Replace Macro No longer works
Replies: 7
Views: 816

Textpad 5: Replace Macro No longer works

I have used a replace macro for over a year in textpad 4. Textpad 5 did not understand the new macro. So i re-recorded it. The macro does the following: 1) Presses Ctrl Home 2) Types "#language: c\n#olddir: /\n#newdir: /\n" 3) Replaces ^\(.+\)\([0-9]+)$ with \10\t\1\2 note, \10 is \1 followed by a 0 ...