KT-18158 Expand selection should select the comment after expression getter on the same line (#1122)

* Expand selection should select the comment after expression getter on the same line #KT-18158 Fixed

* Fixed expand selection behavior for the declaration with comment #KT-18158

* Remove redundant code #KT-18158
This commit is contained in:
Toshiaki Kameyama
2017-06-14 19:28:56 +09:00
committed by Dmitry Jemerov
parent b1f84676d1
commit af941bfdf5
44 changed files with 104 additions and 30 deletions
@@ -3,5 +3,5 @@ abstract class Owner {
}
fun Owner.f() {
<caret><selection>TODO("not implemented")</selection> //To change body of created functions use File | Settings | File Templates.
<caret><selection>TODO("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
}
@@ -3,4 +3,4 @@ abstract class Owner {
}
val Owner.p: Int
get() = <caret><selection>TODO("not implemented")</selection> //To change initializer of created properties use File | Settings | File Templates.
get() = <caret><selection>TODO("not implemented") //To change initializer of created properties use File | Settings | File Templates.</selection>
@@ -4,4 +4,4 @@ class Owner {
}
val Owner.p: Int
get() = <caret><selection>TODO("not implemented")</selection> //To change initializer of created properties use File | Settings | File Templates.
get() = <caret><selection>TODO("not implemented") //To change initializer of created properties use File | Settings | File Templates.</selection>
@@ -4,7 +4,7 @@ class Owner {
}
var Owner.p: Int
get() = <caret><selection>TODO("not implemented")</selection> //To change initializer of created properties use File | Settings | File Templates.
get() = <caret><selection>TODO("not implemented") //To change initializer of created properties use File | Settings | File Templates.</selection>
set(value) {
TODO("not implemented") //To change initializer of created properties use File | Settings | File Templates.
}
@@ -6,5 +6,5 @@ class Owner {
var Owner.p: Int
get() = 1
set(value) {
<caret><selection>TODO("not implemented")</selection> //To change initializer of created properties use File | Settings | File Templates.
<caret><selection>TODO("not implemented") //To change initializer of created properties use File | Settings | File Templates.</selection>
}
@@ -6,5 +6,5 @@ class Owner {
var Owner.p: Int
get() { return 1 }
set(value) {
<caret><selection>TODO("not implemented")</selection> //To change initializer of created properties use File | Settings | File Templates.
<caret><selection>TODO("not implemented") //To change initializer of created properties use File | Settings | File Templates.</selection>
}
@@ -5,5 +5,5 @@ class Owner {
}
var Owner.p: Int
get() = <caret><selection>TODO("not implemented")</selection> //To change initializer of created properties use File | Settings | File Templates.
get() = <caret><selection>TODO("not implemented") //To change initializer of created properties use File | Settings | File Templates.</selection>
set(v) {}