!- erlang nedit mode
!- start nedit with: 'nedit -import erlang-nedit-mode' and then save preferences

nedit.highlightPatterns: \
	Erlang:1:0{\n\
		Comment:"%":"$"::Comment::\n\
		Module attribute:"^[ 	]*-[_A-Za-z]*":::Preprocessor::\n\
		Macro:"<\\?[0-9A-Za-z_]*>":::Preprocessor::\n\
		Keyword:"<(after|case|end|if|of|receive|when)>":::Keyword::\n\
		Operator:"<(and|band|bsl|bsr|bor|bxor|div|or|rem)>":::Keyword::\n\
		Builtin function:"<(abs|apply|atom|atom_to_list|binary|binary_to_list|binary_to_term|catch|date|element|erase|exit|float|float_to_list|get|halt|hash|hd|info|integer|integer_to_list|length|link|list|list_to_atom|list_to_float|list_to_integer|list_to_tuple|node|nodes|now|pid|port|ports|processes|put|reference|register|registered|round|self|setelement|size|spawn|throw|time|tl|trace|trunc|tuple|tuple_to_list|unlink|unregister|whereis)>":::Storage Type::\n\
		Special identifier:"<(error|false|infinity|nil|ok|true|undefined)>":::Identifier1::\n\
		Atom:"<[a-z][0-9a-zA-Z_]*>":::Plain::\n\
		Character:"(\\$\\\\?.)":::Character Const::\n\
		Float:"<(\\+|-)?[0-9]+\\.[0-9]+((E|e)(\\+|-)?[0-9]+)?>":::Numeric Const::\n\
		Integer:"<(2#[01]+|8#[0-7]+|16#[0-9A-Fa-f]+|(10#)?[0-9]+)>":::Numeric Const::\n\
		Variable:"<[A-Z_][0-9a-zA-Z_]*>":::Identifier::\n\
		Single-quoted string:"'":"'"::String::\n\
		Double-quoted string:"""":""""::String::\n\
		String escape:"\\\\(.|\\n)":::String1:Double-quoted string:\n\
	}\n
nedit.languageModes: \
	Erlang:.erl .hrl::::::\n
