KT-3949 Extend selection in case of comment before several statements
#KT-3949 Fixed
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
fun test() {
|
||||
x()
|
||||
|
||||
// <caret>comment for several lines
|
||||
foo()
|
||||
bar()
|
||||
|
||||
y()
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
fun test() {
|
||||
x()
|
||||
|
||||
// <selection><caret>comment</selection> for several lines
|
||||
foo()
|
||||
bar()
|
||||
|
||||
y()
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
fun test() {
|
||||
x()
|
||||
|
||||
// <selection><caret>comment for several lines</selection>
|
||||
foo()
|
||||
bar()
|
||||
|
||||
y()
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
fun test() {
|
||||
x()
|
||||
|
||||
<selection>// <caret>comment for several lines</selection>
|
||||
foo()
|
||||
bar()
|
||||
|
||||
y()
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
fun test() {
|
||||
x()
|
||||
|
||||
<selection> // <caret>comment for several lines
|
||||
</selection> foo()
|
||||
bar()
|
||||
|
||||
y()
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
fun test() {
|
||||
x()
|
||||
|
||||
<selection> // <caret>comment for several lines
|
||||
foo()
|
||||
bar()
|
||||
</selection>
|
||||
y()
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
fun test() {
|
||||
<selection> x()
|
||||
|
||||
// <caret>comment for several lines
|
||||
foo()
|
||||
bar()
|
||||
|
||||
y()
|
||||
</selection>}
|
||||
Reference in New Issue
Block a user