introduce: shrink selection to exclude whitespaces and comments (IDEA-149120)

This commit is contained in:
Anna Kozlova
2015-12-28 10:27:00 +01:00
parent b9b85cca9d
commit 05b90b10a3
4 changed files with 29 additions and 1 deletions
@@ -0,0 +1,8 @@
class Test {
{
final String ab = "".substring(1)
.substring(1);
ab // comment
.notify()
}
}
@@ -0,0 +1,7 @@
class Test {
{
<selection> "".substring(1)
.substring(1) // comment</selection>
.notify()
}
}