Free cookie consent management tool by TermsFeed Policy Generator

source: branches/PersistentDataStructures/HeuristicLab.ExtLibs/HeuristicLab.AvalonEdit/5.0.1/AvalonEdit-5.0.1/Highlighting/Resources/VB-Mode.xshd @ 14648

Last change on this file since 14648 was 11700, checked in by jkarder, 10 years ago

#2077: created branch and added first version

File size: 6.6 KB
Line 
1<?xml version="1.0"?>
2
3<!-- Syntaxdefinition for VB.NET, v0.1 Rev 1 by Christian Holm -->
4<!-- Updated 2005 by Daniel Grunwald for VB.NET 2.0 -->
5<!-- Converted to AvalonEdit format by Daniel Grunwald in 2010 -->
6<!-- Updated 2010 by Siegfried Oleg Pammer for VB.NET 9 and 10 -->
7<!-- Updated 2011 by Siegfried Oleg Pammer for VB 11 CTP -->
8<SyntaxDefinition name="VB" extensions=".vb" xmlns="http://icsharpcode.net/sharpdevelop/syntaxdefinition/2008">
9  <Color name="Comment" foreground="Green" exampleText="' comment" />
10  <Color name="String" exampleText="text = &quot;Hello, World!&quot;" />
11 
12  <Color name="DateLiteral" foreground="Blue" exampleText="endOfWorld = #2012-12-21#" />
13  <Color name="Preprocessor" foreground="Maroon" exampleText="#Region &quot;Title&quot;" />
14  <Color name="DataTypes" foreground="#FF6F002F" exampleText="Dim b As Boolean = True" />
15  <Color name="Operators" foreground="#FF8515EA" exampleText="If a OrElse b Then"/>
16  <Color name="Constants" foreground="Blue" exampleText="b = False" />
17  <Color name="Keywords" foreground="Blue" exampleText="If a OrElse b Then" />
18  <Color name="FunctionKeywords" foreground="Blue" exampleText="CInt(a)" />
19  <Color name="ContextKeywords" foreground="Blue" exampleText="Declare Unicode Sub SomeMethod" />
20 
21  <Property name="DocCommentMarker" value="'''" />
22 
23  <RuleSet ignoreCase="true">
24    <Span color="String">
25      <Begin>"</Begin>
26      <End>"</End>
27      <RuleSet>
28        <Span begin="&quot;&quot;" end="" />
29      </RuleSet>
30    </Span>
31    <Span color="Preprocessor" ruleSet="PreprocessorSet">
32      <Begin>(?&lt;=(^\s*))\#</Begin>
33    </Span>
34    <Span color="DateLiteral">
35      <Begin>(?&lt;!(^\s*))\#</Begin>
36      <End>\#</End>
37    </Span>
38    <Span color="Comment" ruleSet="XmlDoc/DocCommentSet">
39      <Begin color="XmlDoc/DocComment">'''</Begin>
40    </Span>
41    <Span color="Comment">
42      <Begin>'</Begin>
43    </Span>
44    <Span color="Comment">
45      <Begin>\bREM\b</Begin>
46    </Span>
47    <Keywords color="DataTypes">
48      <Word>Boolean</Word>
49      <Word>Byte</Word>
50      <Word>Char</Word>
51      <Word>Date</Word>
52      <Word>Decimal</Word>
53      <Word>Double</Word>
54      <Word>Integer</Word>
55      <Word>Long</Word>
56      <Word>Object</Word>
57      <Word>SByte</Word>
58      <Word>Short</Word>
59      <Word>Single</Word>
60      <Word>String</Word>
61      <Word>UInteger</Word>
62      <Word>ULong</Word>
63      <Word>UShort</Word>
64      <Word>Variant</Word>
65    </Keywords>
66    <Keywords color="Operators">
67      <Word>AddressOf</Word>
68      <Word>And</Word>
69      <Word>AndAlso</Word>
70      <Word>Await</Word>
71      <Word>Is</Word>
72      <Word>IsNot</Word>
73      <Word>Like</Word>
74      <Word>Mod</Word>
75      <Word>New</Word>
76      <Word>Not</Word>
77      <Word>Or</Word>
78      <Word>OrElse</Word>
79      <Word>Xor</Word>
80    </Keywords>
81    <Keywords color="Constants">
82      <Word>False</Word>
83      <Word>Me</Word>
84      <Word>MyBase</Word>
85      <Word>MyClass</Word>
86      <Word>Nothing</Word>
87      <Word>True</Word>
88    </Keywords>
89    <Keywords color="FunctionKeywords">
90      <Word>CBool</Word>
91      <Word>CByte</Word>
92      <Word>CChar</Word>
93      <Word>CDate</Word>
94      <Word>CDbl</Word>
95      <Word>CDec</Word>
96      <Word>CInt</Word>
97      <Word>CLng</Word>
98      <Word>CObj</Word>
99      <Word>CSByte</Word>
100      <Word>CShort</Word>
101      <Word>CSng</Word>
102      <Word>CStr</Word>
103      <Word>CType</Word>
104      <Word>CUInt</Word>
105      <Word>CULng</Word>
106      <Word>CUShort</Word>
107      <Word>DirectCast</Word>
108      <Word>GetType</Word>
109      <Word>GetXmlNamespace</Word>
110      <Word>IIf</Word>
111      <Word>TryCast</Word>
112      <Word>TypeOf</Word>
113    </Keywords>
114    <Keywords color="Keywords">
115      <Word>AddHandler</Word>
116      <Word>Alias</Word>
117      <Word>As</Word>
118      <Word>ByRef</Word>
119      <Word>ByVal</Word>
120      <Word>Call</Word>
121      <Word>Case</Word>
122      <Word>Catch</Word>
123      <Word>Class</Word>
124      <Word>Const</Word>
125      <Word>Continue</Word>
126      <Word>Declare</Word>
127      <Word>Default</Word>
128      <Word>Delegate</Word>
129      <Word>Dim</Word>
130      <Word>Do</Word>
131      <Word>Each</Word>
132      <Word>Else</Word>
133      <Word>ElseIf</Word>
134      <Word>End</Word>
135      <Word>EndIf</Word>
136      <Word>Enum</Word>
137      <Word>Erase</Word>
138      <Word>Error</Word>
139      <Word>Event</Word>
140      <Word>Exit</Word>
141      <Word>Finally</Word>
142      <Word>For</Word>
143      <Word>Friend</Word>
144      <Word>Function</Word>
145      <Word>Get</Word>
146      <Word>Global</Word>
147      <Word>GoSub</Word>
148      <Word>GoTo</Word>
149      <Word>Handles</Word>
150      <Word>If</Word>
151      <Word>Implements</Word>
152      <Word>Imports</Word>
153      <Word>In</Word>
154      <Word>Inherits</Word>
155      <Word>Interface</Word>
156      <Word>Let</Word>
157      <Word>Lib</Word>
158      <Word>Loop</Word>
159      <Word>Module</Word>
160      <Word>MustInherit</Word>
161      <Word>MustOverride</Word>
162      <Word>Namespace</Word>
163      <Word>Narrowing</Word>
164      <Word>New</Word>
165      <Word>Next</Word>
166      <Word>NotInheritable</Word>
167      <Word>NotOverridable</Word>
168      <Word>Of</Word>
169      <Word>On</Word>
170      <Word>Operator</Word>
171      <Word>Option</Word>
172      <Word>Optional</Word>
173      <Word>Overloads</Word>
174      <Word>Overridable</Word>
175      <Word>Overrides</Word>
176      <Word>ParamArray</Word>
177      <Word>Partial</Word>
178      <Word>Private</Word>
179      <Word>Property</Word>
180      <Word>Protected</Word>
181      <Word>Public</Word>
182      <Word>RaiseEvent</Word>
183      <Word>ReadOnly</Word>
184      <Word>ReDim</Word>
185      <Word>RemoveHandler</Word>
186      <Word>Resume</Word>
187      <Word>Return</Word>
188      <Word>Select</Word>
189      <Word>Set</Word>
190      <Word>Shadows</Word>
191      <Word>Shared</Word>
192      <Word>Static</Word>
193      <Word>Step</Word>
194      <Word>Stop</Word>
195      <Word>Structure</Word>
196      <Word>Sub</Word>
197      <Word>SyncLock</Word>
198      <Word>Then</Word>
199      <Word>Throw</Word>
200      <Word>To</Word>
201      <Word>Try</Word>
202      <Word>Using</Word>
203      <Word>Wend</Word>
204      <Word>When</Word>
205      <Word>While</Word>
206      <Word>Widening</Word>
207      <Word>With</Word>
208      <Word>WithEvents</Word>
209      <Word>WriteOnly</Word>
210    </Keywords>
211    <Keywords color="ContextKeywords">
212      <Word>Aggregate</Word>
213      <Word>Ansi</Word>
214      <Word>Ascending</Word>
215      <Word>Async</Word>
216      <Word>Auto</Word>
217      <Word>Binary</Word>
218      <Word>By</Word>
219      <Word>Compare</Word>
220      <Word>Custom</Word>
221      <Word>Descending</Word>
222      <Word>Distinct</Word>
223      <Word>Equals</Word>
224      <Word>Explicit</Word>
225      <Word>From</Word>
226      <Word>Group</Word>
227      <Word>Infer</Word>
228      <Word>Into</Word>
229      <Word>Iterator</Word>
230      <Word>Join</Word>
231      <Word>Key</Word>
232      <Word>Off</Word>
233      <Word>Preserve</Word>
234      <Word>Skip</Word>
235      <Word>Strict</Word>
236      <Word>Take</Word>
237      <Word>Text</Word>
238      <Word>Unicode</Word>
239      <Word>Until</Word>
240      <Word>Where</Word>
241      <Word>Yield</Word>
242    </Keywords>
243  </RuleSet>
244  <RuleSet name="PreprocessorSet" ignoreCase="true">
245    <Keywords fontWeight="bold">
246      <Word>Const</Word>
247      <Word>Else</Word>
248      <Word>ElseIf</Word>
249      <Word>End</Word>
250      <Word>ExternalChecksum</Word>
251      <Word>ExternalSource</Word>
252      <Word>If</Word>
253      <Word>Region</Word>
254    </Keywords>
255  </RuleSet>
256</SyntaxDefinition>
Note: See TracBrowser for help on using the repository browser.