1 | # Define SciTE settings for Cobra files. |
---|
2 | # Adapted from Python mode |
---|
3 | |
---|
4 | file.patterns.cobra=*.cobra |
---|
5 | |
---|
6 | filter.cobra=cobra (cobra)|$(file.patterns.cobra)| |
---|
7 | |
---|
8 | lexer.$(file.patterns.cobra)=python |
---|
9 | |
---|
10 | keywordclass.cobra=all and any as assert \ |
---|
11 | base be body bool branch break \ |
---|
12 | callable catch char class continue cue \ |
---|
13 | decimal def down dynamic \ |
---|
14 | else end ensure enum event every except expect extend \ |
---|
15 | false finally float for from get global has \ |
---|
16 | if ignore implements implies import in inherits inlined inout instance int interface invariant is \ |
---|
17 | listen must namespace nil not number \ |
---|
18 | objc of off old on or out override \ |
---|
19 | par pass passthrough post print pro \ |
---|
20 | raise ref require return same set shared step stop struct success \ |
---|
21 | test this throw to to? trace true try \ |
---|
22 | use using var vari virtual where where while yield \ |
---|
23 | |
---|
24 | keywords.$(file.patterns.cobra)=$(keywordclass.cobra) |
---|
25 | |
---|
26 | statement.indent.$(file.patterns.cobra)=10 : |
---|
27 | statement.end.$(file.patterns.cobra)= |
---|
28 | statement.lookback.$(file.patterns.cobra)=0 |
---|
29 | block.start.$(file.patterns.cobra)= |
---|
30 | block.end.$(file.patterns.cobra)= |
---|
31 | |
---|
32 | |
---|
33 | tab.timmy.whinge.level=1 |
---|
34 | |
---|
35 | #fold.quotes.cobra=1 |
---|
36 | |
---|
37 | comment.block.cobra=#~ |
---|
38 | comment.stream.start.cobra=/# |
---|
39 | comment.stream.end.cobra=#/ |
---|
40 | comment.stream.start.python=/# |
---|
41 | comment.stream.end.python=#/ |
---|
42 | comment.box.start.cobra=/# |
---|
43 | comment.box.middle.cobra= |
---|
44 | comment.box.end.cobra=#/ |
---|
45 | comment.box.start.python=/# |
---|
46 | comment.box.middle.python= |
---|
47 | comment.box.end.python=#/ |
---|
48 | |
---|
49 | # cobra styles |
---|
50 | # White space |
---|
51 | style.cobra.0=fore:#808080 |
---|
52 | # Comment |
---|
53 | style.cobra.1=fore:#007F00,$(font.comment) |
---|
54 | # Number |
---|
55 | style.cobra.2=fore:#007F7F |
---|
56 | # String |
---|
57 | style.cobra.3=fore:#7F007F,$(font.monospace) |
---|
58 | # Single quoted string |
---|
59 | style.cobra.4=fore:#7F007F,$(font.monospace) |
---|
60 | # Keyword |
---|
61 | style.cobra.5=fore:#00007F,bold |
---|
62 | # Triple quotes |
---|
63 | style.cobra.6=fore:#7F0000 |
---|
64 | # Triple double quotes |
---|
65 | style.cobra.7=fore:#7F0000 |
---|
66 | # Class name definition |
---|
67 | style.cobra.8=fore:#0000FF,bold |
---|
68 | # Function or method name definition |
---|
69 | style.cobra.9=fore:#007F7F,bold |
---|
70 | # Operators |
---|
71 | style.cobra.10=bold |
---|
72 | # Identifiers |
---|
73 | style.cobra.11= |
---|
74 | # Comment-blocks |
---|
75 | style.cobra.12=fore:#7F7F7F |
---|
76 | # End of line where string is not closed |
---|
77 | style.cobra.13=fore:#000000,$(font.monospace),back:#E0C0E0,eolfilled |
---|
78 | # Highlighted identifiers |
---|
79 | style.cobra.14=fore:#407090 |
---|
80 | # Decorators |
---|
81 | style.cobra.15=fore:#805000 |
---|
82 | # Matched Operators |
---|
83 | style.cobra.34=fore:#0000FF,bold |
---|
84 | style.cobra.35=fore:#FF0000,bold |
---|
85 | # Braces are only matched in operator style |
---|
86 | braces.cobra.style=10 |
---|
87 | |
---|
88 | font.comment=font:Courier New,size:10,fore:#007700 |
---|
89 | |
---|
90 | cobra=C:\Cobra\bin\cobra.bat |
---|
91 | cobraert=C:\Cobra\bin\cobraERT.bat |
---|
92 | cobrawin = C:\Cobra\bin\cobra-win.bat |
---|
93 | objExplorer =C:\Cobra\bin\ObjectExplorer-WinForms.cobra |
---|
94 | command.go.*.cobra=$(cobra) "$(FilePath)" |
---|
95 | command.build.*.cobra=$(cobra) -c -turbo "$(FilePath)" |
---|
96 | command.compile.*=$(cobra) -c "$(FilePath)" |
---|
97 | |
---|
98 | command.name.0.*.cobra=Test |
---|
99 | command.0.*.cobra=$(cobra) -test "$(FilePath)" |
---|
100 | command.save.before.0.*.cobra=yes |
---|
101 | |
---|
102 | command.name.1.*.cobra=Object Explorer |
---|
103 | command.1.*.cobra=$(cobra) -ref:System.Windows.Forms -ref:System.Drawing "$(objExplorer)" "$(FilePath)" |
---|
104 | command.save.before.1.*.cobra=yes |
---|
105 | |
---|
106 | command.name.2.*.cobra=Compile ERT |
---|
107 | command.2.*.cobra=$(cobraert) -c -turbo "$(FilePath)" |
---|
108 | command.save.before.2.*.cobra=yes |
---|
109 | |
---|
110 | command.name.3.*.cobra=Compile Library |
---|
111 | command.3.*.cobra=$(cobraert) -c -target:lib "$(FilePath)" |
---|
112 | command.save.before.3.*.cobra=yes |
---|
113 | |
---|