Search found 1516 matches

by Bob Hansen
Fri Sep 04, 2009 12:48 am
Forum: General
Topic: Deleting text after a certain line number
Replies: 5
Views: 351

If the line has a keyword at the end, then you can use RegEX to delete that line. Not sure if you wanted to delete the next line, or all of the following lines. This will not work for multiple lines unless they all have the same keyword. Search for: ^.*keyword\n Replace with: nothing ...
by Bob Hansen
Thu Sep 03, 2009 4:14 pm
Forum: General
Topic: Deleting text after a certain line number
Replies: 5
Views: 351

The suggestion for easy manual delete is good, but I think he wants to avoid going to the line to select it for deletion. It could be done with RegEx but would require putting the exact number of \n chars from the cursor position since TextPad RegEx is line based. Maybe WildEdit would do a better ...
by Bob Hansen
Thu Sep 03, 2009 4:08 pm
Forum: General
Topic: Customize toolbar
Replies: 3
Views: 383

When making configuration changes I find it best to follow these steps, especially for any changes in Classes: 1. Close all other copies of TextPad. 2. Close all open documents, INCLUDING THE DEFAULT NEW BLANK DOCUMENT. 3. Make the changes you want: Configure/Preferences/...... 4. Apply and OK your ...
by Bob Hansen
Thu Sep 03, 2009 4:06 pm
Forum: General
Topic: How do I add multiple user macros to the toolbar?
Replies: 7
Views: 723

From the Main Menu: Configure/Preferences/Macros Select the macros in the left column and add them to the column on the right side. Apply and OK your way out. You should now see your macros on the Main Menu/Macros drop down. ======================== When making configuration changes I find it best ...
by Bob Hansen
Sat Aug 29, 2009 2:17 am
Forum: General
Topic: How to sort this list by date?
Replies: 2
Views: 273

1. Do multiple replaces first. Replace month range with a two digit number, ie: Mar/April becomes 03 or 04 2. Use Regex to realign date components Find for xx\year Replace with year\xx 3. Move date component year\xx to beginning of line using RegEx 4. Now you can do the sort. 5. After the sort you ...
by Bob Hansen
Fri Aug 28, 2009 4:42 am
Forum: General
Topic: RTF Search
Replies: 5
Views: 267

Does not sound like a problem. You could probably modify the RegEx to have different ones for multiple imbedded data groups. Assume three imbedded data groups: You would run the group 3 retrieve data RegEx first, write it somewhere, and delete that group Then run the group 2 retrieve data RegEx ...
by Bob Hansen
Fri Aug 28, 2009 1:38 am
Forum: General
Topic: Syntax Highlight Capitalized Words
Replies: 1
Views: 163

NO.

Only complete words or individual standalone letters. Other chars can be included as part of words, but think of space char as a default delimiter. No case sensitivity, no RegEx/wildcard capability.
by Bob Hansen
Fri Aug 28, 2009 1:24 am
Forum: General
Topic: RTF Search
Replies: 5
Views: 267

Does this work for you? This will find everything inside and including the braces {....}. Find what: \{\\\*\\.[^}]*} ============================ Add ( ) to isolate just the text without the lead chars and the closing } Find what: \{\\\*\\ ( .[^}]* ) } This string can now be used in replacement as ...
by Bob Hansen
Thu Aug 27, 2009 7:45 pm
Forum: General
Topic: RTF Search
Replies: 5
Views: 267

To find thie: {\*\falt Times New Roman} do this: 1. Find what: \{\\\*\\falt Times New Roman\} Use the following settings: ----------------------------------------- [ X ] Regular expression "Find Next" or "Mark All" ----------------------------------------- Configure | Preferences | Editor [ X ] Use ...
by Bob Hansen
Fri Aug 21, 2009 3:22 am
Forum: General
Topic: How may I abort the execution of a tool...
Replies: 8
Views: 358

Sorry, I don't know of any "silver bullet" to close unknown commands in a batch file. CTL-ALT-DEL to the Task Manager would be my best guess. Perhaps someone else will come up with a solution for you. If you remove the check mark to "Capture output", then you may be able to see the windows of the ...
by Bob Hansen
Fri Aug 21, 2009 2:37 am
Forum: General
Topic: How may I abort the execution of a tool...
Replies: 8
Views: 358

It looks like you are running a batch file named "Do 4 Make.bat". So, more info is needed. So now, it depends on what is inside the batch file. How many lines are there, and what are they doing? Which one are you trying to halt? What are you trying to stop? For example, your batch file could be ...
by Bob Hansen
Fri Aug 21, 2009 2:23 am
Forum: General
Topic: Failure of xcopy on DOS tool
Replies: 1
Views: 87

What happens if the Tool executes the batch file vs. the direct command?
by Bob Hansen
Fri Aug 21, 2009 1:58 am
Forum: General
Topic: How may I abort the execution of a tool...
Replies: 8
Views: 358

Not enough information. "It is a DOS command" is still rather vague. Is there some reason you cannot provide the exact command, with parameters, etc? Are you taliking about a command in the MS-DOS Command Shell? Is it an internal DOS command? Is is an external DOS command? Is it not a DOS command ...
by Bob Hansen
Fri Aug 21, 2009 12:43 am
Forum: General
Topic: Advantage of Textpad?
Replies: 5
Views: 977

I must be older, because I recall Edlin, the line editor, don't remember Ed Line. Not only that, but Edlin is still resident in XP PRO for use by some of us diehards (also known as workharders). From a command line, enter edlin c:\temp\filename.txt and go to work. Enter "?" to get a list of the ...
by Bob Hansen
Thu Aug 20, 2009 8:23 pm
Forum: Enhancement Suggestions
Topic: Scrolling Region Settings
Replies: 2
Views: 197

Until is a feature, perhaps you can use split screen?