Toggle navigation
Categories
Discussions
Activity
Best Of...
Home
Documentation
Sign In
Home
›
Help Center
Any editor with SLICE syntax highlight ?
hack
Member
✭
September 2004
in
Help Center
Is there a text editor which can support syntax highlight for slice?
Thanks.
0
Comments
beagles
Member
Brent Eagles
Organization:
Eagles Technologies Inc
Project:
Asterisk SCF
✭✭✭
September 2004
Vim 6.3 has a file plugin for slice. You can also easily configure Emacs (or XEmacs) to use the IDL mode when editing slice files.
Are there really any other editors worth mentioning?
0
oops
Member
✭
September 2004
If you are using the UltraEdit-32, find out the WORDFILE.TXT at the same directory of the ULTRAEDIT.EXE, and append this segment to the WORDFILE.TXT file:
/L8"ICE" Line Comment = // Block Comment On = /* Block Comment Off = */ Escape Char = \ String Chars = "' File Extensions = ICE
/Delimiters = ~!
@%^&
;*()-+=|\/{}[]:;"'<> , .?
/Function String = "%^([a-zA-Z_0-9]+^)[ ^t]++([^p*, a-zA-Z_0-9]++)[~;]"
/Function String 1 = "%[a-zA-Z_0-9]*::^([a-zA-Z_0-9]+^)[ ^t]++([^p*, a-zA-Z_0-9]++)[~;]"
/Function String 2 = "%[a-zA-Z_0-9]* ^([a-zA-Z_0-9]+^)[ ^t]++([^p*, a-zA-Z_0-9]++)[~;]"
/Indent Strings = "{"
/Unindent Strings = "}"
/C2"Keywords"
bool byte
class const
dictionary double
enum exception extends
false float
idempotent implements int interface
LocalObject local long
module
nonmutating
Object out
sequence short string struct
throws true
void
/C1
#define #error #include #elif #if #line #else #ifdef #pragma #endif #ifndef #undef
/C4"Operators"
+
-
=
// /
%
&
>
<
^
!
|
/C1 stands for red color while /C2 stands for blue. You can change it as u like.
regards,
Oops
0
Sign In
or
Register
to comment.
Comments
Are there really any other editors worth mentioning?
/L8"ICE" Line Comment = // Block Comment On = /* Block Comment Off = */ Escape Char = \ String Chars = "' File Extensions = ICE
/Delimiters = ~!@%^&*()-+=|\/{}[]:;"'<> , .?
/Function String = "%^([a-zA-Z_0-9]+^)[ ^t]++([^p*, a-zA-Z_0-9]++)[~;]"
/Function String 1 = "%[a-zA-Z_0-9]*::^([a-zA-Z_0-9]+^)[ ^t]++([^p*, a-zA-Z_0-9]++)[~;]"
/Function String 2 = "%[a-zA-Z_0-9]* ^([a-zA-Z_0-9]+^)[ ^t]++([^p*, a-zA-Z_0-9]++)[~;]"
/Indent Strings = "{"
/Unindent Strings = "}"
/C2"Keywords"
bool byte
class const
dictionary double
enum exception extends
false float
idempotent implements int interface
LocalObject local long
module
nonmutating
Object out
sequence short string struct
throws true
void
/C1
#define #error #include #elif #if #line #else #ifdef #pragma #endif #ifndef #undef
/C4"Operators"
+
-
=
// /
%
&
>
<
^
!
|
/C1 stands for red color while /C2 stands for blue. You can change it as u like.
regards,
Oops