editing:auto_completion:braces

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
editing:auto_completion:braces [2018/01/10 19:42] – external edit 127.0.0.1editing:auto_completion:braces [2018/03/23 13:05] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== Auto Brackets ====== ====== Auto Brackets ======
  
-The name of the feature is actually misleadingand could be named as auto-braces or auto pair symbols. +The name of the feature is actually misleading and could be named as auto-braces or auto pair symbols. 
-But independently of name, functionality used for auto closing open symbol by closing symbol.\\+But independently of the name, functionality used for an auto-closing open symbol by closing symbol.\\
 In addition, functionality is also responsible for deleting of pair symbols together; if a close symbol is deleted and there is only white space between of both symbols. In addition, functionality is also responsible for deleting of pair symbols together; if a close symbol is deleted and there is only white space between of both symbols.
  
Line 11: Line 11:
   * For asymmetric (as {}()[]), next char should be delimiter, otherwise close symbol will not be added   * For asymmetric (as {}()[]), next char should be delimiter, otherwise close symbol will not be added
   * Auto adding does not work in “text” styles (comments, strings)   * Auto adding does not work in “text” styles (comments, strings)
-  * If you type open + close symbol fast HippoEDIT will “eat” auto added. But if you do it after a bigger delay, you would get “duplicated” close one. This is by design. Editor remembers only last auto closed pair, but not all of them.+  * If you type open + close symbol fast HippoEDIT will “eat” auto-added. But if you do it after a bigger delay, you would get “duplicated” close one. This is by design. Editor remembers only last auto closed pair, but not all of them.
   * Editor executes adding of pair symbol action only after typing open symbol   * Editor executes adding of pair symbol action only after typing open symbol
-  * Deletes back of both pair symbols, if there is no other characters or white space between open/close symbols+  * Deletes back both pair symbols, if there is no other characters or white space between open/close symbols
   * There is similar function exists, that can be useful: [[options:formatting:smart-helpers|Surround Selection]]. If you select some text and then press any of open symbols, selection should be surrounded by open close symbol.   * There is similar function exists, that can be useful: [[options:formatting:smart-helpers|Surround Selection]]. If you select some text and then press any of open symbols, selection should be surrounded by open close symbol.