Skip to content

Commit 979729f

Browse files
committed
Update change log (include PR 35)
1 parent 3e10f1e commit 979729f

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
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)

settings/language-livecode.cson

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,9 @@
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*?&lt;\\s*?[^/].*?&gt;))"
58+
'decreaseIndentPattern': "^\\s*((end\\s+?.+)|(case\\s+?.+)|(default\\s*?.*)|(else.*)|(catch\\s+?.+)|(finally\\s*?.*)|((#|--|)\\s*?&lt;/.*?&gt;))"
59+
'disableIndentNextLinePattern':"^\\s*?(if\\s+?.+?then\\s+?.+)"
5960
'tabLength': 3
6061
'foldEndPattern': '^\\s*end\\b'
6162
autocomplete:

0 commit comments

Comments
 (0)