TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: JohnK on May 11, 2010, 12:32:05 PM
-
Would anyone be interested in my Lisp Syntax file? Ive tweaked the default Lisp syntax file to include all the VL and AL functions i could find, ive also done some fixing to the ATOMS, COMMENTS, and LISTS sections of the file.
I know there are not that many Vim users amongst us (Mark and I are most likely the only ones) but i would imagine that those of you using other text editors besides Vim could use the 1800 or so function names i gathered up and added to the file.
If there is interest I'll post it.
P.S. Please don't just say "yeah post it". Please check your syntax file, if you don't have ~1800 functions or so then i will post it otherwise i wont waste our time (by not spending the time removing my custom stuff and or re-formatting or etc.).
-
Ahhhh I don't want your stinkin Vim lisp syntax file. So I really wish you WOULD NOT post it. :lol: :evil:
I don't know why I felt like saying that but I felt like I had to say it, so I said it. But seriously I do not want that file. Really I do not want it.
-
Sure, if it is not an effort... I use vim occasionally but not enough to be worth much effort on your part cleaning up.
-
There wouldnt be much effort at all if you are using Vim (All i would have to do is remove one section that i added for a project or two - 30seconds?).
-
Here is the lisp.vim file
-
Dag-nab-it Se7en, you were asked not to post that stuff! Now folks are gonna haffta USE it! Trouble-maker! S**t-stirrer! Sheeeesh! :pissed: :realmad:
-
*gack* ...bear, Ive known you for a LONG time (before thesamp.org. wow, even before bigswamp.org.) ...Is it bad that now i kinda cant wait for you to start fishing more?
:D
Gonna miss ya.
-
Hi Se7en
Could I ask, what is this file?
-
Hi Se7en
Could I ask, what is this file?
Do you know how in the VLIDE a built in command function name turns yellow? Basiclly, this file is for that (and other things) in my text editor Vim.
Just so that you can have something to see for yourself, here is a "screenshot" of my editor. This is how I see a lisp file (the blue line is a folded up region of code--a whole sub function folded up so its out of my way-).
I program (in Lisp and C++) in my editor. When I work on a lisp project and I have to debug or test code I can open the VLIDE to a completed ready to test lisp file.
-
Sound is good
let me give a try
Thanks
-
Thank you for the list of vla- functions. I have already made use of it.
There is no function vla-get-font and vla-put-font that I read from another forum.
(defun c:test ();does not work
(vl-load-com)
(vlax-for objTextStyle (vla-get-textstyles
(vla-get-activedocument
(vlax-get-acad-object)))
(if (= (vla-get-font objTextStyle) "ARIAL.TTF")
(vla-put-font objTextStyle "MULTPLNL.shx")
)
)
)
(defun c:test ()
(vl-load-com)
(vlax-for objTextStyle (vla-get-textstyles
(vla-get-activedocument
(vlax-get-acad-object)))
(if (= (vla-get-fontfile objTextStyle) "ARIAL.TTF")
(vla-put-fontfile objTextStyle "MULTPLNL.shx")
)
)
)
[edit.kdub:codeTagsAdded]
-
I dont understand.
error: no function definition: VLA-GET-FONT
-
looks good! Thanks for sharing John.
-
There are
vla-getfont
vla-setfont
Perhaps thats the confusion. :wink:
-
There are
vla-getfont
vla-setfont
Perhaps thats the confusion. :wink:
Those are in the syntax file. ?
-
There are
vla-getfont
vla-setfont
Perhaps thats the confusion. :wink:
Those are in the syntax file. ?
I don't doubt they are - but perhaps GDF was getting confused between those and the non-existent vla-get-font etc.
-
"vla-get-font" should be "vla-get-fontfile"
"vla-set-font" should be "vla-set-fontfile"
I learned of this fron se7en's list of vla- functions
-
Ah, good. Glad i was able to help.
-
I found this page with the help of Google ,
I study the visual lisp language of AutoCAD recently because I think it will help me if I master
the language of visual lisp ,but I also found that I do not have a good syntax file of visual lisp
for vim ,so I come here with the help of Google .
I registered this forum for several times (my register request was
take as spam for several times )and I success :-D
maybe you can not understand my words very well ,because my native language is not
English
-
thank to Se7en's syntax file ,he does a good job ,
I think he should upload his file to www.vim.org
then more persons will get the help
-
you are very welcome aaa120. I am glad you can use the sytax file. I have several other Vim rerlated items posted here you may also like. I will try to upload my stuff to vim.org soon.
-
you are very welcome aaa120. I am glad you can use the sytax file. I have several other Vim rerlated items posted here you may also like. I will try to upload my stuff to vim.org soon.
I have several other Vim rerlated items posted here you may also like
...............................
I am back again ,three years later .
where can I download all your Vim rerlated items?