Skip to content

Commit ada9c49

Browse files
committed
add more request params
1 parent 8d1adae commit ada9c49

File tree

1 file changed

+25
-8
lines changed

1 file changed

+25
-8
lines changed

GDL.sublime-syntax

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ contexts:
103103
pop: true
104104
- include: escaped-byte
105105
- include: string_placeholder
106+
- include: request-param-deprecated
106107
- include: request-param
107108
- include: autotext
108109
- include: optional
@@ -117,6 +118,7 @@ contexts:
117118
pop: true
118119
- include: escaped-byte
119120
- include: string_placeholder
121+
- include: request-param-deprecated
120122
- include: request-param
121123
- include: autotext
122124
- include: optional
@@ -446,6 +448,7 @@ contexts:
446448
gdl-globals:
447449
- include: gdl-global-param
448450
- include: request-param
451+
- include: request-param-deprecated
449452
- include: globals-deprecated
450453
- match: (?i)\b(APPLICATION_QUERY|LIBRARYGLOBAL)\b
451454
scope: keyword.request.gdl
@@ -590,17 +593,31 @@ contexts:
590593

591594
request-param:
592595
- match: |-
593-
(?ix)\b((BLUE|RED|GREEN)_OF_(PEN|MATERIAL)|GDL_VERSION|MODEL_SIZE|PEN_OF_RGB|PROGRAM|SERIAL_NUMBER|ANCESTRY_INFO
596+
(?ix)\b(((BLUE|RED|GREEN)_OF_(PEN|MATERIAL)|GDL_VERSION|MODEL_SIZE|PEN_OF_RGB|Program(_Info)?|SERIAL_NUMBER|ANCESTRY_INFO
594597
|(ANGULAR_(LENGTH_)?|AREA_|RADIAL_|SILL_HEIGHT_)DIMENSION|(ASSOCEL|MATCHING)_PROPERTIES|ASSOCLP_(NAME|PARVALUE(_WITH_DESCRIPTION)?)
595-
|CALC_(ANGLE|AREA|LENGTH|VOLUME)_UNIT|CLEAN_INTERSECTIONS|CONSTR_FILLS_DISPLAY|CUSTOM_AUTO_LABEL|DATETIME|DOOR_SHOW_DIM
596-
|(ELEVATION|LEVEL|LINEAR)_DIMENSION|FONTNAMES_LIST|HEIGHT_OF_STYLE|HOME(_STORY|DB_INFO)|ID_OF_MAIN|INTERNAL_ID
597-
|Full_ID_of_parent|NAME_OF_(FILL|LINE_TYPE|LISTED|MACRO|MAIN|MATERIAL|PLAN|PROGRAM|STYLE)
598-
|REFERENCE_DATA_LEVEL|RGB_OF_(MATERIAL|PEN)|STORY(_INFO)?|(STYLE|TEXTBLOCK)_INFO|WINDOW_(DOOR_(DIMENSION|SHOW_DIM|ZONE_RELEV)|SHOW_DIM)|WORKING_(ANGLE|LENGTH)_UNIT|ZONE_(CATEGORY|COLUS_AREA|RELATIONS)
599-
|MATERIAL_INFO|COMPONENT_(PROJECTED_AREA|VOLUME)
600-
|(Component_Ids|((Component_)?(Property_Values|Properties)))_Of_Parent)
601-
\b
598+
|CALC_(ANGLE|AREA|LENGTH|VOLUME)_UNIT|CLEAN_INTERSECTIONS|CUSTOM_AUTO_LABEL|DATETIME|DOOR_SHOW_DIM
599+
|(ELEVATION|LEVEL|LINEAR)_DIMENSION|FONTNAMES_LIST|HEIGHT_OF_STYLE|HOME(_STORY|DB_INFO)|ID_OF_MAIN|Full_ID_of_parent
600+
|Name_of_(FILL|LINE_TYPE|LISTED|MACRO|MAIN|MATERIAL|PLAN|PROGRAM|STYLE|Building_Material|Profile)
601+
|Class_of_Fill
602+
|Reference_Level_Data|RGB_OF_(MATERIAL|PEN)|STORY(_INFO)?|(STYLE|TEXTBLOCK)_INFO
603+
|Floor_Plan_Option|View_Rotangle
604+
|Window_(DOOR_(DIMENSION|SHOW_DIM|zone_relev(_of_Owner)?)|SHOW_DIM)
605+
|WORKING_(ANGLE|LENGTH)_UNIT|ZONE_(CATEGORY|COLUS_AREA|RELATIONS)
606+
|(Building_)?Material_Info|COMPONENT_(PROJECTED_AREA|VOLUME)
607+
|(Component_Ids|((Component_)?(Property_Values|Properties)))_Of_Parent)|Property_Name
608+
|(Profile_(Components|Default_(Boundingbox|Geometry)|Component_Info))
609+
|Autotext_List|Sum_with_rounding
610+
|((Model|Layout)_(length|text_size)_unit)
611+
|Document_Feature
612+
|Configuration_Number
613+
)\b
602614
scope: keyword.globals.request.gdl
603615
616+
request-param-deprecated:
617+
- match: |-
618+
(?ix)\b(Constr_Fills_Display|Internal_Id)\b
619+
scope: keyword.globals.deprecated.gdl
620+
604621
globals-deprecated:
605622
- match: (?i)\b([A-Z](_\b|~))
606623
scope: keyword.globals.deprecated.gdl

0 commit comments

Comments
 (0)