马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?立即注册
×
从官网
ftp://www.ultraedit.com/wf/autolisp.txt
下载不了,
googel到的另一个链接
http://www.tiha.de/ultraedit/wordfiles/autolisp.txt
。
- /L20"AutoLISP" Line Comment = ; File Extensions = LSP MNL
- /Delimiters = ()"
- /Indent Strings = "("
- /Unindent Strings = ")"
- /Function String = "(defun "
- /C1"loop control"
- cond
- foreach
- if
- progn
- repeat
- while
- /C2 "constants"
- *error*
- alert
- exit
- nil
- NIL
- pi
- quit
- setq setvar
- t
- T
- /C3"math"
- *
- +
- -
- // /
- // /=
- 1+
- 1-
- < <=
- =
- > >=
- abs and angle angtof angtos atan atof atoi
- boundp
- cos
- distance
- eq equal exp expt
- fix float
- log logand logior lsh
- max min minusp
- not null
- or
- sqrt
- zerop
- ~
- /C4"list manipulation"
- append
- caddr cadr cal car cdddr cdr cons
- length list listp
- member
- nth
- reverse
- subst
- /C5"less-used"
- acad_colordlg acad_helpdlg acad_strlsort action_tile add_list ads alloc apply arx arxload ascii atom atoms-family autoarxload autoload autoxload
- boole
- client_data_tile close command cvunit
- dictadd dictnext dictremove dictrename dictsearch dimxtile dimytile done_dialog
- end_image end_list eval expand
- fill_image findfile
- gc gcd get_attr get_tile getangle getcfg getcorner getdist getenv getfiled getint getkword getorient getpoint getreal getstring getvar graphscr grclear grdraw grread
- grtext grvecs
- handent help
- initget inters
- lambda last load load_dialog
- mapcar mem menucmd menugroup mode_tile
- namedobjdict new_dialog numberp
- open osnap
- pause polar prin1 princ print prompt
- quote
- read read-char read-line redraw regapp rem rtos
- set set_tile setcfg setfunhelp setview sin slide_image snvalid start_app start_dialog start_image start_list
- tablet term_dialog terpri textbox textpage textscr trace trans type
- unload_dialog untrace
- vector_image ver vmon vports
- wcmatch write-char write-line
- xdroom xdsize xload xunload
- /C6"entity/table access, string manipulation"
- assoc
- chr
- distof
- entdel entget entlast entmake entmakex entmod entnext entsel entupd
- itoa
- nentsel nentselp
- ssadd ssdel ssget ssgetfirst sslength ssmemb ssname ssnamex sssetfirst strcase strcat strlen substr
- tblnext tblobjname tblsearch
-
以上内容附在 wordfile.txt 文件的最后即可(附上后即刻有效,不用重启ue)。
视图-查看方式(语法加亮类型)-autolisp
即可调用。
语法加亮效果很一般, ; 前面没有做空格的判断。
不过可以试一下。
ue语法文件下载参考路径:
http://www.ultraedit.com/index.p ... mp;pid=40#wordfiles |