diff --git a/GDL.sublime-syntax b/GDL.sublime-syntax index 4f551f9..8cbc5fc 100644 --- a/GDL.sublime-syntax +++ b/GDL.sublime-syntax @@ -381,6 +381,9 @@ contexts: - match: (?i)\b(CUSTOM)\b scope: support.other.variable.parameters.custom.gdl + - match: (?i)(?<=hideparameter\s)(\s*all)\b + scope: support.other.variable.parameters.all.gdl + - match: (?i)\b(UI_(Next|Prev|Function|Link))\b scope: support.other.variable.ui.gdl @@ -774,6 +777,7 @@ contexts: - include: expression-common - include: easyparams - include: string + - include: arrays after-array: - match: \[ diff --git a/Messages/v3.4.5.txt b/Messages/v3.4.5.txt index 6950231..891dcc1 100644 --- a/Messages/v3.4.5.txt +++ b/Messages/v3.4.5.txt @@ -23,6 +23,7 @@ CHANGELOG: # added • A few missing Globals. GDL-Sublime should now recognize all 835 possible Globals and Requests. +• `all` behind a `hideparameter` is now highlighted. # changed - \ No newline at end of file +• Arrays inside arrays are now allowed `foo[bar[1]]` diff --git a/Preferences/GDL.sublime-completions b/Preferences/GDL.sublime-completions index 511f6ac..3f9e954 100644 --- a/Preferences/GDL.sublime-completions +++ b/Preferences/GDL.sublime-completions @@ -455,7 +455,7 @@ "WIDO_HEAD_DEPTH", "WIDO_ORIG_DIST", "WIDO_POSITION", - "WIDO_REVEAL_SIDE", + "WIDO_REVEAL_SIDE", "WIDO_RIGHT_JAMB", "WIDO_SILL", "WIDO_THRES_DEPTH", @@ -463,7 +463,7 @@ "wire", /* XYZ XYZ XYZ XYZ XYZ XYZ XYZ XYZ XYZ XYZ XYZ XYZ XYZ XYZ */ - { "trigger": "xform", "contents": "xform ${1:a11}, ${2:a12}, ${3:a13}, ${4:a14},\n\t\t${5:a21}, ${6:a22}, ${7:a23}, ${8:a24},\n\t\t${9:a31}, ${10:a32}, ${11:a33}, ${12:a34}" }, + { "trigger": "xform", "contents": "xform ${1:1}, ${2:0}, ${3:0}, ${4:0},\n\t\t${5:0}, ${6:1}, ${7:0}, ${8:0},\n\t\t${9:0}, ${10:0}, ${11:1}, ${12:0}" }, "xwall_", "xwall_{2}", "xwall_{3}",