PageRenderTime 29ms CodeModel.GetById 16ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 0ms

/AvalonEdit/ICSharpCode.AvalonEdit/Highlighting/Resources/VBNET-Mode.xshd

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