Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 09-23-2004
hack 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.
Reply With Quote
  #2 (permalink)  
Old 09-26-2004
beagles's Avatar
beagles beagles is offline
ZeroC Staff
 
Name: Brent Eagles
Organization: ZeroC, Inc
Project: Ice Developer
 
Join Date: Feb 2003
Location: Newfoundland
Posts: 110
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?
Reply With Quote
  #3 (permalink)  
Old 09-27-2004
oops 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
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
icecipse editor plugin Qinxian Help Center 1 11-15-2006 04:35 AM
Include syntax of generated files. JohnB Help Center 4 02-23-2005 05:36 PM
slice2cpp syntax error using string simple types MKoleoso Help Center 2 09-28-2004 02:12 PM
sequences syntax panic Help Center 1 12-04-2003 09:55 AM
What is the "proxy" Slice syntax for? dthomson Help Center 2 03-07-2003 09:04 AM


All times are GMT -4. The time now is 08:16 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.