Creating indent by CodeStyleManager.adjustLineIndent when surrounding with try-finally (IDEA-128859)

This commit is contained in:
Yaroslav Lepenkin
2014-09-01 19:16:37 +04:00
parent 6d64c26e4f
commit 8d7040e88e
4 changed files with 34 additions and 10 deletions
@@ -0,0 +1,5 @@
class Test {
void test() {
<selection> int a = 2;</selection>
}
}
@@ -0,0 +1,9 @@
class Test {
void test() {
try {
int a = 2;
} finally {
<caret>
}
}
}