syntax:specification

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
syntax:specification [2016/03/02 17:49] – [Delimiters] adminsyntax:specification [2018/01/10 20:43] (current) – external edit 127.0.0.1
Line 29: Line 29:
 <code xml><CaseSensitive>true</CaseSensitive></code> <code xml><CaseSensitive>true</CaseSensitive></code>
  
-Option tells engine to treat syntax as case sensitive. This setting will apply on parsing, statistic, search etc. +Option tells the engine to treat syntax as case sensitive. This setting will apply on parsing, statistic, search etc. 
-By default syntax treated as not case sensitive.+By defaultsyntax treated as not case sensitive.
  
 ===== OpenClose ===== ===== OpenClose =====
Line 36: Line 36:
 Here you can define pair symbols which should be treated together in such operations like [[view:matching|brace matching]], auto [[editing:auto_completion:braces|closing/deleting of pair braces]] etc. Here you can define pair symbols which should be treated together in such operations like [[view:matching|brace matching]], auto [[editing:auto_completion:braces|closing/deleting of pair braces]] etc.
  
-You always should enter two symbols, where first is **opening** and second **closing** symbol in pair (even if symbols are same).+You always should enter two symbols, where first is //opening// and second //closing// symbol in the pair (even if symbols are same).
  
-Sequence of pairs in the list matters. First one has most priority and in some operations (as [[view:matching|brace matching]]) processed differently.+The sequence of pairs in the list matters. First one has most priority and in some operations (as [[view:matching|brace matching]]) processed differently
 + 
 +  * **override** (true|false) - the attribute controls, if value of property from parent syntax shall be mixed in. Default is //false// - so, mix current value with parent syntax value.
  
 ===== LineEnd ===== ===== LineEnd =====
Line 52: Line 54:
 Set of single symbols, which will be treated as operator symbols by HE and displayed with operator style, if it is defined/inherited for current schema. Operator style is one of special HE known styles (as comments for example). Set of single symbols, which will be treated as operator symbols by HE and displayed with operator style, if it is defined/inherited for current schema. Operator style is one of special HE known styles (as comments for example).
  
 +  * **override** (true|false) - the attribute controls, if value of property from parent syntax shall be mixed in. Default is //false// - so, mix current value with parent syntax value.
  
 ===== Words ===== ===== Words =====
 <code xml><Words init="A-Za-z" override="false">0-9A-Za-z</Words></code> <code xml><Words init="A-Za-z" override="false">0-9A-Za-z</Words></code>
  
-The node defines which characters are allowed in words for text in this syntax. If nothing is specified, values from default syntax is used that equal to **0-9A-Za-z_** (means words are all continues character blocks, containing numbers, alpha characters or underscore). +The node defines which characters are allowed in words for text in this syntax. If nothing is specified, values from default syntax are used that equal to **0-9A-Za-z_** (means words are all continues character blocks, containing numbers, alpha characters or underscore). 
  
-  * **init** - this defines set of characters that are allowed for word start (allowed first characters of the word). If not defined, word can start from any number from word symbols. For example code below tells to HippoEDIT that words can be any alpha numeric sequence, but word can not start from number.+  * **init** - this defines set of characters that are allowed for word start (allowed first characters of the word). If not defined, the word can start from any number from word symbols. For example, the code below tells to HippoEDIT that words can be any alphanumeric sequence, but word can not start from number
 +  * **override** (true|false) - the attribute controls, if value of property from parent syntax shall be mixed in. Default is //false// - so, mix current value with parent syntax value.
  
 ===== WrapBy ===== ===== WrapBy =====
 <code xml><WrapBy override="false">(),</WrapBy></code> <code xml><WrapBy override="false">(),</WrapBy></code>
  
-Node defines additional to white space charcters (space, tab) symbols, which will be indicate prefferebale position for wrapping lines. +The property defines additional to white space characters symbols (as space, tab), which will be used to indicate the preferable position for wrapping lines.  
 + 
 +  * **override** (true|false) - the attribute controls, if value of property from parent syntax shall be mixed in. Default is //false// - so, mix current value with parent syntax value. 
 ===== Numbers ===== ===== Numbers =====
 <code xml><Numbers override="false">-+0-9.EUL</Numbers></code> <code xml><Numbers override="false">-+0-9.EUL</Numbers></code>
 The node defines characters that can be used in numbers. Number than will be recognized as continues character block, formed by characters defined in //Numbers// node. The node defines characters that can be used in numbers. Number than will be recognized as continues character block, formed by characters defined in //Numbers// node.
 +
 +  * **override** (true|false) - the attribute controls, if value of property from parent syntax shall be mixed in. Default is //false// - so, mix current value with parent syntax value.
 +
 ===== Delimiters ===== ===== Delimiters =====
-<code xml><Delimiters override="false">$</Delimiters></code>+<code xml><Delimiters override="false">$@#</Delimiters></code> 
 + 
 +Set of single symbols, which used to determine delimiter symbol (a symbol which stops/starts word). You can place here only that symbols which do not come to operators or //OpenClose// node. If they will intersect, it is not a problem. But if some of the delimiter symbols will be forgotten, HippoEDIT will "stop" on it during next word navigation, for example. Normally this node is not needed.
  
-Set of single symbols, which used to determine delimiter symbol (symbol which stops/starts word). You can place here only that symbols which do not come to operators or //OpenClose// node. If they will intersect, it is not a problem. But if some of the delimiter symbols will be forgotten, HippoEDIT will "stop" on it during next word navigationfor example.+  * **override** (true|false- the attribute controls, if value of property from parent syntax shall be mixed inDefault is //false// - somix current value with parent syntax value.
  
 ===== File Pattern ===== ===== File Pattern =====
  
 ==== Mask ==== ==== Mask ====
-Using this settings, you can define default file mapping for the syntax schema. If nothing defined, mask from parent syntax is used. For mask you can use same mask as normaly can be used for any file operation on Windows.+Using this setting, you can define default file mapping for the syntax schema. If nothing defined, mask from parent syntax is used. For mask you can use same mask as normaly can be used for any file operation on Windows.
  
 ==== File Pairs ==== ==== File Pairs ====