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
+3 -3
View File
@@ -1,13 +1,13 @@
fun main(args : Array<String>) {
for (i in 1..100) {
<selection>when {
<selection> when {
i%3 == 0 -> {print("Fizz"); continue;}
i%5 == 0 -> {print("Buzz"); continue;}
(i%3 != 0 && i%5 != 0) -> {print(i); continue;}<caret>
else -> println()
}</selection>
}
}
</selection> }
}
fun foo() : Unit {