add word selection step for selecting a type parameter or type argument list with enclosing brackets

#KT-6697 Fixed
This commit is contained in:
Dmitry Jemerov
2015-07-29 19:58:55 +02:00
parent 77caa0d644
commit e545a7c699
5 changed files with 14 additions and 4 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
fun <A, B> foo() {
<selection>foo<I<caret>nt, B>()</selection>
foo<selection><I<caret>nt, B></selection>()
}
+3
View File
@@ -0,0 +1,3 @@
fun <A, B> foo() {
<selection>foo<I<caret>nt, B>()</selection>
}
+1 -2
View File
@@ -1,3 +1,2 @@
<selection>fun <A, <caret>B> foo() {
fun <selection><A, <caret>B></selection> foo() {
}
</selection>
+3
View File
@@ -0,0 +1,3 @@
<selection>fun <A, <caret>B> foo() {
}
</selection>