Chinaunix首页 | 论坛 | 博客
  • 博客访问: 509724
  • 博文数量: 54
  • 博客积分: 5016
  • 博客等级: 大校
  • 技术积分: 954
  • 用 户 组: 普通用户
  • 注册时间: 2007-08-23 11:00
文章分类

全部博文(54)

文章存档

2009年(5)

2008年(49)

我的朋友

分类: C/C++

2008-04-10 10:26:53

今天下载了个ultraedit绿色版,打开C语言文件,居然没有语法高亮显示。我还以为是绿化版把这个功能去掉了,上网查了,原来可以自己添加语法高亮显示。
 
参照
 
如下:

Adding a Wordfile


Step 1: Open your default wordfile.

You can find/open your default wordfile by going to Advanced : Configuration : Editor Display : Syntax Highlighting and clicking 'Open' (in the 'Full path name for wordlist' field).

Configuration Dialog


Step 2. Open the new wordfile in UltraEdit

Open the downloaded wordfile in UltraEdit.

If you have not downloaded a wordfile yet, please do this now. You can download wordfiles .

After you have opened the wordfile in UltraEdit, copy the entire contents of the new wordfile.


Step 3. Paste the new wordfile

Go back to the default wordfile, which was already opened in UltraEdit, and Paste the contents of the clipboard (the downloaded wordfile) at the end of the default wordfile.

Please make sure that the wordfile you just pasted to the default wordfile does not have a duplicate language number.

The language is specified by a /Ln where n has a value of 1 to 20. This is at the beginning of the line.(/L20指的就是它将被设置为UltraEdit的第20种高亮显示语言(在View->Syntax Highlighting)下可以看到已有哪些类型了。可以将该数字改为1-20(因为UltraEdit只一次支持20种)的任何一个数字,只要不和其它的高亮方案冲突即可。)


Step 4. Save the wordfile.

Save the file using File : Save, or CTRL + S.


Step 5. You are finished

Any files opened after saving the modified wordfile, which have an extension matching those defined in the wordfile, will be highlighted accordingly.

Syntax Highlighting

阅读(5905) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~