Formatter: support "catch on new line" and "finally on new line" options

This commit is contained in:
Pavel V. Talanov
2014-01-17 19:20:30 +04:00
parent 7dc7db04b3
commit 53d503e242
10 changed files with 88 additions and 51 deletions
@@ -2,14 +2,11 @@
fun foo(n: Int): Int {
return try {
n / 0
}
<caret>catch (e: ArithmeticException) {
} <caret>catch (e: ArithmeticException) {
-1
}
catch (e: Exception) {
} catch (e: Exception) {
-2
}
finally {
} finally {
}
}