KT-12887 Extend selection should select call's invoked expression (#904)

#KT-12887 fixed
This commit is contained in:
Yoshinori Isogai
2016-07-23 03:23:42 +09:00
committed by Dmitry Jemerov
parent 83000c50ff
commit 8aaf28e240
9 changed files with 67 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
fun foo() {
val bar = 1
<caret>bar.and(1.and(1)).and(1)
}
+4
View File
@@ -0,0 +1,4 @@
fun foo() {
val bar = 1
<selection><caret>bar</selection>.and(1.and(1)).and(1)
}
+4
View File
@@ -0,0 +1,4 @@
fun foo() {
val bar = 1
<selection><caret>bar.and</selection>(1.and(1)).and(1)
}
+4
View File
@@ -0,0 +1,4 @@
fun foo() {
val bar = 1
<selection><caret>bar.and(1.and(1))</selection>.and(1)
}
+4
View File
@@ -0,0 +1,4 @@
fun foo() {
val bar = 1
<selection><caret>bar.and(1.and(1)).and</selection>(1)
}
+4
View File
@@ -0,0 +1,4 @@
fun foo() {
val bar = 1
<selection><caret>bar.and(1.and(1)).and(1)</selection>
}