Allow to select single word on double click in one line doc comment (KT-14327)
(cherry picked from commit 184d39a) #KT-14327 Fixed
This commit is contained in:
committed by
Nikolay Krasko
parent
ba0e36cdb1
commit
e41cddd870
@@ -0,0 +1,3 @@
|
||||
/** Doc comment <caret>here */
|
||||
fun foo() {
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
/** Doc comment <selection><caret>here</selection> */
|
||||
fun foo() {
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
/**<selection> Doc comment <caret>here </selection>*/
|
||||
fun foo() {
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* Doc comment
|
||||
* @param <caret>a The description of a.
|
||||
*/
|
||||
fun foo(a: Int) {
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* Doc comment
|
||||
* @param <selection><caret>a</selection> The description of a.
|
||||
*/
|
||||
fun foo(a: Int) {
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* Doc comment
|
||||
* <selection>@param <caret>a The description of a.</selection>
|
||||
*/
|
||||
fun foo(a: Int) {
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* Doc comment
|
||||
* @pa<caret>ram a The description of a.
|
||||
*/
|
||||
fun foo(a: Int) {
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* Doc comment
|
||||
* @<selection>pa<caret>ram</selection> a The description of a.
|
||||
*/
|
||||
fun foo(a: Int) {
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* Doc comment
|
||||
* <selection>@pa<caret>ram</selection> a The description of a.
|
||||
*/
|
||||
fun foo(a: Int) {
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* Doc comment
|
||||
* <selection>@pa<caret>ram a The description of a.</selection>
|
||||
*/
|
||||
fun foo(a: Int) {
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* Doc comment
|
||||
* @param a The descr<caret>iption of a.
|
||||
*/
|
||||
fun foo(a: Int) {
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* Doc comment
|
||||
* @param a The <selection>descr<caret>iption</selection> of a.
|
||||
*/
|
||||
fun foo(a: Int) {
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* Doc comment
|
||||
* @param a <selection>The descr<caret>iption of a.</selection>
|
||||
*/
|
||||
fun foo(a: Int) {
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* Doc comment
|
||||
* <selection>@param a The descr<caret>iption of a.</selection>
|
||||
*/
|
||||
fun foo(a: Int) {
|
||||
}
|
||||
Reference in New Issue
Block a user