Search found 1516 matches

by Bob Hansen
Sat Aug 23, 2003 7:28 pm
Forum: General
Topic: help with regular expression
Replies: 3
Views: 352

POSIX or not? From the Main Menu select, Configure, Preferences. Left Click on Editor. There is an option to "Use POSIX regular expression syntax." I think the default is unchecked, not using POSIX. So, you can try this for Non-POSIX replacements: =================================== Search for ...
by Bob Hansen
Sat Aug 23, 2003 6:44 pm
Forum: General
Topic: MACROS -- Macro Scheduler
Replies: 2
Views: 250

Hi mo..... Macro Scheduler can be used to run TextPad. Here is an excerpt from a Macro Scheduler script (can be edited) that is used to open TextPad and open a file that is downloaded weekly from an ftp site. I then call a TextPad macro that parses the file and saves it. I then close TextPad when ...
by Bob Hansen
Fri Aug 15, 2003 5:05 pm
Forum: General
Topic: select entire line
Replies: 2
Views: 210

Double click, not single click. But note, the selected section is the ine, not the paragraph, so be sure about your word wrap setting. Word wrap must be off to select a full paragraph by double clicking the line number.

Hope this helps...................good luck,
Bob
by Bob Hansen
Fri Aug 15, 2003 4:54 am
Forum: General
Topic: Indenting The First Line In A Paragraph
Replies: 11
Views: 1287

Hello Grizzly............ You wrote: I want the first line in every paragraph to be indented. :idea: Try this: Search: \(^.+\) Replace: \t\1 ============================= Explanation of Search Regex String: \( = start of first tagged expression ^ = start at the beginning of the line . = any ...
by Bob Hansen
Fri Aug 15, 2003 3:34 am
Forum: General
Topic: Indenting The First Line In A Paragraph
Replies: 11
Views: 1287

:idea: Is CTRL-HOME, TAB too much work? Could make a macro to do that, but typing CTRL-HOME, TAB is probably quicker than calling up the macro to run. Not much different if macro is a hot key.

Am I missing something. :?

Do you mean to indent first line in each paragraph vs. each document? :?:
by Bob Hansen
Fri Aug 15, 2003 3:28 am
Forum: General
Topic: Inserting new lines for entier text file
Replies: 2
Views: 155

Hello ksk051182............ You asked: I want to add new lines for entire text file. Example: Hello Bob, How are you doing? I'm doing good. After inserting new lines Hello Bob, How are you doing? I'm doing good. :idea: Try this: Search:\(^.+\) Replace:\1\n =========================== Explanation of ...
by Bob Hansen
Thu Aug 14, 2003 2:59 am
Forum: General
Topic: Regular expressions - Replace one asterisk with two
Replies: 2
Views: 397

Hello boldan..... You wrote: I need to change in many SAS programs one-asterisk comments with two-asterisk comments and insert a space after the second asterisk. The comments are following a semicolon. Example, the following line: data a; *create data a; shuld change into: data a; ** create data a ...
by Bob Hansen
Tue Aug 12, 2003 7:20 pm
Forum: Enhancement Suggestions
Topic: Relative rankings of every enhancement suggestion
Replies: 85
Views: 22725

Hi Jeffy.....thanks for the continued effort on the polls. On July 27 you wrote: The first is a way to auto-populate the polll with the "standard" five-option poll, with a single button to delete all five options at once, and where the question and options can be edited by the poster. Yesterday I ...
by Bob Hansen
Tue Aug 12, 2003 7:00 pm
Forum: General
Topic: regex query
Replies: 3
Views: 356

Hello larnapairce.................... Need to replace all 7s in column 252 with 6s? :idea: Try this: Search for: \(^.\{251\}\)7 Replace with: \16 ================================ Explanation of RegEx Search Section: :arrow: \( = beginning of first grouping to isolate ^ = start at beginning of line ...
by Bob Hansen
Tue Aug 12, 2003 8:30 am
Forum: Enhancement Suggestions
Topic: Automated Poll Questions
Replies: 0
Views: 503

Automated Poll Questions

:idea: This is a first pass test of a routine to automatically fill in the "Standard" five poll questions. I am providing all five "default" options, with the choice to change the wording, but still keep the five choices, intended to keep the most desired at the top. :arrow: This was executed by ...
by Bob Hansen
Tue Aug 05, 2003 9:11 pm
Forum: Enhancement Suggestions
Topic: Drag and drop editing should be smarter
Replies: 5
Views: 1386

Just a reminder re Cut/Paste in Word: A lot of Cut/Paste issues in Word happen because "Visible Characters" are turned off. If you can see the spaces, tabs, and especially the paragraph symbol when cutting, your paste results will be better. Remember that the paragraph symbol actually contains a lot ...
by Bob Hansen
Mon Aug 04, 2003 11:53 pm
Forum: HOW-TOs
Topic: How to set Word wrap as the default.
Replies: 7
Views: 2920

I have done nothing with the dashed lines......I agree, too much confusion especilly with underscores, hyphens, colons and semicolons...... I have just disabled it. Lived without it for many years of TextPad, guess I can wait till the next release responds to the issues that have been raised. More ...
by Bob Hansen
Mon Aug 04, 2003 9:49 pm
Forum: HOW-TOs
Topic: How to set Word wrap as the default.
Replies: 7
Views: 2920

HI Webmasta......check out the following three forum threads. They cover a lot of issues with the current line highlighting. http://www.textpad.com/forum/viewtopic.php?t=4142 http://www.textpad.com/forum/viewtopic.php?t=4076 http://www.textpad.com/forum/viewtopic.php?t=4061 Hope this helps ...
by Bob Hansen
Mon Aug 04, 2003 1:43 am
Forum: General
Topic: remove leading whitespace from line of code
Replies: 6
Views: 455

Hello Webber1-6: To remove any leading Space, tab, vertical tab or form feed characters, try this: 1. Go to top of document 2. Open Search, Replace 3. Set Conditions for Text and Regular Expressions. Set Scope for Active Document 3. Search for: ^[: :]* Replace with: (leave blank) 4. Click on Replace ...
by Bob Hansen
Sat Aug 02, 2003 3:21 am
Forum: General
Topic: Regular expression quandry
Replies: 2
Views: 207

Hi Jaybird, Looks like data is on two lines. Try this to remove all in BLUE................. 1. Move cursor to top of document 2. Open Search, Replace, Select: Text, Regular expression, Active Document Search for: ^\[.*) Replace with: (Leave blank) Click on Replace All................DONE! 3. Click ...