annotate runtime/syntax/openroad.vim @ 32168:6bdf843c3023 v9.0.1415

patch 9.0.1415: Crystal files are not recognized Commit: https://github.com/vim/vim/commit/7c4516fe93d865f4ef1877181f8156b8b9331856 Author: Amaan Qureshi <amaanq12@gmail.com> Date: Sun Mar 19 20:43:26 2023 +0000 patch 9.0.1415: Crystal files are not recognized Problem: Crystal files are not recognized. Solution: Add a pattern for Crystal files. (Amaan Qureshi, closes https://github.com/vim/vim/issues/12175)
author Bram Moolenaar <Bram@vim.org>
date Sun, 19 Mar 2023 21:45:05 +0100
parents 46763b01cd9a
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " Language: CA-OpenROAD
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Maintainer: Luis Moreno <lmoreno@eresmas.net>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 " Last change: 2001 Jun 12
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
6 " quit when a syntax file was already loaded
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
7 if exists("b:current_syntax")
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 syntax case ignore
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 " Keywords
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 syntax keyword openroadKeyword ABORT ALL ALTER AND ANY AS ASC AT AVG BEGIN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 syntax keyword openroadKeyword BETWEEN BY BYREF CALL CALLFRAME CALLPROC CASE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 syntax keyword openroadKeyword CLEAR CLOSE COMMIT CONNECT CONTINUE COPY COUNT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 syntax keyword openroadKeyword CREATE CURRENT DBEVENT DECLARE DEFAULT DELETE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 syntax keyword openroadKeyword DELETEROW DESC DIRECT DISCONNECT DISTINCT DO
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 syntax keyword openroadKeyword DROP ELSE ELSEIF END ENDCASE ENDDECLARE ENDFOR
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 syntax keyword openroadKeyword ENDIF ENDLOOP ENDWHILE ESCAPE EXECUTE EXISTS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 syntax keyword openroadKeyword EXIT FETCH FIELD FOR FROM GOTOFRAME GRANT GROUP
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 syntax keyword openroadKeyword HAVING IF IMMEDIATE IN INDEX INITIALISE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 syntax keyword openroadKeyword INITIALIZE INQUIRE_INGRES INQUIRE_SQL INSERT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 syntax keyword openroadKeyword INSERTROW INSTALLATION INTEGRITY INTO KEY LIKE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 syntax keyword openroadKeyword LINK MAX MESSAGE METHOD MIN MODE MODIFY NEXT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 syntax keyword openroadKeyword NOECHO NOT NULL OF ON OPEN OPENFRAME OR ORDER
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 syntax keyword openroadKeyword PERMIT PROCEDURE PROMPT QUALIFICATION RAISE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 syntax keyword openroadKeyword REGISTER RELOCATE REMOVE REPEAT REPEATED RESUME
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 syntax keyword openroadKeyword RETURN RETURNING REVOKE ROLE ROLLBACK RULE SAVE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 syntax keyword openroadKeyword SAVEPOINT SELECT SET SLEEP SOME SUM SYSTEM TABLE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 syntax keyword openroadKeyword THEN TO TRANSACTION UNION UNIQUE UNTIL UPDATE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 syntax keyword openroadKeyword VALUES VIEW WHERE WHILE WITH WORK
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 syntax keyword openroadTodo contained TODO
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 " Catch errors caused by wrong parenthesis
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 syntax cluster openroadParenGroup contains=openroadParenError,openroadTodo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 syntax region openroadParen transparent start='(' end=')' contains=ALLBUT,@openroadParenGroup
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 syntax match openroadParenError ")"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 highlight link openroadParenError cError
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 " Numbers
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 syntax match openroadNumber "\<[0-9]\+\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 " String
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 syntax region openroadString start=+'+ end=+'+
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 " Operators, Data Types and Functions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 syntax match openroadOperator /[\+\-\*\/=\<\>;\(\)]/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 syntax keyword openroadType ARRAY BYTE CHAR DATE DECIMAL FLOAT FLOAT4
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 syntax keyword openroadType FLOAT8 INT1 INT2 INT4 INTEGER INTEGER1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 syntax keyword openroadType INTEGER2 INTEGER4 MONEY OBJECT_KEY
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 syntax keyword openroadType SECURITY_LABEL SMALLINT TABLE_KEY VARCHAR
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 syntax keyword openroadFunc IFNULL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 " System Classes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 syntax keyword openroadClass ACTIVEFIELD ANALOGFIELD APPFLAG APPSOURCE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 syntax keyword openroadClass ARRAYOBJECT ATTRIBUTEOBJECT BARFIELD
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 syntax keyword openroadClass BITMAPOBJECT BOXTRIM BREAKSPEC BUTTONFIELD
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 syntax keyword openroadClass CELLATTRIBUTE CHOICEBITMAP CHOICEDETAIL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 syntax keyword openroadClass CHOICEFIELD CHOICEITEM CHOICELIST CLASS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 syntax keyword openroadClass CLASSSOURCE COLUMNCROSS COLUMNFIELD
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 syntax keyword openroadClass COMPOSITEFIELD COMPSOURCE CONTROLBUTTON
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 syntax keyword openroadClass CROSSTABLE CURSORBITMAP CURSOROBJECT DATASTREAM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 syntax keyword openroadClass DATEOBJECT DBEVENTOBJECT DBSESSIONOBJECT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 syntax keyword openroadClass DISPLAYFORM DYNEXPR ELLIPSESHAPE ENTRYFIELD
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 syntax keyword openroadClass ENUMFIELD EVENT EXTOBJECT EXTOBJFIELD
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 syntax keyword openroadClass FIELDOBJECT FLEXIBLEFORM FLOATOBJECT FORMFIELD
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 syntax keyword openroadClass FRAMEEXEC FRAMEFORM FRAMESOURCE FREETRIM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 syntax keyword openroadClass GHOSTEXEC GHOSTSOURCE IMAGEFIELD IMAGETRIM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 syntax keyword openroadClass INTEGEROBJECT LISTFIELD LISTVIEWCOLATTR
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 syntax keyword openroadClass LISTVIEWFIELD LONGBYTEOBJECT LONGVCHAROBJECT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 syntax keyword openroadClass MATRIXFIELD MENUBAR MENUBUTTON MENUFIELD
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 syntax keyword openroadClass MENUGROUP MENUITEM MENULIST MENUSEPARATOR
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 syntax keyword openroadClass MENUSTACK MENUTOGGLE METHODEXEC METHODOBJECT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 syntax keyword openroadClass MONEYOBJECT OBJECT OPTIONFIELD OPTIONMENU
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 syntax keyword openroadClass PALETTEFIELD POPUPBUTTON PROC4GLSOURCE PROCEXEC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 syntax keyword openroadClass PROCHANDLE QUERYCOL QUERYOBJECT QUERYPARM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 syntax keyword openroadClass QUERYTABLE RADIOFIELD RECTANGLESHAPE ROWCROSS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 syntax keyword openroadClass SCALARFIELD SCOPE SCROLLBARFIELD SEGMENTSHAPE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 syntax keyword openroadClass SESSIONOBJECT SHAPEFIELD SLIDERFIELD SQLSELECT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 syntax keyword openroadClass STACKFIELD STRINGOBJECT SUBFORM TABBAR
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 syntax keyword openroadClass TABFIELD TABFOLDER TABLEFIELD TABPAGE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 syntax keyword openroadClass TOGGLEFIELD TREE TREENODE TREEVIEWFIELD
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 syntax keyword openroadClass USERCLASSOBJECT USEROBJECT VIEWPORTFIELD
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 " System Events
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 syntax keyword openroadEvent CHILDCLICK CHILDCLICKPOINT CHILDCOLLAPSED
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 syntax keyword openroadEvent CHILDDETAILS CHILDDOUBLECLICK CHILDDRAGBOX
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 syntax keyword openroadEvent CHILDDRAGSEGMENT CHILDENTRY CHILDEXIT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 syntax keyword openroadEvent CHILDEXPANDED CHILDHEADERCLICK CHILDMOVED
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101 syntax keyword openroadEvent CHILDPROPERTIES CHILDRESIZED CHILDSCROLL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 syntax keyword openroadEvent CHILDSELECT CHILDSELECTIONCHANGED CHILDSETVALUE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 syntax keyword openroadEvent CHILDUNSELECT CHILDVALIDATE CLICK CLICKPOINT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 syntax keyword openroadEvent COLLAPSED DBEVENT DETAILS DOUBLECLICK DRAGBOX
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 syntax keyword openroadEvent DRAGSEGMENT ENTRY EXIT EXPANDED EXTCLASSEVENT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 syntax keyword openroadEvent FRAMEACTIVATE FRAMEDEACTIVATE HEADERCLICK
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 syntax keyword openroadEvent INSERTROW LABELCHANGED MOVED PAGEACTIVATED
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 syntax keyword openroadEvent PAGECHANGED PAGEDEACTIVATED PROPERTIES RESIZED
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 syntax keyword openroadEvent SCROLL SELECT SELECTIONCHANGED SETVALUE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 syntax keyword openroadEvent TERMINATE UNSELECT USEREVENT VALIDATE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 syntax keyword openroadEvent WINDOWCLOSE WINDOWICON WINDOWMOVED WINDOWRESIZED
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 syntax keyword openroadEvent WINDOWVISIBLE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 " System Constants
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116 syntax keyword openroadConst BF_BMP BF_GIF BF_SUNRASTER BF_TIFF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117 syntax keyword openroadConst BF_WINDOWCURSOR BF_WINDOWICON BF_XBM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118 syntax keyword openroadConst CC_BACKGROUND CC_BLACK CC_BLUE CC_BROWN CC_CYAN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119 syntax keyword openroadConst CC_DEFAULT_1 CC_DEFAULT_10 CC_DEFAULT_11
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120 syntax keyword openroadConst CC_DEFAULT_12 CC_DEFAULT_13 CC_DEFAULT_14
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121 syntax keyword openroadConst CC_DEFAULT_15 CC_DEFAULT_16 CC_DEFAULT_17
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122 syntax keyword openroadConst CC_DEFAULT_18 CC_DEFAULT_19 CC_DEFAULT_2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123 syntax keyword openroadConst CC_DEFAULT_20 CC_DEFAULT_21 CC_DEFAULT_22
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124 syntax keyword openroadConst CC_DEFAULT_23 CC_DEFAULT_24 CC_DEFAULT_25
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125 syntax keyword openroadConst CC_DEFAULT_26 CC_DEFAULT_27 CC_DEFAULT_28
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126 syntax keyword openroadConst CC_DEFAULT_29 CC_DEFAULT_3 CC_DEFAULT_30
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
127 syntax keyword openroadConst CC_DEFAULT_4 CC_DEFAULT_5 CC_DEFAULT_6
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
128 syntax keyword openroadConst CC_DEFAULT_7 CC_DEFAULT_8 CC_DEFAULT_9
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
129 syntax keyword openroadConst CC_FOREGROUND CC_GRAY CC_GREEN CC_LIGHT_BLUE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130 syntax keyword openroadConst CC_LIGHT_BROWN CC_LIGHT_CYAN CC_LIGHT_GRAY
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131 syntax keyword openroadConst CC_LIGHT_GREEN CC_LIGHT_ORANGE CC_LIGHT_PINK
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132 syntax keyword openroadConst CC_LIGHT_PURPLE CC_LIGHT_RED CC_LIGHT_YELLOW
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133 syntax keyword openroadConst CC_MAGENTA CC_ORANGE CC_PALE_BLUE CC_PALE_BROWN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
134 syntax keyword openroadConst CC_PALE_CYAN CC_PALE_GRAY CC_PALE_GREEN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
135 syntax keyword openroadConst CC_PALE_ORANGE CC_PALE_PINK CC_PALE_PURPLE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136 syntax keyword openroadConst CC_PALE_RED CC_PALE_YELLOW CC_PINK CC_PURPLE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137 syntax keyword openroadConst CC_RED CC_SYS_ACTIVEBORDER CC_SYS_ACTIVECAPTION
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138 syntax keyword openroadConst CC_SYS_APPWORKSPACE CC_SYS_BACKGROUND
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139 syntax keyword openroadConst CC_SYS_BTNFACE CC_SYS_BTNSHADOW CC_SYS_BTNTEXT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
140 syntax keyword openroadConst CC_SYS_CAPTIONTEXT CC_SYS_GRAYTEXT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141 syntax keyword openroadConst CC_SYS_HIGHLIGHT CC_SYS_HIGHLIGHTTEXT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142 syntax keyword openroadConst CC_SYS_INACTIVEBORDER CC_SYS_INACTIVECAPTION
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143 syntax keyword openroadConst CC_SYS_INACTIVECAPTIONTEXT CC_SYS_MENU
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
144 syntax keyword openroadConst CC_SYS_MENUTEXT CC_SYS_SCROLLBAR CC_SYS_SHADOW
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
145 syntax keyword openroadConst CC_SYS_WINDOW CC_SYS_WINDOWFRAME
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146 syntax keyword openroadConst CC_SYS_WINDOWTEXT CC_WHITE CC_YELLOW
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147 syntax keyword openroadConst CL_INVALIDVALUE CP_BOTH CP_COLUMNS CP_NONE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148 syntax keyword openroadConst CP_ROWS CS_CLOSED CS_CURRENT CS_NOCURRENT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
149 syntax keyword openroadConst CS_NO_MORE_ROWS CS_OPEN CS_OPEN_CACHED DC_BW
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150 syntax keyword openroadConst DC_COLOR DP_AUTOSIZE_FIELD DP_CLIP_IMAGE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
151 syntax keyword openroadConst DP_SCALE_IMAGE_H DP_SCALE_IMAGE_HW
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152 syntax keyword openroadConst DP_SCALE_IMAGE_W DS_CONNECTED DS_DISABLED
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
153 syntax keyword openroadConst DS_DISCONNECTED DS_INGRES_DBMS DS_NO_DBMS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
154 syntax keyword openroadConst DS_ORACLE_DBMS DS_SQLSERVER_DBMS DV_NULL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
155 syntax keyword openroadConst DV_STRING DV_SYSTEM EH_NEXT_HANDLER EH_RESUME
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
156 syntax keyword openroadConst EH_RETRY EP_INTERACTIVE EP_NONE EP_OUTPUT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
157 syntax keyword openroadConst ER_FAIL ER_NAMEEXISTS ER_OK ER_OUTOFRANGE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
158 syntax keyword openroadConst ER_ROWNOTFOUND ER_USER1 ER_USER10 ER_USER2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
159 syntax keyword openroadConst ER_USER3 ER_USER4 ER_USER5 ER_USER6 ER_USER7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
160 syntax keyword openroadConst ER_USER8 ER_USER9 FALSE FA_BOTTOMCENTER
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
161 syntax keyword openroadConst FA_BOTTOMLEFT FA_BOTTOMRIGHT FA_CENTER
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
162 syntax keyword openroadConst FA_CENTERLEFT FA_CENTERRIGHT FA_DEFAULT FA_NONE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
163 syntax keyword openroadConst FA_TOPCENTER FA_TOPLEFT FA_TOPRIGHT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
164 syntax keyword openroadConst FB_CHANGEABLE FB_CLICKPOINT FB_DIMMED FB_DRAGBOX
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
165 syntax keyword openroadConst FB_DRAGSEGMENT FB_FLEXIBLE FB_INVISIBLE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
166 syntax keyword openroadConst FB_LANDABLE FB_MARKABLE FB_RESIZEABLE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
167 syntax keyword openroadConst FB_VIEWABLE FB_VISIBLE FC_LOWER FC_NONE FC_UPPER
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
168 syntax keyword openroadConst FM_QUERY FM_READ FM_UPDATE FM_USER1 FM_USER2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
169 syntax keyword openroadConst FM_USER3 FO_DEFAULT FO_HORIZONTAL FO_VERTICAL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170 syntax keyword openroadConst FP_BITMAP FP_CLEAR FP_CROSSHATCH FP_DARKSHADE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
171 syntax keyword openroadConst FP_DEFAULT FP_HORIZONTAL FP_LIGHTSHADE FP_SHADE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
172 syntax keyword openroadConst FP_SOLID FP_VERTICAL FT_NOTSETVALUE FT_SETVALUE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
173 syntax keyword openroadConst FT_TABTO FT_TAKEFOCUS GF_BOTTOM GF_DEFAULT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
174 syntax keyword openroadConst GF_LEFT GF_RIGHT GF_TOP HC_DOUBLEQUOTE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
175 syntax keyword openroadConst HC_FORMFEED HC_NEWLINE HC_QUOTE HC_SPACE HC_TAB
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
176 syntax keyword openroadConst HV_CONTENTS HV_CONTEXT HV_HELPONHELP HV_KEY
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
177 syntax keyword openroadConst HV_QUIT LS_3D LS_DASH LS_DASHDOT LS_DASHDOTDOT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
178 syntax keyword openroadConst LS_DEFAULT LS_DOT LS_SOLID LW_DEFAULT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
179 syntax keyword openroadConst LW_EXTRATHIN LW_MAXIMUM LW_MIDDLE LW_MINIMUM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
180 syntax keyword openroadConst LW_NOLINE LW_THICK LW_THIN LW_VERYTHICK
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
181 syntax keyword openroadConst LW_VERYTHIN MB_DISABLED MB_ENABLED MB_INVISIBLE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
182 syntax keyword openroadConst MB_MOVEABLE MT_ERROR MT_INFO MT_NONE MT_WARNING
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
183 syntax keyword openroadConst OP_APPEND OP_NONE OS3D OS_DEFAULT OS_SHADOW
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
184 syntax keyword openroadConst OS_SOLID PU_CANCEL PU_OK QS_ACTIVE QS_INACTIVE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
185 syntax keyword openroadConst QS_SETCOL QY_ARRAY QY_CACHE QY_CURSOR QY_DIRECT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
186 syntax keyword openroadConst RC_CHILDSELECTED RC_DOWN RC_END RC_FIELDFREED
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
187 syntax keyword openroadConst RC_FIELDORPHANED RC_GROUPSELECT RC_HOME RC_LEFT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
188 syntax keyword openroadConst RC_MODECHANGED RC_MOUSECLICK RC_MOUSEDRAG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
189 syntax keyword openroadConst RC_NEXT RC_NOTAPPLICABLE RC_PAGEDOWN RC_PAGEUP
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
190 syntax keyword openroadConst RC_PARENTSELECTED RC_PREVIOUS RC_PROGRAM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
191 syntax keyword openroadConst RC_RESUME RC_RETURN RC_RIGHT RC_ROWDELETED
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
192 syntax keyword openroadConst RC_ROWINSERTED RC_ROWSALLDELETED RC_SELECT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
193 syntax keyword openroadConst RC_TFSCROLL RC_TOGGLESELECT RC_UP RS_CHANGED
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
194 syntax keyword openroadConst RS_DELETED RS_NEW RS_UNCHANGED RS_UNDEFINED
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
195 syntax keyword openroadConst SK_CLOSE SK_COPY SK_CUT SK_DELETE SK_DETAILS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
196 syntax keyword openroadConst SK_DUPLICATE SK_FIND SK_GO SK_HELP SK_NEXT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
197 syntax keyword openroadConst SK_NONE SK_PASTE SK_PROPS SK_QUIT SK_REDO
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
198 syntax keyword openroadConst SK_SAVE SK_TFDELETEALLROWS SK_TFDELETEROW
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
199 syntax keyword openroadConst SK_TFFIND SK_TFINSERTROW SK_UNDO SP_APPSTARTING
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
200 syntax keyword openroadConst SP_ARROW SP_CROSS SP_IBEAM SP_ICON SP_NO
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
201 syntax keyword openroadConst SP_SIZE SP_SIZENESW SP_SIZENS SP_SIZENWSE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
202 syntax keyword openroadConst SP_SIZEWE SP_UPARROW SP_WAIT SY_NT SY_OS2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
203 syntax keyword openroadConst SY_UNIX SY_VMS SY_WIN95 TF_COURIER TF_HELVETICA
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
204 syntax keyword openroadConst TF_LUCIDA TF_MENUDEFAULT TF_NEWCENTURY TF_SYSTEM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
205 syntax keyword openroadConst TF_TIMESROMAN TRUE UE_DATAERROR UE_EXITED
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
206 syntax keyword openroadConst UE_NOTACTIVE UE_PURGED UE_RESUMED UE_UNKNOWN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
207 syntax keyword openroadConst WI_MOTIF WI_MSWIN32 WI_MSWINDOWS WI_NONE WI_PM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
208 syntax keyword openroadConst WP_FLOATING WP_INTERACTIVE WP_PARENTCENTERED
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
209 syntax keyword openroadConst WP_PARENTRELATIVE WP_SCREENCENTERED
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
210 syntax keyword openroadConst WP_SCREENRELATIVE WV_ICON WV_INVISIBLE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
211 syntax keyword openroadConst WV_UNREALIZED WV_VISIBLE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
212
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
213 " System Variables
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
214 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
215 syntax keyword openroadVar CurFrame CurProcedure CurMethod CurObject
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
216
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
217 " Identifiers
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
218 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
219 syntax match openroadIdent /[a-zA-Z_][a-zA-Z_]*![a-zA-Z_][a-zA-Z_]*/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
220
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
221 " Comments
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
222 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
223 if exists("openroad_comment_strings")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
224 syntax match openroadCommentSkip contained "^\s*\*\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
225 syntax region openroadCommentString contained start=+"+ skip=+\\\\\|\\"+ end=+"+ end="$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
226 syntax region openroadComment start="/\*" end="\*/" contains=openroadCommentString,openroadCharacter,openroadNumber
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
227 syntax match openroadComment "//.*" contains=openroadComment2String,openroadCharacter,openroadNumber
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
228 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
229 syn region openroadComment start="/\*" end="\*/"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
230 syn match openroadComment "//.*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
231 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
232
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
233 " Define the default highlighting.
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
234 " Only when an item doesn't have highlighting yet
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
235 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
236
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
237 hi def link openroadKeyword Statement
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
238 hi def link openroadNumber Number
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
239 hi def link openroadString String
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
240 hi def link openroadComment Comment
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
241 hi def link openroadOperator Operator
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
242 hi def link openroadType Type
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
243 hi def link openroadFunc Special
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
244 hi def link openroadClass Type
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
245 hi def link openroadEvent Statement
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
246 hi def link openroadConst Constant
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
247 hi def link openroadVar Identifier
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
248 hi def link openroadIdent Identifier
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
249 hi def link openroadTodo Todo
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
250
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
251
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
252 let b:current_syntax = "openroad"