add threshold attribute to WHILE tag
This commit is contained in:
@@ -16,7 +16,7 @@ Syntax highlighting and language support for **EFTL (ElixForms Template Language
|
||||
- `[EFTL]...[/EFTL]` - Main EFTL block
|
||||
- `[VAR name="..." type="..."]...[/VAR]` - Variable declarations
|
||||
- `[IF]...[/IF]` - Conditionals
|
||||
- `[WHILE]...[/WHILE]` - Loops
|
||||
- `[WHILE threshold="..."]...[/WHILE]` - Loops with an optional string threshold
|
||||
|
||||
### Expressions
|
||||
|
||||
@@ -40,7 +40,7 @@ Syntax highlighting and language support for **EFTL (ElixForms Template Language
|
||||
### Control Structures
|
||||
|
||||
- `[IF]`, `[CONDITION]`, `[THEN]`, `[ELSE]`, `[ELSE IF]`
|
||||
- `[WHILE]`, `[DO]`
|
||||
- `[WHILE]`, `[WHILE threshold="..."]`, `[DO]`
|
||||
|
||||
### Comments
|
||||
|
||||
@@ -105,25 +105,26 @@ If you want to debug the extension or the language server:
|
||||
|
||||
## Snippets
|
||||
|
||||
| Prefix | Description |
|
||||
| ----------- | ---------------------- |
|
||||
| `eftl` | EFTL block with header |
|
||||
| `var` | Variable declaration |
|
||||
| `vartag` | Variable from TAG |
|
||||
| `varschema` | Variable from SCHEMAID |
|
||||
| `if` | IF statement |
|
||||
| `ifelse` | IF-ELSE statement |
|
||||
| `while` | WHILE loop |
|
||||
| `split` | Split function |
|
||||
| `trim` | Trim function |
|
||||
| `valueof` | VALUE_OF function |
|
||||
| `sizeof` | SIZE_OF function |
|
||||
| `contains` | CONTAINS function |
|
||||
| `formatnum` | Format number |
|
||||
| `tag` | GETVALUEBYTAG tag |
|
||||
| `schema` | SCHEMAID tag |
|
||||
| `out` | Output expression |
|
||||
| `comment` | Comment block |
|
||||
| Prefix | Description |
|
||||
| ---------------- | ------------------------- |
|
||||
| `eftl` | EFTL block with header |
|
||||
| `var` | Variable declaration |
|
||||
| `vartag` | Variable from TAG |
|
||||
| `varschema` | Variable from SCHEMAID |
|
||||
| `if` | IF statement |
|
||||
| `ifelse` | IF-ELSE statement |
|
||||
| `while` | WHILE loop |
|
||||
| `whilethreshold` | WHILE loop with threshold |
|
||||
| `split` | Split function |
|
||||
| `trim` | Trim function |
|
||||
| `valueof` | VALUE_OF function |
|
||||
| `sizeof` | SIZE_OF function |
|
||||
| `contains` | CONTAINS function |
|
||||
| `formatnum` | Format number |
|
||||
| `tag` | GETVALUEBYTAG tag |
|
||||
| `schema` | SCHEMAID tag |
|
||||
| `out` | Output expression |
|
||||
| `comment` | Comment block |
|
||||
|
||||
## Example
|
||||
|
||||
|
||||
Reference in New Issue
Block a user