# Define SciTE settings for Erlang files.

# M: Erlang M-Files
file.patterns.erlang=*.erl

# M: Erlang M-Files
filter.erlang=Erlang (erl)|$(file.patterns.erlang)|

lexer.$(file.patterns.erlang)=erlang

keywordclass.erlang=\
after apply attribute call case catch do end export fun if in \
let letrec module of primop receive try when record \
define undef include include_lib ifdef ifndef else endif


keywords.$(file.patterns.erlang)=$(keywordclass.erlang)

comment.block.erlang=%~

# Erlang styles
# White space
style.erlang.0=fore:#000000
# Comment
style.erlang.1=$(colour.code.comment.line),$(font.code.comment.line)
# Variable
style.erlang.2=fore:#800040
#$(colour.preproc)
# Number
style.erlang.3=$(colour.number)
# Keyword
style.erlang.4=$(colour.keyword),bold
# String
style.erlang.5=$(colour.string)
# Operator
style.erlang.6=$(colour.operator),bold
# Identifier
style.erlang.7=
# Quoted atom
style.erlang.8=
# Character
style.erlang.9=$(colour.char)
# Define unknown
style.erlang.10=$(colour.error)
style.erlang.11=fore:#604000,bold
style.erlang.12=fore:#604000,bold
# Record
style.erlang.13=$(colour.error)
style.erlang.14=fore:#602080,bold
style.erlang.15=fore:#602080,bold
