Fixed KT-5894 Select Woes: no need to select code block + end of line

+ corrected selection of when

 #KT-5894 Fixed
This commit is contained in:
Valentin Kipyatkov
2014-12-15 20:11:54 -07:00
parent 5f9e685188
commit 3059a46ca7
11 changed files with 52 additions and 5 deletions
+6
View File
@@ -0,0 +1,6 @@
fun foo() {
if (a) {
<caret>f()
g()
}
}
+6
View File
@@ -0,0 +1,6 @@
fun foo() {
if (a) {
<selection><caret>f</selection>()
g()
}
}
+6
View File
@@ -0,0 +1,6 @@
fun foo() {
if (a) {
<selection><caret>f()</selection>
g()
}
}
+6
View File
@@ -0,0 +1,6 @@
fun foo() {
if (a) {
<selection> <caret>f()
</selection> g()
}
}
+6
View File
@@ -0,0 +1,6 @@
fun foo() {
if (a) {
<selection> <caret>f()
g()
</selection> }
}
+6
View File
@@ -0,0 +1,6 @@
fun foo() {
if (a) <selection>{
<caret>f()
g()
}</selection>
}
+6
View File
@@ -0,0 +1,6 @@
fun foo() {
<selection> if (a) {
<caret>f()
g()
}
</selection>}