- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
自定义Notepad语言高亮与提醒
AUTOCAD中写lisp程序不可避免用到界面程序语言框架:DCL。但在notepad++中并没有DCL程序编写的高亮和语法自动补全,这让已经习惯在notepad++中写lisp代码的我感到十分不爽,于是按照notepad++中的自定义语言方法,自己定义了一个,作为备忘。步骤如下:
1.安装notepad++,这是免费软件,没太多可说。
2.单击【视图】→【自定义语言对话框】如下图:
打开如下图所示【自定义语言格式对话框】,在自定义语言项目中加入“DCL”,扩展名也输入“DCL”:
填写完毕之后,单击【语言】,会出现DCL的语言选项,如下图:
在下面的四个tab中分别按照下面四张图形进行设置:
注意:关键字列表中的层次关系可以自己调整关键词,我个人比较喜欢现在这种,四类关键字如下:第一分组:boxed_column boxed_radio_column boxed_radio_row boxed_row button column concatenation dialog edit_box image image_button list_box paragraph popup_list radio_button radio_column radio_row row slider spacer text text_part toggle acad_attedit acad_ddatte acad_dwgmod acad_files acad_group acad_icon acad_mtprop acad_newdwg acad_opendwg acad_plan acad_plot acad_reinit acad_snap acad_tstyle acad_tstyle_sym acad_txtedit第二分组:action action_tile add_list cancel_buttonchildren_alignmentchildren_fixed_height children_fixed_width color_palette_0_9 color_palette_1_7 color_palette_1_9 color_palette_250_255 column concatenation:cluster ddfcf default_button default_dcl_setting dimx_tiledimy_tiledone_dialog edit12_box edit32_box end_image end_listerrtile f0 f2 f0he fcf_ebox fcf_ebox1 fcf_ibut fcf_ibut1 files_bottomdffiles_topdf fill_imageget_attrget_tile help_button icon_imageimage_block info_button initial_focus is_bold is_cancel is_default is_enabled is_tab_stop paragraph:cluster password_char LispEd load_dialog mledit mnemonic mode_tile mstyle multiple_select new_dialog ok_only ok_cancel ok_cancel_err ok_cancel_help ok_cancel_help_errtile ok_cancel_help_info pstylerq_chroma set_tileslide_image spacer_0 spacer_1 start_dialogstart_image start_list std_rq_color swatchterm_dialog tabs tab_truncate text_25 unload_dialog vector_image ok_button cancel_button info_button ok_cancel第三分组:allow_accept aspect_ratio color value width label max_value min_value height fixed_height fixed_width edit_width list key alignment edit_limit fixed_width_font small_increment big_increment layout multi_select第四分组:centered left right false true ve
文档评论(0)