mcedit .syntax file for Eiffel

Daniel F Moisset dmoisset at grulic.org.ar
Fri Oct 15 18:09:57 UTC 2004


Hi,
	I'm attaching a syntax file to provide Eiffel syntax highlighting in
mcedit. I've used it for a couple of years, and I thought it would be
nice if it was included in mc

	Daniel

-- 
Must it be assumed that because we are engineers beauty is not our concern,
and that while we make our constructions robust and durable we do not also
strive to make them elegant?
Is it not true that the genuine conditions of strength always comply
with the secret conditions of harmony?
    -- Gustave Eiffel, 1887
-------------- next part --------------
# Sytnax highlighting for Eiffel 
# Daniel F Moisset - dmoisset at grulic.org.ar
# Based on mc's pascal.syntax

context default yellow/24

	keyword whole agent	white/24
	keyword whole alias	white/24
	keyword whole as	white/24
	keyword whole check	white/24
	keyword whole class	white/24
	keyword whole create	white/24
	keyword whole creation	white/24
	keyword whole debug	white/24
	keyword whole deferred	white/24
	keyword whole do	white/24
	keyword whole else	white/24
	keyword whole elseif	white/24
	keyword whole end	white/24
	keyword whole ensure	white/24
	keyword whole expanded	white/24
	keyword whole export	white/24
	keyword whole external	white/24
	keyword whole feature	white/24
	keyword whole from	white/24
	keyword whole if	white/24
	keyword whole is	white/24
	keyword whole indexing	white/24
	keyword whole inherit	white/24
	keyword whole inspect	white/24
	keyword whole invariant	white/24
	keyword whole like	white/24
	keyword whole local	white/24
	keyword whole loop	white/24
	keyword whole obsolete	white/24
	keyword whole old	white/24
	keyword whole once	white/24
	keyword whole redefine	white/24
	keyword whole reference	white/24
	keyword whole rename	white/24
	keyword whole require	white/24
	keyword whole rescue	white/24
	keyword whole retry	white/24
	keyword whole select	white/24
	keyword whole then	white/24
	keyword whole undefine	white/24
	keyword whole unique	white/24
	keyword whole until	white/24
	keyword whole variant	white/24
	keyword whole when	white/24

	keyword whole Current	brightmagenta/23
	keyword whole Precursor	brightmagenta/23
	keyword whole Result	brightmagenta/23
	keyword whole Void	brightmagenta/23

# prevents - keyword from interfering with comment
	keyword --	lightgray/22

	keyword :=	brightcyan/6
	keyword ?=	brightcyan/6
	keyword !	brightcyan/6
	keyword :	brightcyan/6
	keyword ;	brightcyan/6
	keyword (	brightcyan/6
	keyword )	brightcyan/6
	keyword [	brightcyan/6
	keyword ]	brightcyan/6

	keyword {*}	brightred/6

	keyword \+	cyan/14
	keyword -	cyan/14
	keyword \*	cyan/14
	keyword /	cyan/14
	keyword >	cyan/14
	keyword <	cyan/14
	keyword =	cyan/14
	keyword ^	cyan/14
	keyword \\	cyan/14
	keyword @	cyan/14
	keyword |	cyan/14
	keyword whole and	cyan/14
	keyword whole implies	cyan/14
	keyword whole not	cyan/14
	keyword whole xor	cyan/14
	keyword whole or	cyan/14

# Uncomment this to highlight tabs and trailing spaces
#	keyword \t yellow/24 red/6
#	keyword \s\[\s\]\n yellow/24 red/6

# Comments
context exclusive -- \n	lightgray/22
        keyword `*' brown/22

# Strings and characters
context " "	green/green
	keyword %N	brightgreen/6
	keyword %R	brightgreen/6
	keyword %U	brightgreen/6
	keyword %"	brightgreen/6
	keyword %'	brightgreen/6
	keyword %%	brightgreen/6
	keyword %/\[0123456789\]/	brightgreen/6

context ' '	green/green
	keyword %N	brightgreen/6
	keyword %R	brightgreen/6
	keyword %U	brightgreen/6
	keyword %"	brightgreen/6
	keyword %'	brightgreen/6
	keyword %%	brightgreen/6
	keyword %/\[0123456789\]/	brightgreen/6
	
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20041015/b08098fc/attachment.asc>


More information about the mc-devel mailing list