annotate runtime/syntax/lscript.vim @ 1388:26cbd39f2251 v7.1.103

updated for version 7.1-103
author vimboss
date Thu, 13 Sep 2007 13:34:02 +0000
parents 3fc0f57ecb91
children 43efa4f5a8ea
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " Language: LotusScript
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Maintainer: Taryn East (taryneast@hotmail.com)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 " Last Change: 2003 May 11
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 " This is a rough amalgamation of the visual basic syntax file, and the UltraEdit
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 " and Textpad syntax highlighters.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 " It's not too brilliant given that a) I've never written a syntax.vim file before
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 " and b) I'm not so crash hot at LotusScript either. If you see any problems
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 " feel free to email me with them.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 " For version 5.x: Clear all syntax items
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 " For version 6.x: Quit when a syntax file was already loaded
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 if version < 600
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 syntax clear
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 elseif exists("b:current_syntax")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 " LotusScript is case insensitive
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 syn case ignore
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 " These are Notes thingies that had an equivalent in the vb highlighter
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 " or I was already familiar with them
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 syn keyword lscriptStatement ActivateApp As And Base Beep Call Case ChDir ChDrive Class
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 syn keyword lscriptStatement Const Dim Declare DefCur DefDbl DefInt DefLng DefSng DefStr
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 syn keyword lscriptStatement DefVar Do Else %Else ElseIf %ElseIf End %End Erase Event Exit
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 syn keyword lscriptStatement Explicit FileCopy FALSE For ForAll Function Get GoTo GoSub
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 syn keyword lscriptStatement If %If In Is Kill Let List Lock Loop MkDir
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 syn keyword lscriptStatement Name Next New NoCase NoPitch Not Nothing NULL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 syn keyword lscriptStatement On Option Or PI Pitch Preserve Private Public
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 syn keyword lscriptStatement Property Public Put
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 syn keyword lscriptStatement Randomize ReDim Reset Resume Return RmDir
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 syn keyword lscriptStatement Select SendKeys SetFileAttr Set Static Sub Then To TRUE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 syn keyword lscriptStatement Type Unlock Until While WEnd With Write XOr
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 syn keyword lscriptDatatype Array Currency Double Integer Long Single String String$ Variant
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 syn keyword lscriptNotesType Field Button Navigator
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 syn keyword lscriptNotesType NotesACL NotesACLEntry NotesAgent NotesDatabase NotesDateRange
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 syn keyword lscriptNotesType NotesDateTime NotesDbDirectory NotesDocument
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 syn keyword lscriptNotesType NotesDocumentCollection NotesEmbeddedObject NotesForm
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 syn keyword lscriptNotesType NotesInternational NotesItem NotesLog NotesName NotesNewsLetter
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 syn keyword lscriptNotesType NotesMIMEEntry NotesOutline NotesOutlineEntry NotesRegistration
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 syn keyword lscriptNotesType NotesReplication NotesRichTextItem NotesRichTextParagraphStyle
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 syn keyword lscriptNotesType NotesRichTextStyle NotesRichTextTab
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 syn keyword lscriptNotesType NotesSession NotesTimer NotesView NotesViewColumn NotesViewEntry
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 syn keyword lscriptNotesType NotesViewEntryCollection NotesViewNavigator NotesUIDatabase
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 syn keyword lscriptNotesType NotesUIDocument NotesUIView NotesUIWorkspace
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 syn keyword lscriptNotesConst ACLLEVEL_AUTHOR ACLLEVEL_DEPOSITOR ACLLEVEL_DESIGNER
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 syn keyword lscriptNotesConst ACLLEVEL_EDITOR ACLLEVEL_MANAGER ACLLEVEL_NOACCESS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 syn keyword lscriptNotesConst ACLLEVEL_READER ACLTYPE_MIXED_GROUP ACLTYPE_PERSON
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 syn keyword lscriptNotesConst ACLTYPE_PERSON_GROUP ACLTYPE_SERVER ACLTYPE_SERVER_GROUP
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 syn keyword lscriptNotesConst ACLTYPE_UNSPECIFIED ACTIONCD ALIGN_CENTER
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 syn keyword lscriptNotesConst ALIGN_FULL ALIGN_LEFT ALIGN_NOWRAP ALIGN_RIGHT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 syn keyword lscriptNotesConst ASSISTANTINFO ATTACHMENT AUTHORS COLOR_BLACK
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 syn keyword lscriptNotesConst COLOR_BLUE COLOR_CYAN COLOR_DARK_BLUE COLOR_DARK_CYAN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 syn keyword lscriptNotesConst COLOR_DARK_GREEN COLOR_DARK_MAGENTA COLOR_DARK_RED
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 syn keyword lscriptNotesConst COLOR_DARK_YELLOW COLOR_GRAY COLOR_GREEN COLOR_LIGHT_GRAY
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 syn keyword lscriptNotesConst COLOR_MAGENTA COLOR_RED COLOR_WHITE COLOR_YELLOW
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 syn keyword lscriptNotesConst DATABASE DATETIMES DB_REPLICATION_PRIORITY_HIGH
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 syn keyword lscriptNotesConst DB_REPLICATION_PRIORITY_LOW DB_REPLICATION_PRIORITY_MED
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 syn keyword lscriptNotesConst DB_REPLICATION_PRIORITY_NOTSET EFFECTS_EMBOSS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 syn keyword lscriptNotesConst EFFECTS_EXTRUDE EFFECTS_NONE EFFECTS_SHADOW
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 syn keyword lscriptNotesConst EFFECTS_SUBSCRIPT EFFECTS_SUPERSCRIPT EMBED_ATTACHMENT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 syn keyword lscriptNotesConst EMBED_OBJECT EMBED_OBJECTLINK EMBEDDEDOBJECT ERRORITEM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 syn keyword lscriptNotesConst EV_ALARM EV_COMM EV_MAIL EV_MISC EV_REPLICA EV_RESOURCE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 syn keyword lscriptNotesConst EV_SECURITY EV_SERVER EV_UNKNOWN EV_UPDATE FONT_COURIER
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 syn keyword lscriptNotesConst FONT_HELV FONT_ROMAN FORMULA FT_DATABASE FT_DATE_ASC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 syn keyword lscriptNotesConst FT_DATE_DES FT_FILESYSTEM FT_FUZZY FT_SCORES FT_STEMS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 syn keyword lscriptNotesConst FT_THESAURUS HTML ICON ID_CERTIFIER ID_FLAT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 syn keyword lscriptNotesConst ID_HIERARCHICAL LSOBJECT MIME_PART NAMES NOTESLINKS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 syn keyword lscriptNotesConst NOTEREFS NOTES_DESKTOP_CLIENT NOTES_FULL_CLIENT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 syn keyword lscriptNotesConst NOTES_LIMITED_CLIENT NUMBERS OTHEROBJECT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 syn keyword lscriptNotesConst OUTLINE_CLASS_DATABASE OUTLINE_CLASS_DOCUMENT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 syn keyword lscriptNotesConst OUTLINE_CLASS_FOLDER OUTLINE_CLASS_FORM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 syn keyword lscriptNotesConst OUTLINE_CLASS_FRAMESET OUTLINE_CLASS_NAVIGATOR
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 syn keyword lscriptNotesConst OUTLINE_CLASS_PAGE OUTLINE_CLASS_UNKNOWN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 syn keyword lscriptNotesConst OUTLINE_CLASS_VIEW OUTLINE_OTHER_FOLDERS_TYPE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 syn keyword lscriptNotesConst OUTLINE_OTHER_UNKNOWN_TYPE OUTLINE_OTHER_VIEWS_TYPE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 syn keyword lscriptNotesConst OUTLINE_TYPE_ACTION OUTLINE_TYPE_NAMEDELEMENT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 syn keyword lscriptNotesConst OUTLINE_TYPE_NOTELINK OUTLINE_TYPE_URL PAGINATE_BEFORE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 syn keyword lscriptNotesConst PAGINATE_DEFAULT PAGINATE_KEEP_TOGETHER
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 syn keyword lscriptNotesConst PAGINATE_KEEP_WITH_NEXT PICKLIST_CUSTOM PICKLIST_NAMES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 syn keyword lscriptNotesConst PICKLIST_RESOURCES PICKLIST_ROOMS PROMPT_OK PROMPT_OKCANCELCOMBO
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 syn keyword lscriptNotesConst PROMPT_OKCANCELEDIT PROMPT_OKCANCELEDITCOMBO PROMPT_OKCANCELLIST
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 syn keyword lscriptNotesConst PROMPT_OKCANCELLISTMULT PROMPT_PASSWORD PROMPT_YESNO
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 syn keyword lscriptNotesConst PROMPT_YESNOCANCEL QUERYCD READERS REPLICA_CANDIDATE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 syn keyword lscriptNotesConst RICHTEXT RULER_ONE_CENTIMETER RULER_ONE_INCH SEV_FAILURE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 syn keyword lscriptNotesConst SEV_FATAL SEV_NORMAL SEV_WARNING1 SEV_WARNING2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 syn keyword lscriptNotesConst SIGNATURE SPACING_DOUBLE SPACING_ONE_POINT_50
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 syn keyword lscriptNotesConst SPACING_SINGLE STYLE_NO_CHANGE TAB_CENTER TAB_DECIMAL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 syn keyword lscriptNotesConst TAB_LEFT TAB_RIGHT TARGET_ALL_DOCS TARGET_ALL_DOCS_IN_VIEW
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 syn keyword lscriptNotesConst TARGET_NEW_DOCS TARGET_NEW_OR_MODIFIED_DOCS TARGET_NONE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 syn keyword lscriptNotesConst TARGET_RUN_ONCE TARGET_SELECTED_DOCS TARGET_UNREAD_DOCS_IN_VIEW
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 syn keyword lscriptNotesConst TEMPLATE TEMPLATE_CANDIDATE TEXT TRIGGER_AFTER_MAIL_DELIVERY
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 syn keyword lscriptNotesConst TRIGGER_BEFORE_MAIL_DELIVERY TRIGGER_DOC_PASTED
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 syn keyword lscriptNotesConst TRIGGER_DOC_UPDATE TRIGGER_MANUAL TRIGGER_NONE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 syn keyword lscriptNotesConst TRIGGER_SCHEDULED UNAVAILABLE UNKNOWN USERDATA
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101 syn keyword lscriptNotesConst USERID VC_ALIGN_CENTER VC_ALIGN_LEFT VC_ALIGN_RIGHT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 syn keyword lscriptNotesConst VC_ATTR_PARENS VC_ATTR_PUNCTUATED VC_ATTR_PERCENT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 syn keyword lscriptNotesConst VC_FMT_ALWAYS VC_FMT_CURRENCY VC_FMT_DATE VC_FMT_DATETIME
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 syn keyword lscriptNotesConst VC_FMT_FIXED VC_FMT_GENERAL VC_FMT_HM VC_FMT_HMS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 syn keyword lscriptNotesConst VC_FMT_MD VC_FMT_NEVER VC_FMT_SCIENTIFIC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 syn keyword lscriptNotesConst VC_FMT_SOMETIMES VC_FMT_TIME VC_FMT_TODAYTIME VC_FMT_YM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 syn keyword lscriptNotesConst VC_FMT_YMD VC_FMT_Y4M VC_FONT_BOLD VC_FONT_ITALIC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 syn keyword lscriptNotesConst VC_FONT_STRIKEOUT VC_FONT_UNDERLINE VC_SEP_COMMA
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 syn keyword lscriptNotesConst VC_SEP_NEWLINE VC_SEP_SEMICOLON VC_SEP_SPACE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 syn keyword lscriptNotesConst VIEWMAPDATA VIEWMAPLAYOUT VW_SPACING_DOUBLE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 syn keyword lscriptNotesConst VW_SPACING_ONE_POINT_25 VW_SPACING_ONE_POINT_50
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 syn keyword lscriptNotesConst VW_SPACING_ONE_POINT_75 VW_SPACING_SINGLE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 syn keyword lscriptFunction Abs Asc Atn Atn2 ACos ASin
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115 syn keyword lscriptFunction CCur CDat CDbl Chr Chr$ CInt CLng Command Command$
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116 syn keyword lscriptFunction Cos CSng CStr
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117 syn keyword lscriptFunction CurDir CurDir$ CVar Date Date$ DateNumber DateSerial DateValue
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118 syn keyword lscriptFunction Day Dir Dir$ Environ$ Environ EOF Error Error$ Evaluate Exp
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119 syn keyword lscriptFunction FileAttr FileDateTime FileLen Fix Format Format$ FreeFile
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120 syn keyword lscriptFunction GetFileAttr GetThreadInfo Hex Hex$ Hour
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121 syn keyword lscriptFunction IMESetMode IMEStatus Input Input$ InputB InputB$
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122 syn keyword lscriptFunction InputBP InputBP$ InputBox InputBox$ InStr InStrB InStrBP InstrC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123 syn keyword lscriptFunction IsA IsArray IsDate IsElement IsList IsNumeric
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124 syn keyword lscriptFunction IsObject IsResponse IsScalar IsUnknown LCase LCase$
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125 syn keyword lscriptFunction Left Left$ LeftB LeftB$ LeftC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126 syn keyword lscriptFunction LeftBP LeftBP$ Len LenB LenBP LenC Loc LOF Log
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
127 syn keyword lscriptFunction LSet LTrim LTrim$ MessageBox Mid Mid$ MidB MidB$ MidC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
128 syn keyword lscriptFunction Minute Month Now Oct Oct$ Responses Right Right$
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
129 syn keyword lscriptFunction RightB RightB$ RightBP RightBP$ RightC Round Rnd RSet RTrim RTrim$
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130 syn keyword lscriptFunction Second Seek Sgn Shell Sin Sleep Space Space$ Spc Sqr Str Str$
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131 syn keyword lscriptFunction StrConv StrLeft StrleftBack StrRight StrRightBack
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132 syn keyword lscriptFunction StrCompare Tab Tan Time Time$ TimeNumber Timer
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133 syn keyword lscriptFunction TimeValue Trim Trim$ Today TypeName UCase UCase$
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
134 syn keyword lscriptFunction UniversalID Val Weekday Year
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
135
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136 syn keyword lscriptMethods AppendToTextList ArrayAppend ArrayReplace ArrayGetIndex
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137 syn keyword lscriptMethods Append Bind Close
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138 "syn keyword lscriptMethods Contains
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139 syn keyword lscriptMethods CopyToDatabase CopyAllItems Count CurrentDatabase Delete Execute
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
140 syn keyword lscriptMethods GetAllDocumentsByKey GetDatabase GetDocumentByKey
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141 syn keyword lscriptMethods GetDocumentByUNID GetFirstDocument GetFirstItem
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142 syn keyword lscriptMethods GetItems GetItemValue GetNthDocument GetView
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143 syn keyword lscriptMethods IsEmpty IsNull %Include Items
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
144 syn keyword lscriptMethods Line LBound LoadMsgText Open Print
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
145 syn keyword lscriptMethods RaiseEvent ReplaceItemValue Remove RemoveItem Responses
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146 syn keyword lscriptMethods Save Stop UBound UnprocessedDocuments Write
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148 syn keyword lscriptEvents Compare OnError
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
149
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150 "*************************************************************************************
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
151 "These are Notes thingies that I'm not sure how to classify as they had no vb equivalent
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152 " At a wild guess I'd put them as Functions...
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
153 " if anyone sees something really out of place... tell me!
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
154
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
155 syn keyword lscriptFunction Access Alias Any Bin Bin$ Binary ByVal
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
156 syn keyword lscriptFunction CodeLock CodeLockCheck CodeUnlock CreateLock
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
157 syn keyword lscriptFunction CurDrive CurDrive$ DataType DestroyLock Eqv
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
158 syn keyword lscriptFunction Erl Err Fraction From FromFunction FullTrim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
159 syn keyword lscriptFunction Imp Int Lib Like ListTag LMBCS LSServer Me
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
160 syn keyword lscriptFunction Mod MsgDescription MsgText Output Published
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
161 syn keyword lscriptFunction Random Read Shared Step UChr UChr$ Uni Unicode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
162 syn keyword lscriptFunction Until Use UseLSX UString UString$ Width Yield
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
163
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
164
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
165 syn keyword lscriptTodo contained TODO
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
166
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
167 "integer number, or floating point number without a dot.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
168 syn match lscriptNumber "\<\d\+\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
169 "floating point number, with dot
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170 syn match lscriptNumber "\<\d\+\.\d*\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
171 "floating point number, starting with a dot
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
172 syn match lscriptNumber "\.\d\+\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
173
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
174 " String and Character constants
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
175 syn region lscriptString start=+"+ end=+"+
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
176 syn region lscriptComment start="REM" end="$" contains=lscriptTodo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
177 syn region lscriptComment start="'" end="$" contains=lscriptTodo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
178 syn region lscriptLineNumber start="^\d" end="\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
179 syn match lscriptTypeSpecifier "[a-zA-Z0-9][\$%&!#]"ms=s+1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
180
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
181 " Define the default highlighting.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
182 " For version 5.7 and earlier: only when not done already
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
183 " For version 5.8 and later: only when an item doesn't have highlighting yet
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
184 if version >= 508 || !exists("did_lscript_syntax_inits")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
185 if version < 508
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
186 let did_lscript_syntax_inits = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
187 command -nargs=+ HiLink hi link <args>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
188 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
189 command -nargs=+ HiLink hi def link <args>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
190 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
191
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
192 hi lscriptNotesType term=underline ctermfg=DarkGreen guifg=SeaGreen gui=bold
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
193
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
194 HiLink lscriptNotesConst lscriptNotesType
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
195 HiLink lscriptLineNumber Comment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
196 HiLink lscriptDatatype Type
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
197 HiLink lscriptNumber Number
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
198 HiLink lscriptError Error
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
199 HiLink lscriptStatement Statement
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
200 HiLink lscriptString String
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
201 HiLink lscriptComment Comment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
202 HiLink lscriptTodo Todo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
203 HiLink lscriptFunction Identifier
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
204 HiLink lscriptMethods PreProc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
205 HiLink lscriptEvents Special
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
206 HiLink lscriptTypeSpecifier Type
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
207
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
208 delcommand HiLink
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
209 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
210
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
211 let b:current_syntax = "lscript"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
212
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
213 " vim: ts=8