Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| syntax:labels [2015/12/01 18:21] – [navigation] admin | syntax:labels [2018/01/10 20:43] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 12: | Line 12: | ||
| - | Labels give you a way fo quick navigation inside the document with [[view: | + | Labels give you a way fo quick navigation inside the document with [[view: |
| Labels are described with help of regular expression.\\ | Labels are described with help of regular expression.\\ | ||
| - | HippoEDIT uses BOOST regular expression engine, which use [[http:// | + | HippoEDIT uses BOOST regular expression engine, which uses [[http:// |
| For testing of the label definition I am using [[http:// | For testing of the label definition I am using [[http:// | ||
| Line 24: | Line 24: | ||
| ==== match ==== | ==== match ==== | ||
| - | Regular | + | A regular |
| Value: //any valid regular expression// | Value: //any valid regular expression// | ||
| Line 39: | Line 39: | ||
| ==== descr_match ==== | ==== descr_match ==== | ||
| - | Additional | + | The additional |
| Value: //any valid regular expression// | Value: //any valid regular expression// | ||
| Line 50: | Line 50: | ||
| ==== sub_image ==== | ==== sub_image ==== | ||
| - | Sub image associated with label (image drawn on top of main image). Usually used for visualization of label visibility (public, protected, private). | + | Sub-image associated with the label (image drawn on top of the main image). Usually used for visualization of label visibility (public, protected, private). |
| Value: // | Value: // | ||
| Line 60: | Line 60: | ||
| * **1** - label includes relevant scope start, | * **1** - label includes relevant scope start, | ||
| * **2** - scope includes relevant scope end. | * **2** - scope includes relevant scope end. | ||
| - | If label is related to scope (1|2) HippoEDIT would try to find appropriate scope and associate | + | If the label is related to scope (1|2) HippoEDIT would try to find the appropriate scope and associated |
| Value: //0|1|2//\\ | Value: //0|1|2//\\ | ||
| Line 66: | Line 66: | ||
| ==== navigation ==== | ==== navigation ==== | ||
| - | If set, then label would not be shown in [[view: | + | If set, then label would be used in [[editing: |
| Line 73: | Line 73: | ||
| ==== visible ==== | ==== visible ==== | ||
| - | Indicates, if label shall be shown in description field of [[view: | + | Indicates, if label shall be shown in the description field of [[view: |
| Value: // | Value: // | ||
| Line 79: | Line 79: | ||
| ==== marker ==== | ==== marker ==== | ||
| - | Defines image id to be shown on indicator margin | + | Defines image id to be shown on indicator margin |
| Value: // | Value: // | ||
| Line 164: | Line 164: | ||
| === in === | === in === | ||
| - | Regular expression with back references to extract label part to be highlighted as keyword. If not defined, // | + | Regular expression with back references to extract label part to be highlighted as keyword. If not defined, // |
| === all === | === all === | ||
| Line 176: | Line 176: | ||
| ==== global ==== | ==== global ==== | ||
| - | Indicates, that keywords are global, and shall be used in whole document, independent from scope. Currently only **true** value is supported. | + | Indicates, that keywords are global and shall be used in a whole document, independent from the scope. Currently, only **true** value is supported. |
| ===== Containers ===== | ===== Containers ===== | ||
| To restrict label for some style, you can also use [[syntax: | To restrict label for some style, you can also use [[syntax: | ||
| <code xml>< | <code xml>< | ||