add threshold attribute to WHILE tag

This commit is contained in:
2026-08-19 14:12:26 +02:00
parent 15422cca1f
commit 300864a15e
7 changed files with 61 additions and 25 deletions
+16 -1
View File
@@ -236,9 +236,24 @@
"name": "keyword.control.conditional.eftl",
"match": "\\[(IF|ELSE IF|ELSE|/IF|CONDITION|/CONDITION|THEN|/THEN|/ELSE IF|/ELSE)\\]"
},
{
"name": "meta.control.loop.eftl",
"begin": "(\\[)(WHILE)\\b",
"end": "(\\])",
"beginCaptures": {
"1": { "name": "keyword.control.loop.eftl" },
"2": { "name": "keyword.control.loop.eftl" }
},
"endCaptures": {
"1": { "name": "keyword.control.loop.eftl" }
},
"patterns": [
{ "include": "#attributes" }
]
},
{
"name": "keyword.control.loop.eftl",
"match": "\\[(WHILE|/WHILE|DO|/DO)\\]"
"match": "\\[(/WHILE|DO|/DO)\\]"
}
]
},