Skip to content

Commit bce0a39

Browse files
committed
new scope for UI_NEXT/PREV
1 parent 65a07b8 commit bce0a39

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

Syntaxes/GDL.YAML-tmLanguage

+3
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ patterns:
8585
- match: (?i)(?<=\s|,)(ON|OFF|AUTO)(?=$|\s|,)
8686
name: support.other.variable.gdl.shadow
8787

88+
- match: (?i)\b(UI_(NEXT|PREV))\b
89+
name: support.other.variable.gdl.ui
90+
8891
- match: (?i)(?<=^|\s)(VALUES(\{2\})?|PARAMETERS|LOCK|HIDEPARAMETER|PARVALUE_DESCRIPTION)(?=$|\s)
8992
name: keyword.gdl.nongeo.parameters
9093

Syntaxes/GDL.tmLanguage

+6
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,12 @@
169169
<key>name</key>
170170
<string>support.other.variable.gdl.shadow</string>
171171
</dict>
172+
<dict>
173+
<key>match</key>
174+
<string>(?i)\b(UI_(NEXT|PREV))\b</string>
175+
<key>name</key>
176+
<string>support.other.variable.gdl.ui</string>
177+
</dict>
172178
<dict>
173179
<key>match</key>
174180
<string>(?i)(?&lt;=^|\s)(VALUES(\{2\})?|PARAMETERS|LOCK|HIDEPARAMETER|PARVALUE_DESCRIPTION)(?=$|\s)</string>

0 commit comments

Comments
 (0)