UltraEditor中delphi的语法高亮脚本(UEW)

上次把本本换了一个,再装ue的时候发现没有delphi的语法高亮(歧视)
翻出以前看过的资料,找到了,贴上来分享分享
不过自从有了cnpack后一般都直接在delphi里写了
用UE是想缅怀一下当初在上边写C和C++的感觉

/L14这个要看你的ue中有多少项语法了,不要把已经有的给覆盖了,14这个值要合理取

/L14"Delphi" Nocase Line Comment = // Block Comment On = { Block Comment On Alt = (* Block Comment Off = } Block Comment Off Alt = *) Escape Char = ?String Chars = ' File Extensions = pas dpr
/Delimiters = #$&'()*+,-./;<>@[]^{}
/Function String = "%^{procedure^}^{function^}"
/Indent Strings = "begin" "repeat" "asm"
/Unindent Strings = "end" "until"
/C1"Reserved words"
array asm
begin
case class const constructor
destructor dispinterface do downto
else end except exports
file finalization finally for function
goto
if implementation inherited initialization inline interface
label library
nil
object of out
packed procedure program property
raise record repeat resourcestring
set string
then threadvar to try type
unit until
uses
var
while with
/C2"Directives"
absolute abstract assembler automated
cdecl contains
default dispid dynamic
export external
far forward
implements index
message
name near nodefault
overload override
package pascal private protected public published
read readonly register reintroduce requires resident
safecall stdcall stored
virtual
write writeonly
/C3"Operators"
*
+
-
// /
< <= <>
=
> >=
@
and as
div
in is
mod
not
or
shl shr
xor
/C4"Special symbols"
#
$
&
(
(.
)
,
.
.)
..
:
:=
;
[
]
^

存到语法高亮的脚本文件中(一般是C:\Documents and Settings\yourname\Application Data\IDMComp\UltraEdit\WORDFILE.UEW文件)
保存就可以了,ue很强大,很好很强大

你可能感兴趣的:(C++,c,脚本,Delphi,pascal)