Wiki

SciTE: cobra.properties

File cobra.properties, 3.3 KB (added by torial, 14 years ago)

Cobra properties file

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