当前位置:主页>Delphi教程>文章内容
UltraEdit也支持Delphi语法高亮
来源: 作者: 发布时间:2007-04-29  
平时经常用UltraEdit编写修改代码,但UltraEdit本身不支持Delphi的语法高亮,用起来很不爽,于是编写以下脚本使其支持Delphi,请将其添加到UltraEdit安装路径下的 WORDFILE.TXT 文件的结尾即可。


/L8"Dephi" Line Comment = // Block Comment On = { Block Comment Off = } Block Comment On Alt = (* Block Comment Off Alt = *) Escape Char = \ String Chars = ' Nocase File Extensions = PAS DPR DPK DFM COD INC
/Delimiters = ~!@%^&*()-+=|\/{}[]:;"'<> , .?
/Function String = "%[a-zA-Z_]* ^([a-zA-Z_]+^)(*)[~;]"
/Function String 1 = "%[a-zA-Z_]*.^([a-zA-Z_]+^)(*)[~;]"
/Indent Strings = "begin"
/Unindent Strings = "end"
/C1"Keywords"

absolute abstract and array as asm assembler automated
begin break
case cdecl class const constructor contains continue
default delete destructor dispid dispinterface div do downto dynamic
else end except explicit export exports external
far file finalization finally for forward function
goto
if implementation implements in inherited initialization inline interface is
label library
message mod
near nil nodefault not
object of or out overload override
package packed pascal private procedure program property protected public published
raise read readonly record register reintroduce repeat requires resourcestring
safecall set shl shr stdcall stored string
then threadvar to try type
unit until uses
var virtual
while with write writeonly
xor
/C4"Operators"
+
-
*
=
// /
\
:
%
&
>
<
^
!
|
;
,
.
'
"
(
)
$
[
]
@
// #
// $
~


 
上一篇:将应用程序11M内存占用,降至500K   下一篇:NT服务程序中对注册表中HKey_Current_User读取的问题
 
  相关文章
·将应用程序11M内存占用,降至500K
·NT服务程序中对注册表中HKey_Current_U
·双鼠标的介绍
·跟日期有关的两条经典SQL语句
·序列化FastReport
·接口与类的区别
·客户端人性化设计
·Delphi2005学习笔记1
·DELPHI中利用Timer组件完成数据批处理(
·编程打开特殊的系统窗口(如控制面板)
·“磁性”窗口新篇
·试卷自动生成系统的开发与应用
 
【关闭窗口】
推荐本站资源
最新文章