Results 1 to 3 of 3

Thread: Any editor with SLICE syntax highlight ?

  1. #1
    hack is offline Registered User
    Join Date
    Sep 2004
    Posts
    2

    Any editor with SLICE syntax highlight ?

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

    Thanks.

  2. #2
    beagles's Avatar
    beagles is offline Registered User
    Name: Brent Eagles
    Organization: Eagles Technologies Inc
    Project: Asterisk SCF
    Join Date
    Feb 2003
    Location
    Newfoundland
    Posts
    111
    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?
    Brent Eagles
    Digium/Eagles Technologies Inc
    St. John's, NL

    Project(s): Asterisk SCF

  3. #3
    oops is offline Registered User
    Join Date
    Sep 2004
    Location
    Shanghai.China
    Posts
    9
    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Eclipse plugin: syntax-highlighting editor?
    By mefoster in forum Help Center
    Replies: 1
    Last Post: 02-05-2010, 11:32 AM
  2. Replies: 4
    Last Post: 02-28-2009, 10:20 AM
  3. icecipse editor plugin
    By Qinxian in forum Help Center
    Replies: 1
    Last Post: 11-15-2006, 03:35 AM
  4. sequences syntax
    By panic in forum Help Center
    Replies: 1
    Last Post: 12-04-2003, 08:55 AM
  5. What is the "proxy" Slice syntax for?
    By dthomson in forum Help Center
    Replies: 2
    Last Post: 03-07-2003, 08:04 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •