view:matching

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
view:matching [2016/05/14 23:56] adminview:matching [2018/03/22 19:28] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== Brace matching ====== ====== Brace matching ======
  
-**Automatic brace matching** gives you immediate feedback on misplaced brackets or open-ended code segments. Automatic brace matching recognizes all brackets types, quotes, and structures defined in the language specification. When you type a closing bracket, both it and its matching bracket remain highlighted until you type another key or move the cursor (same works for open / close structures). This makes visually identifying code blocks much easier. In addition, this may help identify mismatched or missing brackets and structures. Double click on open / close structure tag will navigate you to matching the close/open tag in the document.+**Automatic brace matching** gives you immediate feedback on misplaced brackets or open-ended code segments. Automatic brace matching recognizes all brackets types, quotes, and structures defined in the language specification. When you type a closing bracket, both it and its matching bracket remain highlighted until you type another key or move the cursor (same works for open/close structures). This makes visually identifying code blocks much easier. In addition, this may help identify mismatched or missing brackets and structures. Double click on open/close structure tag will navigate you to matching the close/open tag in the document.
  
 {{:view:brace_matching.png?nolink|Runtime highlighting of matched structures when typing}} {{:view:brace_matching.png?nolink|Runtime highlighting of matched structures when typing}}
Line 10: Line 10:
  
 You can configure symbols that should be highlighted in [[syntax:specification#OpenClose|OpenClose node of syntax specification]].\\ You can configure symbols that should be highlighted in [[syntax:specification#OpenClose|OpenClose node of syntax specification]].\\
-<note>Be aware, that sequence of the braces matter, and only first pair will be treated as obligatory and markers as unclosed if it is.</note> +<note>Be aware, that sequence of the braces matter, and the only first pair will be treated as obligatory and would be marked as unclosed if it is.</note>