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
@@ -4,7 +4,7 @@ interface I {
class A : I {
override val someVal: String?
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>
}
// ELEMENT_TEXT: "override val someVal: String?"
@@ -4,7 +4,7 @@ interface I {
class A : I {
override val someVal: String?
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>
}
// ELEMENT_TEXT: "override val someVal: String?"
@@ -4,7 +4,7 @@ interface I {
class A : I {
override var someVar: String
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) {}
}