Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| syntax:scopes [2016/10/24 11:15] – admin | syntax:scopes [2018/01/10 20:43] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| Node SCOPES contains a collection of scope definitions that can be used in the syntax. | Node SCOPES contains a collection of scope definitions that can be used in the syntax. | ||
| - | <code xml>< | + | <code xml>< |
| <Scope open=" | <Scope open=" | ||
| < | < | ||
| Line 17: | Line 17: | ||
| Scopes are inheritable: | Scopes are inheritable: | ||
| + | |||
| + | You can define global containers for all scopes on the level of main SCOPES node (the container list can be extended for explicit Scope on the level of that scope): | ||
| + | * **open_container** - global open container | ||
| + | * **middle_container** - global middle container | ||
| + | * **close_container** - global close container | ||
| + | If you define **only** open_container it will be used also for middle and close tags by default. | ||
| + | |||
| ===== User defined scopes ===== | ===== User defined scopes ===== | ||
| If programming language does not support user defined regions (user defined collapsible regions) [[syntax: | If programming language does not support user defined regions (user defined collapsible regions) [[syntax: | ||