annotate runtime/syntax/vb.vim @ 29864:34ff4f601c42

Added tag v9.0.0270 for changeset 62350f19d4ede80a4ef4f09545ed36aef3ea6221
author Bram Moolenaar <Bram@vim.org>
date Thu, 25 Aug 2022 19:15:03 +0200
parents c725b8e17f1f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim syntax file
26438
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
2 " Language: Visual Basic
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
3 " Maintainer: Doug Kearns <dougkearns@gmail.com>
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
4 " Former Maintainer: Tim Chase <vb.vim@tim.thechases.com>
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
5 " Former Maintainer: Robert M. Cortopassi <cortopar@mindspring.com>
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
6 " (tried multiple times to contact, but email bounced)
1122
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
7 " Last Change:
26438
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
8 " 2021 Nov 26 Incorporated additions from Doug Kearns
1122
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
9 " 2005 May 25 Synched with work by Thomas Barthel
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 " 2004 May 30 Added a few keywords
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 " This was thrown together after seeing numerous requests on the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 " VIM and VIM-DEV mailing lists. It is by no means complete.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 " Send comments, suggestions and requests to the maintainer.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 6951
diff changeset
16 " quit when a syntax file was already loaded
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 6951
diff changeset
17 if exists("b:current_syntax")
26438
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
18 finish
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 " VB is case insensitive
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 syn case ignore
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23
1122
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
24 syn keyword vbConditional If Then ElseIf Else Select Case
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25
1122
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
26 syn keyword vbOperator AddressOf And ByRef ByVal Eqv Imp In
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
27 syn keyword vbOperator Is Like Mod Not Or To Xor
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 syn match vbOperator "[()+.,\-/*=&]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 syn match vbOperator "[<>]=\="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 syn match vbOperator "<>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 syn match vbOperator "\s\+_$"
1122
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
33
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
34 syn keyword vbBoolean True False
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
35 syn keyword vbConst Null Nothing
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
36
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
37 syn keyword vbRepeat Do For ForEach Loop Next
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
38 syn keyword vbRepeat Step To Until Wend While
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
39
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
40 syn keyword vbEvents AccessKeyPress Activate ActiveRowChanged
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
41 syn keyword vbEvents AfterAddFile AfterChangeFileName AfterCloseFile
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
42 syn keyword vbEvents AfterColEdit AfterColUpdate AfterDelete
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
43 syn keyword vbEvents AfterInsert AfterLabelEdit AfterRemoveFile
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
44 syn keyword vbEvents AfterUpdate AfterWriteFile AmbientChanged
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
45 syn keyword vbEvents ApplyChanges Associate AsyncProgress
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
46 syn keyword vbEvents AsyncReadComplete AsyncReadProgress AxisActivated
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
47 syn keyword vbEvents AxisLabelActivated AxisLabelSelected
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
48 syn keyword vbEvents AxisLabelUpdated AxisSelected AxisTitleActivated
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
49 syn keyword vbEvents AxisTitleSelected AxisTitleUpdated AxisUpdated
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
50 syn keyword vbEvents BeforeClick BeforeColEdit BeforeColUpdate
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
51 syn keyword vbEvents BeforeConnect BeforeDelete BeforeInsert
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
52 syn keyword vbEvents BeforeLabelEdit BeforeLoadFile BeforeUpdate
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
53 syn keyword vbEvents BeginRequest BeginTrans ButtonClick
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
54 syn keyword vbEvents ButtonCompleted ButtonDropDown ButtonGotFocus
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
55 syn keyword vbEvents ButtonLostFocus CallbackKeyDown Change Changed
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
56 syn keyword vbEvents ChartActivated ChartSelected ChartUpdated Click
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
57 syn keyword vbEvents Close CloseQuery CloseUp ColEdit ColResize
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
58 syn keyword vbEvents Collapse ColumnClick CommitTrans Compare
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
59 syn keyword vbEvents ConfigChageCancelled ConfigChanged
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
60 syn keyword vbEvents ConfigChangedCancelled Connect ConnectionRequest
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
61 syn keyword vbEvents CurrentRecordChanged DECommandAdded
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
62 syn keyword vbEvents DECommandPropertyChanged DECommandRemoved
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
63 syn keyword vbEvents DEConnectionAdded DEConnectionPropertyChanged
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
64 syn keyword vbEvents DEConnectionRemoved DataArrival DataChanged
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
65 syn keyword vbEvents DataUpdated DateClicked DblClick Deactivate
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
66 syn keyword vbEvents DevModeChange DeviceArrival DeviceOtherEvent
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
67 syn keyword vbEvents DeviceQueryRemove DeviceQueryRemoveFailed
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
68 syn keyword vbEvents DeviceRemoveComplete DeviceRemovePending
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
69 syn keyword vbEvents Disconnect DisplayChanged Dissociate
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
70 syn keyword vbEvents DoGetNewFileName Done DonePainting DownClick
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
71 syn keyword vbEvents DragDrop DragOver DropDown EditProperty EditQuery
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
72 syn keyword vbEvents EndRequest EnterCell EnterFocus ExitFocus Expand
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
73 syn keyword vbEvents FontChanged FootnoteActivated FootnoteSelected
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
74 syn keyword vbEvents FootnoteUpdated Format FormatSize GotFocus
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
75 syn keyword vbEvents HeadClick HeightChanged Hide InfoMessage
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
76 syn keyword vbEvents IniProperties InitProperties Initialize
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
77 syn keyword vbEvents ItemActivated ItemAdded ItemCheck ItemClick
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
78 syn keyword vbEvents ItemReloaded ItemRemoved ItemRenamed
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
79 syn keyword vbEvents ItemSeletected KeyDown KeyPress KeyUp LeaveCell
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
80 syn keyword vbEvents LegendActivated LegendSelected LegendUpdated
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
81 syn keyword vbEvents LinkClose LinkError LinkExecute LinkNotify
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
82 syn keyword vbEvents LinkOpen Load LostFocus MouseDown MouseMove
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
83 syn keyword vbEvents MouseUp NodeCheck NodeClick OLECompleteDrag
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
84 syn keyword vbEvents OLEDragDrop OLEDragOver OLEGiveFeedback OLESetData
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
85 syn keyword vbEvents OLEStartDrag ObjectEvent ObjectMove OnAddNew
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
86 syn keyword vbEvents OnComm Paint PanelClick PanelDblClick PathChange
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
87 syn keyword vbEvents PatternChange PlotActivated PlotSelected
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
88 syn keyword vbEvents PlotUpdated PointActivated PointLabelActivated
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
89 syn keyword vbEvents PointLabelSelected PointLabelUpdated PointSelected
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
90 syn keyword vbEvents PointUpdated PowerQuerySuspend PowerResume
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
91 syn keyword vbEvents PowerStatusChanged PowerSuspend ProcessTag
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
92 syn keyword vbEvents ProcessingTimeout QueryChangeConfig QueryClose
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
93 syn keyword vbEvents QueryComplete QueryCompleted QueryTimeout
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
94 syn keyword vbEvents QueryUnload ReadProperties RepeatedControlLoaded
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
95 syn keyword vbEvents RepeatedControlUnloaded Reposition
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
96 syn keyword vbEvents RequestChangeFileName RequestWriteFile Resize
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
97 syn keyword vbEvents ResultsChanged RetainedProject RollbackTrans
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
98 syn keyword vbEvents RowColChange RowCurrencyChange RowResize
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
99 syn keyword vbEvents RowStatusChanged Scroll SelChange SelectionChanged
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
100 syn keyword vbEvents SendComplete SendProgress SeriesActivated
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
101 syn keyword vbEvents SeriesSelected SeriesUpdated SettingChanged Show
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
102 syn keyword vbEvents SplitChange Start StateChanged StatusUpdate
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
103 syn keyword vbEvents SysColorsChanged Terminate TimeChanged Timer
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
104 syn keyword vbEvents TitleActivated TitleSelected TitleUpdated
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
105 syn keyword vbEvents UnboundAddData UnboundDeleteRow
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
106 syn keyword vbEvents UnboundGetRelativeBookmark UnboundReadData
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
107 syn keyword vbEvents UnboundWriteData Unformat Unload UpClick Updated
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
108 syn keyword vbEvents UserEvent Validate ValidationError
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
109 syn keyword vbEvents VisibleRecordChanged WillAssociate WillChangeData
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
110 syn keyword vbEvents WillDissociate WillExecute WillUpdateRows
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
111 syn keyword vbEvents WriteProperties
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
112
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
113
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
114 syn keyword vbFunction Abs Array Asc AscB AscW Atn Avg BOF CBool CByte
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
115 syn keyword vbFunction CCur CDate CDbl CInt CLng CSng CStr CVDate CVErr
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
116 syn keyword vbFunction CVar CallByName Cdec Choose Chr ChrB ChrW Command
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
117 syn keyword vbFunction Cos Count CreateObject CurDir DDB Date DateAdd
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
118 syn keyword vbFunction DateDiff DatePart DateSerial DateValue Day Dir
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
119 syn keyword vbFunction DoEvents EOF Environ Error Exp FV FileAttr
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
120 syn keyword vbFunction FileDateTime FileLen FilterFix Fix Format
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
121 syn keyword vbFunction FormatCurrency FormatDateTime FormatNumber
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
122 syn keyword vbFunction FormatPercent FreeFile GetAllStrings GetAttr
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
123 syn keyword vbFunction GetAutoServerSettings GetObject GetSetting Hex
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
124 syn keyword vbFunction Hour IIf IMEStatus IPmt InStr Input InputB
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
125 syn keyword vbFunction InputBox InstrB Int IsArray IsDate IsEmpty IsError
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
126 syn keyword vbFunction IsMissing IsNull IsNumeric IsObject Join LBound
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
127 syn keyword vbFunction LCase LOF LTrim Left LeftB Len LenB LoadPicture
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
128 syn keyword vbFunction LoadResData LoadResPicture LoadResString Loc Log
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
129 syn keyword vbFunction MIRR Max Mid MidB Min Minute Month MonthName
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
130 syn keyword vbFunction MsgBox NPV NPer Now Oct PPmt PV Partition Pmt
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
131 syn keyword vbFunction QBColor RGB RTrim Rate Replace Right RightB Rnd
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
132 syn keyword vbFunction Round SLN SYD Second Seek Sgn Shell Sin Space Spc
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
133 syn keyword vbFunction Split Sqr StDev StDevP Str StrComp StrConv
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
134 syn keyword vbFunction StrReverse String Sum Switch Tab Tan Time
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
135 syn keyword vbFunction TimeSerial TimeValue Timer Trim TypeName UBound
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
136 syn keyword vbFunction UCase Val Var VarP VarType Weekday WeekdayName
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
137 syn keyword vbFunction Year
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138
1122
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
139 syn keyword vbMethods AboutBox Accept Activate Add AddCustom AddFile
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
140 syn keyword vbMethods AddFromFile AddFromGuid AddFromString
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
141 syn keyword vbMethods AddFromTemplate AddItem AddNew AddToAddInToolbar
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
142 syn keyword vbMethods AddToolboxProgID Append AppendAppendChunk
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
143 syn keyword vbMethods AppendChunk Arrange Assert AsyncRead BatchUpdate
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
144 syn keyword vbMethods BeginQueryEdit BeginTrans Bind BuildPath
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
145 syn keyword vbMethods CanPropertyChange Cancel CancelAsyncRead
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
146 syn keyword vbMethods CancelBatch CancelUpdate CaptureImage CellText
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
147 syn keyword vbMethods CellValue Circle Clear ClearFields ClearSel
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
148 syn keyword vbMethods ClearSelCols ClearStructure Clone Close Cls
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
149 syn keyword vbMethods ColContaining CollapseAll ColumnSize CommitTrans
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
150 syn keyword vbMethods CompactDatabase Compose Connect Copy CopyFile
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
151 syn keyword vbMethods CopyFolder CopyQueryDef Count CreateDatabase
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
152 syn keyword vbMethods CreateDragImage CreateEmbed CreateField
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
153 syn keyword vbMethods CreateFolder CreateGroup CreateIndex CreateLink
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
154 syn keyword vbMethods CreatePreparedStatement CreatePropery CreateQuery
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
155 syn keyword vbMethods CreateQueryDef CreateRelation CreateTableDef
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
156 syn keyword vbMethods CreateTextFile CreateToolWindow CreateUser
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
157 syn keyword vbMethods CreateWorkspace Customize Cut Delete
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
158 syn keyword vbMethods DeleteColumnLabels DeleteColumns DeleteFile
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
159 syn keyword vbMethods DeleteFolder DeleteLines DeleteRowLabels
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
160 syn keyword vbMethods DeleteRows DeselectAll DesignerWindow DoVerb Drag
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
161 syn keyword vbMethods Draw DriveExists Edit EditCopy EditPaste EndDoc
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
162 syn keyword vbMethods EnsureVisible EstablishConnection Execute Exists
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
163 syn keyword vbMethods Expand Export ExportReport ExtractIcon Fetch
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
164 syn keyword vbMethods FetchVerbs FileExists Files FillCache Find
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
165 syn keyword vbMethods FindFirst FindItem FindLast FindNext FindPrevious
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
166 syn keyword vbMethods FolderExists Forward GetAbsolutePathName
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
167 syn keyword vbMethods GetBaseName GetBookmark GetChunk GetClipString
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
168 syn keyword vbMethods GetData GetDrive GetDriveName GetFile GetFileName
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
169 syn keyword vbMethods GetFirstVisible GetFolder GetFormat GetHeader
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
170 syn keyword vbMethods GetLineFromChar GetNumTicks GetParentFolderName
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
171 syn keyword vbMethods GetRows GetSelectedPart GetSelection
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
172 syn keyword vbMethods GetSpecialFolder GetTempName GetText
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
173 syn keyword vbMethods GetVisibleCount GoBack GoForward Hide HitTest
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
174 syn keyword vbMethods HoldFields Idle Import InitializeLabels Insert
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
175 syn keyword vbMethods InsertColumnLabels InsertColumns InsertFile
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
176 syn keyword vbMethods InsertLines InsertObjDlg InsertRowLabels
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
177 syn keyword vbMethods InsertRows Item Keys KillDoc Layout Line Lines
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
178 syn keyword vbMethods LinkExecute LinkPoke LinkRequest LinkSend Listen
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
179 syn keyword vbMethods LoadFile LoadResData LoadResPicture LoadResString
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
180 syn keyword vbMethods LogEvent MakeCompileFile MakeCompiledFile
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
181 syn keyword vbMethods MakeReplica MoreResults Move MoveData MoveFile
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
182 syn keyword vbMethods MoveFirst MoveFolder MoveLast MoveNext
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
183 syn keyword vbMethods MovePrevious NavigateTo NewPage NewPassword
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
184 syn keyword vbMethods NextRecordset OLEDrag OnAddinsUpdate OnConnection
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
185 syn keyword vbMethods OnDisconnection OnStartupComplete Open
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
186 syn keyword vbMethods OpenAsTextStream OpenConnection OpenDatabase
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
187 syn keyword vbMethods OpenQueryDef OpenRecordset OpenResultset OpenURL
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
188 syn keyword vbMethods Overlay PSet PaintPicture PastSpecialDlg Paste
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
189 syn keyword vbMethods PeekData Play Point PopulatePartial PopupMenu
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
190 syn keyword vbMethods Print PrintForm PrintReport PropertyChanged Quit
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
191 syn keyword vbMethods Raise RandomDataFill RandomFillColumns
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
192 syn keyword vbMethods RandomFillRows ReFill Read ReadAll ReadFromFile
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
193 syn keyword vbMethods ReadLine ReadProperty Rebind Refresh RefreshLink
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
194 syn keyword vbMethods RegisterDatabase ReleaseInstance Reload Remove
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
195 syn keyword vbMethods RemoveAddInFromToolbar RemoveAll RemoveItem Render
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
196 syn keyword vbMethods RepairDatabase ReplaceLine Reply ReplyAll Requery
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
197 syn keyword vbMethods ResetCustom ResetCustomLabel ResolveName
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
198 syn keyword vbMethods RestoreToolbar Resync Rollback RollbackTrans
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
199 syn keyword vbMethods RowBookmark RowContaining RowTop Save SaveAs
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
200 syn keyword vbMethods SaveFile SaveToFile SaveToOle1File SaveToolbar
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
201 syn keyword vbMethods Scale ScaleX ScaleY Scroll SelPrint SelectAll
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
202 syn keyword vbMethods SelectPart Send SendData Set SetAutoServerSettings
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
203 syn keyword vbMethods SetData SetFocus SetOption SetSelection SetSize
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
204 syn keyword vbMethods SetText SetViewport Show ShowColor ShowFont
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
205 syn keyword vbMethods ShowHelp ShowOpen ShowPrinter ShowSave
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
206 syn keyword vbMethods ShowWhatsThis SignOff SignOn Size Skip SkipLine
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
207 syn keyword vbMethods Span Split SplitContaining StartLabelEdit
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
208 syn keyword vbMethods StartLogging Stop Synchronize Tag TextHeight
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
209 syn keyword vbMethods TextWidth ToDefaults Trace TwipsToChartPart
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
210 syn keyword vbMethods TypeByChartType URLFor Update UpdateControls
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
211 syn keyword vbMethods UpdateRecord UpdateRow Upto ValidateControls Value
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
212 syn keyword vbMethods WhatsThisMode Write WriteBlankLines WriteLine
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
213 syn keyword vbMethods WriteProperty WriteTemplate ZOrder
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
214 syn keyword vbMethods rdoCreateEnvironment rdoRegisterDataSource
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
215
1122
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
216 syn keyword vbStatement Alias AppActivate As Base Beep Begin Call ChDir
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
217 syn keyword vbStatement ChDrive Close Const Date Declare DefBool DefByte
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
218 syn keyword vbStatement DefCur DefDate DefDbl DefDec DefInt DefLng DefObj
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
219 syn keyword vbStatement DefSng DefStr DefVar Deftype DeleteSetting Dim Do
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
220 syn keyword vbStatement Each ElseIf End Enum Erase Error Event Exit
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
221 syn keyword vbStatement Explicit FileCopy For ForEach Function Get GoSub
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
222 syn keyword vbStatement GoTo Gosub Implements Kill LSet Let Lib LineInput
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
223 syn keyword vbStatement Load Lock Loop Mid MkDir Name Next On OnError Open
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
224 syn keyword vbStatement Option Preserve Private Property Public Put RSet
6951
b2673982c625 Updated and new runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1122
diff changeset
225 syn keyword vbStatement RaiseEvent Randomize ReDim Redim Reset Resume
1122
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
226 syn keyword vbStatement Return RmDir SavePicture SaveSetting Seek SendKeys
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
227 syn keyword vbStatement Sendkeys Set SetAttr Static Step Stop Sub Time
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
228 syn keyword vbStatement Type Unload Unlock Until Wend While Width With
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
229 syn keyword vbStatement Write
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
230
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
231 syn keyword vbKeyword As Binary ByRef ByVal Date Empty Error Friend Get
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
232 syn keyword vbKeyword Input Is Len Lock Me Mid New Nothing Null On
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
233 syn keyword vbKeyword Option Optional ParamArray Print Private Property
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
234 syn keyword vbKeyword Public PublicNotCreateable OnNewProcessSingleUse
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
235 syn keyword vbKeyword InSameProcessMultiUse GlobalMultiUse Resume Seek
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
236 syn keyword vbKeyword Set Static Step String Time WithEvents
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
237
26438
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
238 syn keyword vbTodo contained TODO
1122
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
239
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
240 "Datatypes
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
241 syn keyword vbTypes Boolean Byte Currency Date Decimal Double Empty
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
242 syn keyword vbTypes Integer Long Object Single String Variant
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
243
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
244 "VB defined values
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
245 syn keyword vbDefine dbBigInt dbBinary dbBoolean dbByte dbChar
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
246 syn keyword vbDefine dbCurrency dbDate dbDecimal dbDouble dbFloat
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
247 syn keyword vbDefine dbGUID dbInteger dbLong dbLongBinary dbMemo
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
248 syn keyword vbDefine dbNumeric dbSingle dbText dbTime dbTimeStamp
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
249 syn keyword vbDefine dbVarBinary
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
250
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
251 "VB defined values
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
252 syn keyword vbDefine vb3DDKShadow vb3DFace vb3DHighlight vb3DLight
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
253 syn keyword vbDefine vb3DShadow vbAbort vbAbortRetryIgnore
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
254 syn keyword vbDefine vbActiveBorder vbActiveTitleBar vbAlias
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
255 syn keyword vbDefine vbApplicationModal vbApplicationWorkspace
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
256 syn keyword vbDefine vbAppTaskManager vbAppWindows vbArchive vbArray
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
257 syn keyword vbDefine vbBack vbBinaryCompare vbBlack vbBlue vbBoolean
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
258 syn keyword vbDefine vbButtonFace vbButtonShadow vbButtonText vbByte
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
259 syn keyword vbDefine vbCalGreg vbCalHijri vbCancel vbCr vbCritical
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
260 syn keyword vbDefine vbCrLf vbCurrency vbCyan vbDatabaseCompare
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
261 syn keyword vbDefine vbDataObject vbDate vbDecimal vbDefaultButton1
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
262 syn keyword vbDefine vbDefaultButton2 vbDefaultButton3 vbDefaultButton4
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
263 syn keyword vbDefine vbDesktop vbDirectory vbDouble vbEmpty vbError
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
264 syn keyword vbDefine vbExclamation vbFirstFourDays vbFirstFullWeek
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
265 syn keyword vbDefine vbFirstJan1 vbFormCode vbFormControlMenu
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
266 syn keyword vbDefine vbFormFeed vbFormMDIForm vbFriday vbFromUnicode
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
267 syn keyword vbDefine vbGrayText vbGreen vbHidden vbHide vbHighlight
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
268 syn keyword vbDefine vbHighlightText vbHiragana vbIgnore vbIMEAlphaDbl
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
269 syn keyword vbDefine vbIMEAlphaSng vbIMEDisable vbIMEHiragana
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
270 syn keyword vbDefine vbIMEKatakanaDbl vbIMEKatakanaSng vbIMEModeAlpha
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
271 syn keyword vbDefine vbIMEModeAlphaFull vbIMEModeDisable
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
272 syn keyword vbDefine vbIMEModeHangul vbIMEModeHangulFull
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
273 syn keyword vbDefine vbIMEModeHiragana vbIMEModeKatakana
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
274 syn keyword vbDefine vbIMEModeKatakanaHalf vbIMEModeNoControl
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
275 syn keyword vbDefine vbIMEModeOff vbIMEModeOn vbIMENoOp vbIMEOff
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
276 syn keyword vbDefine vbIMEOn vbInactiveBorder vbInactiveCaptionText
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
277 syn keyword vbDefine vbInactiveTitleBar vbInfoBackground vbInformation
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
278 syn keyword vbDefine vbInfoText vbInteger vbKatakana vbKey0 vbKey1
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
279 syn keyword vbDefine vbKey2 vbKey3 vbKey4 vbKey5 vbKey6 vbKey7 vbKey8
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
280 syn keyword vbDefine vbKey9 vbKeyA vbKeyAdd vbKeyB vbKeyBack vbKeyC
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
281 syn keyword vbDefine vbKeyCancel vbKeyCapital vbKeyClear vbKeyControl
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
282 syn keyword vbDefine vbKeyD vbKeyDecimal vbKeyDelete vbKeyDivide
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
283 syn keyword vbDefine vbKeyDown vbKeyE vbKeyEnd vbKeyEscape vbKeyExecute
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
284 syn keyword vbDefine vbKeyF vbKeyF1 vbKeyF10 vbKeyF11 vbKeyF12 vbKeyF13
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
285 syn keyword vbDefine vbKeyF14 vbKeyF15 vbKeyF16 vbKeyF2 vbKeyF3 vbKeyF4
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
286 syn keyword vbDefine vbKeyF5 vbKeyF6 vbKeyF7 vbKeyF8 vbKeyF9 vbKeyG
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
287 syn keyword vbDefine vbKeyH vbKeyHelp vbKeyHome vbKeyI vbKeyInsert
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
288 syn keyword vbDefine vbKeyJ vbKeyK vbKeyL vbKeyLButton vbKeyLeft vbKeyM
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
289 syn keyword vbDefine vbKeyMButton vbKeyMenu vbKeyMultiply vbKeyN
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
290 syn keyword vbDefine vbKeyNumlock vbKeyNumpad0 vbKeyNumpad1
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
291 syn keyword vbDefine vbKeyNumpad2 vbKeyNumpad3 vbKeyNumpad4
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
292 syn keyword vbDefine vbKeyNumpad5 vbKeyNumpad6 vbKeyNumpad7
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
293 syn keyword vbDefine vbKeyNumpad8 vbKeyNumpad9 vbKeyO vbKeyP
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
294 syn keyword vbDefine vbKeyPageDown vbKeyPageUp vbKeyPause vbKeyPrint
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
295 syn keyword vbDefine vbKeyQ vbKeyR vbKeyRButton vbKeyReturn vbKeyRight
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
296 syn keyword vbDefine vbKeyS vbKeySelect vbKeySeparator vbKeyShift
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
297 syn keyword vbDefine vbKeySnapshot vbKeySpace vbKeySubtract vbKeyT
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
298 syn keyword vbDefine vbKeyTab vbKeyU vbKeyUp vbKeyV vbKeyW vbKeyX
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
299 syn keyword vbDefine vbKeyY vbKeyZ vbLf vbLong vbLowerCase vbMagenta
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
300 syn keyword vbDefine vbMaximizedFocus vbMenuBar vbMenuText
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
301 syn keyword vbDefine vbMinimizedFocus vbMinimizedNoFocus vbMonday
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
302 syn keyword vbDefine vbMsgBox vbMsgBoxHelpButton vbMsgBoxRight
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
303 syn keyword vbDefine vbMsgBoxRtlReading vbMsgBoxSetForeground
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
304 syn keyword vbDefine vbMsgBoxText vbNarrow vbNewLine vbNo vbNormal
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
305 syn keyword vbDefine vbNormalFocus vbNormalNoFocus vbNull vbNullChar
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
306 syn keyword vbDefine vbNullString vbObject vbObjectError vbOK
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
307 syn keyword vbDefine vbOKCancel vbOKOnly vbProperCase vbQuestion
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
308 syn keyword vbDefine vbReadOnly vbRed vbRetry vbRetryCancel vbSaturday
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
309 syn keyword vbDefine vbScrollBars vbSingle vbString vbSunday vbSystem
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
310 syn keyword vbDefine vbSystemModal vbTab vbTextCompare vbThursday
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
311 syn keyword vbDefine vbTitleBarText vbTuesday vbUnicode vbUpperCase
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
312 syn keyword vbDefine vbUseSystem vbUseSystemDayOfWeek vbVariant
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
313 syn keyword vbDefine vbVerticalTab vbVolume vbWednesday vbWhite vbWide
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
314 syn keyword vbDefine vbWindowBackground vbWindowFrame vbWindowText
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
315 syn keyword vbDefine vbYellow vbYes vbYesNo vbYesNoCancel
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
316
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
317 "Numbers
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
318 "integer number, or floating point number without a dot.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
319 syn match vbNumber "\<\d\+\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
320 "floating point number, with dot
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
321 syn match vbNumber "\<\d\+\.\d*\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
322 "floating point number, starting with a dot
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
323 syn match vbNumber "\.\d\+\>"
26438
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
324 "syn match vbNumber "{[[:xdigit:]-]\+}\|&[hH][[:xdigit:]]\+&"
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
325 "syn match vbNumber ":[[:xdigit:]]\+"
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
326 "syn match vbNumber "[-+]\=\<\d\+\>"
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
327 syn match vbFloat "[-+]\=\<\d\+[eE][\-+]\=\d\+"
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
328 syn match vbFloat "[-+]\=\<\d\+\.\d*\([eE][\-+]\=\d\+\)\="
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
329 syn match vbFloat "[-+]\=\<\.\d\+\([eE][\-+]\=\d\+\)\="
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
330
26438
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
331 " String and Character constants
1122
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
332 syn region vbString start=+"+ end=+"\|$+
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
333 syn region vbComment start="\(^\|\s\)REM\s" end="$" contains=vbTodo
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
334 syn region vbComment start="\(^\|\s\)\'" end="$" contains=vbTodo
26438
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
335 syn match vbLineLabel "^\h\w\+:"
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
336 syn match vbLineNumber "^\d\+\(:\|\s\|$\)"
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
337 syn match vbTypeSpecifier "\<\a\w*[@\$%&!#]"ms=s+1
1122
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 7
diff changeset
338 syn match vbTypeSpecifier "#[a-zA-Z0-9]"me=e-1
26438
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
339 " Conditional Compilation
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
340 syn match vbPreProc "^#const\>"
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
341 syn region vbPreProc matchgroup=PreProc start="^#if\>" end="\<then\>" transparent contains=TOP
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
342 syn region vbPreProc matchgroup=PreProc start="^#elseif\>" end="\<then\>" transparent contains=TOP
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
343 syn match vbPreProc "^#else\>"
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
344 syn match vbPreProc "^#end\s*if\>"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
345
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
346 " Define the default highlighting.
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 6951
diff changeset
347 " Only when an item doesn't have highlighting yet
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
348
26438
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
349 hi def link vbBoolean Boolean
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
350 hi def link vbLineNumber Comment
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
351 hi def link vbLineLabel Comment
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
352 hi def link vbComment Comment
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
353 hi def link vbConditional Conditional
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
354 hi def link vbConst Constant
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
355 hi def link vbDefine Constant
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
356 hi def link vbError Error
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
357 hi def link vbFunction Identifier
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
358 hi def link vbIdentifier Identifier
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
359 hi def link vbNumber Number
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
360 hi def link vbFloat Float
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
361 hi def link vbMethods PreProc
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
362 hi def link vbOperator Operator
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
363 hi def link vbRepeat Repeat
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
364 hi def link vbString String
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
365 hi def link vbStatement Statement
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
366 hi def link vbKeyword Statement
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
367 hi def link vbEvents Special
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
368 hi def link vbTodo Todo
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
369 hi def link vbTypes Type
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
370 hi def link vbTypeSpecifier Type
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
371 hi def link vbPreProc PreProc
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
372
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
373 let b:current_syntax = "vb"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
374
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
375 " vim: ts=8