;Visual Basic.net Syntax highlight Script for Twistpad
;1998 - 2007 © Carthago Software

[::Header::]
SyntaxName=Visual Basic.net
Extensions=vb
Functions=(?i)^(sub|function|private.sub|private.function|public.sub|public.function)(.*)(\(.*$)
FunctionSubs=$2
Spelling=0 
SpellingContexts=1;2;3
CommentChar='

[Comment1]
Type=StartStop
Context=1
Scope=0
Priority=10
WholeWordOnly=0
First='
Last=
ColorConstant=ColorComments
italic=0

[Comment2]
Type=StartStop
Context=2
Scope=0
Priority=10
WholeWordOnly=1
First=rem
Last=
ColorConstant=ColorComments
italic=0

[Quote]
Type=StartStop
Context=3
Scope=0
Priority=10
WholeWordOnly=0
First="
Last="
ColorConstant=ColorStrings

[Sub]
Type=StartStop
Context=5
Scope=0
Priority=4
WholeWordOnly=1
First=Sub
Last=End Sub
italic=0
BeginParagraph=1
Outline=1

[Function]
Type=StartStop
Context=5
Scope=0
Priority=4
WholeWordOnly=1
First=Function
Last=End Function
italic=0
BeginParagraph=1
Outline=1

[PublicFunction]
Type=StartStop
Context=5
Scope=0
Priority=4
WholeWordOnly=1
First=Public Function
Last=End Function
italic=0
BeginParagraph=1
Outline=1

[PrivateFunction]
Type=StartStop
Context=5
Scope=0
Priority=4
WholeWordOnly=1
First=Private Function
Last=End Function
italic=0
BeginParagraph=1
Outline=1

[PublicSub]
Type=StartStop
Context=5
Scope=0
Priority=4
WholeWordOnly=1
First=Public Sub
Last=End Sub
italic=0
BeginParagraph=1
Outline=1

[PrivateSub]
Type=StartStop
Context=5
Scope=0
Priority=4
WholeWordOnly=1
First=Private Sub
Last=End Sub
italic=0
BeginParagraph=1
Outline=1

[ssRegions]
Type=StartStop
Context=6
Scope=0
Priority=4
WholeWordOnly=1
First=#region
Last=#end region
Outline=1
BeginParagraph=1
smart=1

[VB Keyword]
Type=keyword
Context=101
Scope=0
Priority=6
WholeWordOnly=1
Keyword1=cshort;csng;cstr;ctype;declare;default;delegate;dim;directcast;do;each;else;elseif;end;enum;erase;error;event;exit;explicit;false;finally;for;friend;function;get;gettype;goto;handles
Keyword2=implements;imports;in;inherits;interface;is;let;lib;like;loop;me;mod;module;mustinherit;mustoverride;mybase;myclass;namespace;new;next;not;nothing;notinheritable;notoverridable;object;on;option;optional;or;orelse
Keyword3=overloads;overridable;overrides;paramarray;preserve;private;property;protected;public;raiseevent;readonly;redim;rem;removehandler;resume;return;select;set;shadows;shared;static;step;stop;structure;sub;synclock;then;throw;to;true;try;typeof;unicode
Keyword4=until;variant;when;while;with;withevents;writeonly;xor;region;as;class;strict;case;if
Keyword5=
Keyword6=
Keyword7=
Keyword8=
Keyword9=
Keyword10=
ColorConstant=ColorKeyword1
Bold=0
