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 added some of my favorites to the file. They work fine and I don't see how they might pollute the definition of a word.
tcebob
Vlisp syntax file. Michael Puckett, are you here?
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
- s_reynisson
- Posts: 939
- Joined: Tue May 06, 2003 1:59 pm
(Have to say it's weird to see my name in a thread title).
Anyway ...
Said functions (with hyphens etc.) highlight ok in my install using my vlisp.syn. This is the critical bit me thinks ...
...
KeyWordChars = -A-Za-z0-9*:_
...
The hyphen is spec'd first, so it's not treated as a range delimiter.
Just checked: vlax-ename->vla-object is indeed part of the def and indeed, highlights fine on my system.
Slight aside, I sent my AutoCAD Visual LISP syntax file to Helios awhile ago (updated for AutoCAD 2006), but it never showed up here.
So if you'd like it here it is:
http://www.cadlabs.com/files/vlisp.zip
I'll only leave the file there for awhile.
Should you happen upon this thread in the future and the link's dead and you want the syntax file send a note to michael @ my web site as noted above.
Cheers.
(Michael Puckett)