Search found 80 matches

by tcebob
Sat Sep 10, 2005 10:24 pm
Forum: General
Topic: Parantheses check
Replies: 3
Views: 439

I posted this a while ago. It's as close as I can get. Position the cursor anywhere in a line and run the macro. Balancing )'s will be added to the end of the line (and before a comment beginning with ;). Script for BalParenOnLine 1 ;;from a place in the line 2 <h><h>......;;go to begin line 3 (f ...
by tcebob
Fri Jul 29, 2005 7:04 pm
Forum: General
Topic: View - Document Properties
Replies: 0
Views: 112

View - Document Properties

View - Document Properties does not save the properties. Next time you have to reset them again. It would seem feasible to set up an Exceptions file which would include the filename and an abbreviated list of settings, and have the program refer to it when opening a file. Or are there other ways ...
by tcebob
Sat Jul 23, 2005 2:17 pm
Forum: General
Topic: Changing Macro file names
Replies: 4
Views: 284

If you mosey on down to the TextPad/User directory and find the macro file you can rename it as you wish. The program will complain that it can't find the original one but click on through. Then go to Setup/Macros. NOTE: the files will be shown as Display Name, not File Name, so you need to select ...
by tcebob
Tue Jun 28, 2005 8:26 pm
Forum: General
Topic: autolisp brackets
Replies: 3
Views: 266

By all means, download a copy of Michael Puckett's exhaustive VLISP6.SYN. Updated to 2006. Very complete.

www.cadlabs.com/files/vlisp.zip

tcebob
by tcebob
Sun Jun 19, 2005 2:26 pm
Forum: General
Topic: Vlisp syntax file. Michael Puckett, are you here?
Replies: 4
Views: 453

Stay wit' me, kid, I'll make a contendah of you. Actually, s_reynisson's suggestion worked. Even though I don't (yet) have a copy of 2006 I will download your latest.

tcebob
by tcebob
Thu Jun 16, 2005 1:48 am
Forum: General
Topic: Regex query
Replies: 3
Views: 274

Elegant. I thought I tried it along the way, but guess not. But. . . Here's what happens when there's a bug in the soup: (("non" . 0)( "end" . 1)("mid "" . 2)[/code] Starting after "end" the next hit is the "" after mid. Why do you suppose it skips over "mid"? Thanks, tcebob
by tcebob
Tue Jun 14, 2005 4:34 pm
Forum: General
Topic: Regex query
Replies: 3
Views: 274

Regex query

I'd like to find the next quoted item -- any pair of quotes enclosing anything or nothing. Except for another quote, of course. My effort is:

"[[:print:]^"]+"\|""

Which doesn't work.

so, a) how to do it? and b) can \| be repeated to make more than 2 alternates?

tcebob
by tcebob
Tue Jun 14, 2005 12:50 am
Forum: General
Topic: Vlisp syntax file. Michael Puckett, are you here?
Replies: 4
Views: 453

Sure. It worked. I wrongly assumed that all syntax definitions were in the syntax file. In my defence, the other characters in words box was populated by an underline, which, all by itself, in Windows' tiny default font, looked like a hyphen. Many thanks.

tcebob
by tcebob
Mon Jun 13, 2005 4:32 pm
Forum: General
Topic: Vlisp syntax file. Michael Puckett, are you here?
Replies: 4
Views: 453

Vlisp syntax file. Michael Puckett, are you here?

Michael's exhaustive Vlisp syntax file is terriffic. Just recently, though, the syntax for words with hyphens has failed. So such expressions as (vlax-ename->vla-object obj) remain uncolored. Perhaps it is confusing the hyphen for a minus? Or a hyphen is construed to be a word separator? I have ...
by tcebob
Fri May 27, 2005 3:25 pm
Forum: General
Topic: Paren balancing macro
Replies: 0
Views: 139

Paren balancing macro

Here's a script for a macro that adds the right number of balancing parens at the end of a line. Good for lisp, particularly. It does not parse the code to find where extra parens actually belong. That's why we have programmers. You should be able to decipher the little codes, like <h> for <home> or ...
by tcebob
Fri May 27, 2005 12:06 pm
Forum: Enhancement Suggestions
Topic: Visible cursor after find bol or eol
Replies: 0
Views: 138

Visible cursor after find bol or eol

Would like to see the cursor after Find ^ or $. Presently have to turn off the Find dialog to see it.

tcebob
by tcebob
Sat May 21, 2005 1:13 am
Forum: General
Topic: Save selection as file
Replies: 2
Views: 155

Oh.

I overlooked that.

Thanks,

tcebob
by tcebob
Thu May 19, 2005 11:10 pm
Forum: General
Topic: Save selection as file
Replies: 2
Views: 155

Save selection as file

No direct way do do it? I can make a macro to copy it to the clipboard, paste it to a new file and saveas "Test.txt." But I cannot terminate the macro before entering a name, so it overwrites the previous "test.txt." Also cannot think of a way to re-enter the original file (which is number 2 on the ...
by tcebob
Thu May 19, 2005 10:40 pm
Forum: General
Topic: To disable that my Editor is always on top
Replies: 2
Views: 142

Or . . . Click the T icon on the left of the title bar.

tcebob
by tcebob
Sun May 15, 2005 8:08 pm
Forum: General
Topic: How To Align data by coma?
Replies: 4
Views: 507

Here's an outline suggestion: 1. Set up a new Document Class for this need 2. Be sure the screen and print font is monospaced. (I find that Monospac821BT works really well.) 3. Set tab spacing according to your needs. 4. Make a macro to replace all comma-followed-by-any-number-of-spaces with comma ...