! Syntax Highlighting Patterns for Eiffel ! (Thanks to Darren Hiebert) ! ! Revision: $Date: 1999/06/14 07:22:18 $ ! ! In NEdit Version 5.0.1 and beyond, load this pattern by starting nedit with: ! ! nedit -import ! ! Then, check that the patterns were loaded correctly, and choose Save Defaults ! from the Preferences menu. The new patterns will now be incorporated into ! your own .nedit file, so the next time you start NEdit, you will no longer ! need to use -import. ! ! In version 5.0, without -import, you must edit your .nedit file by hand and ! add the contents of each resource below to the corresponding list in your ! .nedit file. Be sure to separate new entries with \n, and continue resource ! strings by escaping all newlines within a resource value with \ (backslash), ! leaving only the last line of the resource value not ending in \. ! nedit.highlightPatterns: \ Eiffel:1:0{\n\ comment:"--.*$":::Comment::\n\ string:"""":""""::String::\n\ string escape chars:"%(([ABCDFHLNQRSTUV%'""()<>])|(/[0-9]+/))":::String1:string:\n\ keyword:"<(alias|all|and|as|check|class|create|creation|debug|deferred|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|indexing|infix|inherit|inspect|invariant|is|like|local|loop|not|obsolete|old|once|or|prefix|redefine|rename|require|rescue|retry|select|separate|strip|then|undefine|unique|until|variant|when|xor)>|!":::Keyword::\n\ class:"<[A-Z][A-Z0-9_]*>":::Identifier::\n\ numeric constant:"<(([0-9][0-9_]*(\\.[0-9_]*([Ee][+-]?[0-9_]+)?)?)|([01]+[Bb]))>":::Numeric Const::\n\ character constant:"'(([^%])|(%(([ABCDFHLNQRSTUV%'""()<>])|(/[0-9]+/))))'":::Character Const::\n\ Builtin variables:"<([Rr]esult|[Cc]urrent|[Ff]alse|[Pp]recursor|[Tt]rue|[Vv]oid)>":::Storage Type::\n\ Operators:"[{}\\[\\]]|\\<\\<|\\>\\>|:=|:":::Flag::\n\ }\n\ LACE:1:0{\n\ comment:"--.*$":::Comment::\n\ string:"""":""""::String::\n\ string escape chars:"%(([ABCDFHLNQRSTUV%'""()<>])|(/[0-9]+/))":::String1:string:\n\ keyword:"<(adapt|all|as|check|cluster|creation|default|end|ensure|exclude|export|external|generate|ignore|include|invariant|keep|loop|no|option|require|rename|root|system|use|visible|yes)>|!":::Keyword::\n\ class:"<[A-Z][A-Z0-9_]*>":::Identifier::\n\ Builtin variables:"":::Storage Type::\n\ } nedit.languageModes: Eiffel:.e:"<(indexing|inherit|feature)>":Auto::4::\n\ LACE:.ace:"<(system|root|cluster)>":Auto::4::