1# Define SciTE settings for Avenue files.
2
3filter.ave=AVE (ave)|*.ave|
4
5*filter.ave=$(filter.ave)
6
7file.patterns.ave=*.ave
8
9lexer.*.ave=ave
10lexer.$(file.patterns.ave)=ave
11
12*language.avenue=Avenue|ave||
13
14####################################################
15# import classes and requests
16# files ave.classes &  ave.funcs is to large
17#import ave.classes
18#import ave.funcs
19
20keywords.$(file.patterns.ave)=nil true false else for if while then elseif end av self in exit
21#keywords2.$(file.patterns.ave)=$(keywordclass.ave)
22#keywords3.$(file.patterns.ave)=$(keywordfunc.ave)
23word.chars.ave=$(chars.alpha)$(chars.numeric)_#
24word.characters.$(file.patterns.ave)=$(word.chars.ave)
25
26statement.indent.$(file.patterns.ave)=1 else for if while then
27statement.lookback.$(file.patterns.ave)=1 end
28
29#Avenue string not support tab symbol, if You use tabs in script all tabs automatic translated to space.
30#use.tabs=0
31
32####################################################
33#Load user-defined api for current project.
34#api.$(file.patterns.ave)=ave.api
35####################################################
36
37comment.block.ave='--
38
39comment.box.start.ave='--
40comment.box.middle.ave='--
41comment.box.end.ave='--
42#Avenue is not case-sensitive lang.
43autocomplete.ave.ignorecase=1
44calltip.ave.ignorecase=1
45autocomplete.ave.start.characters=.
46calltip.ave.word.characters=.$(word.chars.ave)
47
48# AVE styles
49############################################################
50# Default
51style.ave.32=$(font.code.base),fore:#000000
52# White space: Visible only in View Whitespace mode (or if it has a back colour)
53style.ave.0=fore:#FF0000
54# Comment
55style.ave.1=$(colour.code.comment.line),$(font.code.comment.line)
56# Number
57style.ave.2=$(colour.number),bold
58# Keyword
59style.ave.3=$(colour.keyword),bold
60# String
61style.ave.6=$(colour.string)
62# Enumeration
63style.ave.7=$(colour.preproc),bold
64# End of line where string is not closed
65style.ave.8=back:#E0C0E0,eolfilled
66# Operators
67style.ave.10=$(colour.operator)
68# Identifier (everything else...)
69style.ave.9=$(font.code.base),fore:#000000
70# SCE_AVE_WORD1 allocated but unused
71style.ave.11=back:#FF0000
72# Other keywords (bozo test colors :-)
73style.ave.12=$(font.code.base),fore:#003355,bold
74style.ave.13=$(font.code.base),fore:#005533,bold
75style.ave.14=$(colour.keyword)
76style.ave.15=$(colour.keyword)
77style.ave.16=$(colour.keyword)
78# Braces are only matched in operator style
79braces.ave.style=10
80############################################################
81
82
83avenue=ave "$(FilePath)"
84avenueGo=avego "$(FilePath)"
85avenueBuild=avebuild "$(FilePath)"
86
87################################################################
88#use winhlp32 system
89#if ArcView installed in other directory please correct path <C:\ESRI\AV_GIS30\ARCVIEW\HELP\ARCVIEW>
90#command.help.$(file.patterns.ave)=$(CurrentWord)!C:\ESRI\AV_GIS30\ARCVIEW\HELP\ARCVIEW
91#command.help.subsystem.$(file.patterns.ave)=5
92
93
94#~ # compile
95#~ command.compile.$(file.patterns.ave)=$(avenue)
96#~ command.go.$(file.patterns.ave)=$(avenueGo)
97#~ #send to arcview
98#~ command.name.0.*.ave=Insert into project
99#~ command.0.*.ave=$(avenueBuild)
100#~ command.subsystem.0.*.ave=1
101
102#~ command.name.1.*.ave=Variables Report
103#~ command.1.*.ave=VarsReport.exe  "$(FilePath)"
104