- 积分
- 4
- 注册时间
- 2005-3-13
- 仿真币
-
- 最后登录
- 1970-1-1
|
发表于 2005-8-19 02:01:13
|
显示全部楼层
来自 北京交通大学
Re:(下载)APDL编辑器
我到Textpad官方网站上看了一下知道怎么用了.原文介绍如下:
Installation Instructions:
After you have downloaded one of these files, extract its contents into the SAMPLES subfolder of your TextPad installation folder. Then there are three basic steps required to set it up:
Create the document class.
Specify which files are members of that class.
Specify which syntax definition file is required.
In TextPad 4.2 and later, this can be done using the "New Document Class" wizard on the "Configure" menu.
In TextPad 4.0 and 4.1 you will need to do this manually (see below).
For example, for Perl files, first create the document class:
Close any open documents, even blank ones.
From the Configure menu, choose Preferences.
Select Document Classes.
Click the empty box at the bottom of the list of classes.
Type the name " erl" and press Enter.
Click Apply.
Click the "+" next to Document Classes.
Select the new entry for Perl.
Change any properties, such as "Create new files as UNIX", if the defaults are not appropriate.
Click Apply.
Next, specify which files are members of this class:
Click the empty box at the end of the list of class members.
Type "*.pl" and press Enter.
Click Apply.
Finally, specify which syntax definition file is required:
Click the "+" next to the Perl document class.
Select "Syntax".
Check "Enable syntax highlighting".
From the list of syntax definition files, choose "Perl.syn".
Click OK.
Now, open a file with extension ".pl" and it should be syntax highlighted.
也就是说,在下载的这个Textpad版本中,可以使用"文档类别向导"来完成.具体操作如下:
先把下载的压缩文件解压到任何文件夹,然后把其中的后缀为syn的文件拷贝到TextPad安装目录中的SAMPLES目录下,然后打开TextPad程序,如果使用汉化版的话,就直接选择'配置'菜单中的"新建文档类别",打开"文档类别向导"对话框,在"文档类别名称"中输入"ANSYS命令流文件",选择'下一步",在"类别成员"后的文本框中输入"*.cmds"(注意:只需输入*.cmds),点击下一步,选中"激活语法加亮"复选框,然后点击"语法定义文件"下面的选择框后面的小三角,选择ANSYS.syn,点击下一步,最后点击完成按钮.这样当你打开后缀为cmds的文件时,你就会看到命令流中的关键字被加亮显示了.你还可以在"配置菜单"中选择"参数选择",对其中的文档类别进行详细的设置.
其他的文件类型情况可以照此配置. |
|