File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 44* Corrected scope for highlighting in mixed (HTML/iRev)
55 environment. (PR #38 )
66* Adjusted revIgniter grammar and snippets to revIgniter modifications
7- up to version 2.0.3. (PR #39 )
7+ up to version 2.1.0. (PR #39 )
8+ * Updated indent rules (PR #35 )
89
910## 0.6.1 - Improvements to documentation and LiveCode Script support
1011* Revised, expanded and generally improved documentation (issue #19 )
Original file line number Diff line number Diff line change 5454
5555".source.livecodescript, .source.iRev, .text.html.iRev":
5656 'editor':
57- 'increaseIndentPattern': "(^on\\s+?.+)|(^command\\s+?.+)|(^function\\s+?.+)|(\\s*if\\s+?.+then$)|(^\\s*else$)|(\\s*repeat\\s+?.+)|(switch\\s+?.+)|(case\\s+?.+)|(\\s*default)|(\\s*(?<!end )try$)|(\\s*catch\\s+?.+)"
58- 'decreaseIndentPattern': "(\\s*end\\s+?.+)|(case\\s+?.+)|(\\s*default)|(^\\s*else$)|(\\s*catch\\s+?.+)"
57+ 'increaseIndentPattern': "^\\s*?((on\\s+?.+)|((private\\s)?((command|function)\\s+?.+))|((else?\\s*)?(if\\s+?.+then\\s*?)((#|--).*?)?$)|(else\\s*?((#|--).*?)?$)|(repeat\\s+?.+)|(switch\\s?.+)|(case\\s+?.+)|(default.*)|(try\\s*?.*)|(catch\\s+?.+)|(finally\\s?.*)|((#|--|)\\s*?<\\s*?[^/].*?>))"
58+ 'decreaseIndentPattern': "^\\s*((end\\s+?.+)|(case\\s+?.+)|(default\\s*?.*)|(else.*)|(catch\\s+?.+)|(finally\\s*?.*)|((#|--|)\\s*?</.*?>))"
59+ 'disableIndentNextLinePattern':"^\\s*?(if\\s+?.+?then\\s+?.+)"
5960 'tabLength': 3
6061 'foldEndPattern': '^\\s*end\\b'
6162 autocomplete:
You can’t perform that action at this time.
0 commit comments