Home Help Center

Any editor with SLICE syntax highlight ?

Is there a text editor which can support syntax highlight for slice?



  • beaglesbeagles Member Brent EaglesOrganization: Eagles Technologies IncProject: Asterisk SCF ✭✭✭
    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? ;)
  • oopsoops Member
    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 = ~!@%^&amp;*()-+=|\/{}[]:;"'<> , .?
    /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 = "}"
    bool byte
    class const
    dictionary double
    enum exception extends
    false float
    idempotent implements int interface
    LocalObject local long
    Object out
    sequence short string struct
    throws true
    #define #error #include #elif #if #line #else #ifdef #pragma #endif #ifndef #undef
    // /

    /C1 stands for red color while /C2 stands for blue. You can change it as u like.

Sign In or Register to comment.