Search found 1517 matches

by Bob Hansen
Thu Dec 31, 2009 2:00 am
Forum: General
Topic: Syntax Definition File
Replies: 2
Views: 426

The currrent TextPad syntax file only works with "words" or strings delimited by space chars. Would it be possible for you to use TextPad to insert spaces around the keywords? Then they would be colored. This would be a simple process to do with RegEx if the keywords are always in a fixed ...
by Bob Hansen
Wed Dec 30, 2009 3:31 pm
Forum: General
Topic: Highlighting fixed positions within a string.
Replies: 3
Views: 174

If the positions are fixed positions, then the space chars will be included and will not be a problem. Instead of inserting spaces, you could insert other chars, like a period or an underscore Example using period, space,underscore,hyphen, and tilde as visual delimiters, using your example: @A B2109...
by Bob Hansen
Wed Dec 30, 2009 2:20 pm
Forum: General
Topic: Highlighting fixed positions within a string.
Replies: 3
Views: 174

Sorry, the answer is NO. The current syntax highlighting tools cannot do that.

But you could use RegEx to install space chars at certain fixed points so that you get something like this:

@A B2 1091130 1700 000000000 00001
@A B1 1091202 1630 000000000 00001
by Bob Hansen
Tue Dec 29, 2009 4:01 am
Forum: General
Topic: File at startup
Replies: 7
Views: 422

You may not be interested in Workspaces as they are intended, but they may be the solution to your problem. As talleyrand mentioned, if you save your document as a Workspace, then when you open that Workspace, it will open to one of the documents that is part of the Workspace. So you could create a ...
by Bob Hansen
Tue Dec 29, 2009 2:11 am
Forum: General
Topic: File at startup
Replies: 7
Views: 422

That was not a rude reply. It was non-critical, direct, and very helpful with step by step instructions. And most importantly, it was correct! I was going to make the same suggestion myself, but did not, because it seemed to be so obvious. The reply by talleyrand was an attempt to help you out, and ...
by Bob Hansen
Mon Dec 28, 2009 3:32 am
Forum: General
Topic: Font
Replies: 5
Views: 424

Nice solution. You could add the batch file as a Tool so you can run from within TextPad also.
by Bob Hansen
Sun Dec 27, 2009 4:22 am
Forum: General
Topic: Font
Replies: 5
Views: 424

No way to do that without a third party program like Macro Scheduler ( http://www.mjtnet.com/macro_scheduler_pro.htm ). The MS script would open TextPad, check the time, and change the font according to your instructions, then would stop and you would be in TextPad as normal. But just using TextPad,...
by Bob Hansen
Wed Dec 23, 2009 4:07 pm
Forum: General
Topic: Edit TextPad Macros
Replies: 9
Views: 1301

Cannot edit TextPad macros. If you search the forum you will see that this has been the most commonly requested enhancement for many yeras. Other third party macro tools work well with TextPad. My personal choice is Macro Scheduler Pro. they recently introduced a Lite version, more info available he...
by Bob Hansen
Tue Dec 22, 2009 3:52 pm
Forum: General
Topic: Text color in .cpp files not working in Version 5.3.1
Replies: 2
Views: 243

You need to set the syntax file for that particular Class. From the Main Menu: Configure / Preferences / Document Classes/ C/C++ / Syntax. The default syntax file is cpp.syn. Make sure that the syntax file you enter is in the path defined at Configure/Preferences/Folders/Syntax. ---------------- Whe...
by Bob Hansen
Tue Dec 15, 2009 12:53 am
Forum: General
Topic: patran .ses .01
Replies: 2
Views: 269

If you made the association through TextPad, then undo it the same way: Configure/Preferences/File associations/ Remove the extension from the center column by highlighting it and clicking Delete. Then Apply and OK your way out. When making configuration changes I find it best to follow these steps,...
by Bob Hansen
Tue Dec 08, 2009 7:42 pm
Forum: General
Topic: Hard line ends even without word wrap hard to explain
Replies: 3
Views: 315

Re manually replacing the line ends, will this work?

Replace every \n\n with a ~
Delete every \n
Replace every ~ with \n\n.
by Bob Hansen
Tue Dec 08, 2009 2:24 am
Forum: General
Topic: textpad: inserting a word every # of lines
Replies: 2
Views: 300

Search for: ^.*\n.*\n.*\n.*\n.*\n.*\n.*\n.*\n.*\n.*\n.*\n.*\n.*\n.*\n.*\n Replace with: \0new word\n Replace All will not work, but Replace Next does work. Use the following settings: ----------------------------------------- [ X ] Regular expression Replace Next ------------------------------------...
by Bob Hansen
Sat Dec 05, 2009 1:02 am
Forum: General
Topic: Block select mode changing when I don't want it
Replies: 3
Views: 252

To get a printable list of ALL of the shortcut keys, do the following: From the Main Menu: Configure/Preferences/Keyboard In the column for Categories, select All. On the right side, left click on the List button. The result will show up as a new Command Results document that you can modify with not...
by Bob Hansen
Tue Dec 01, 2009 2:50 am
Forum: General
Topic: Indent character? or RegEx code
Replies: 6
Views: 318

Not sure what you mean by "indent" code. TextPad RegEX uses \t for tabs, is that what you want?

Best to provide us with a before and after example of what you are working with and what you want the result to look like.
by Bob Hansen
Fri Nov 20, 2009 4:24 am
Forum: General
Topic: Can't Get Line Breaks to Appear in Textpad
Replies: 2
Views: 217

From the Main Menu: Configure/Preferences/View Scroll down to Visible Spaces Make sure you have check mark next to paragraphs Apply and OK to close Preferences window. When your document is open: Again, from the Main Menu: View, Visible Spaces should be activated. -----------------------------------...