# Define SciTE settings for Avennue files.

filter.ave=AVE (ave)|*.ave|


file.patterns.ave=*.ave

lexer.*.ave=ave
lexer.$(file.patterns.ave)=ave

# import classes and requests

#import ave.classes
#import ave.funcs

keywords.$(file.patterns.ave)=$(keywordclass.ave)$(keywordfunc.ave) nil true false

word.chars.ave=$(chars.alpha)$(chars.numeric)_#
word.characters.$(file.patterns.ave)=$(word.chars.ave)

statement.indent.$(file.patterns.ave)=1 else for if while then
statement.end.$(file.patterns.ave)=1 end
statement.lookback.$(file.patterns.ave)=1 end

#Avenue string not support tab symbol, if You use tabs in script all tabs automatic translated to space.

#Load user-defined api for current project.
#api.$(file.patterns.ave)=D:\api\ave.api

comment.ave='
#Avenue is not case-sensitive lang.
autocomplete.ave.ignorecase=1
calltip.ave.ignorecase=1
# new properties
autocomplete.ave.start.characters=.
calltip.ave.word.characters=.$(word.chars.ave)

# AVE styles

# Default
style.ave.32=font:Verdana,size:9
# White space
style.ave.0=$(style.default.whitespace)
# Line Comment
style.ave.1=$(style.default.comment)
# Number
style.ave.2=$(style.default.number)
# Word in kewords list
style.ave.3=$(style.default.keyword)
# Statement (if, then, else,for, each, break, ...)
style.ave.5=$(style.default.localkeyword)
# Keyword (av & self)
style.ave.4=$(style.default.syskeyword)
# String
style.ave.6=$(style.default.singlequote)
# Enum
style.ave.7=fore:#7F007F,bold,font:Verdana,size:9
# Operators
style.ave.10=$(style.default.operator)
# Identifiers
style.ave.9=$(style.default.identifier)
# End of line where string is not closed
style.ave.8=$(style.default.unclosedstring)
# Braces are only matched in operator style
braces.ave.style=10
