position caret to the next probable editing location after inserting type arguments (IDEA-26763)

This commit is contained in:
peter
2012-03-09 23:05:53 +04:00
parent 404d2487f1
commit ed3f7f1132
7 changed files with 112 additions and 42 deletions
@@ -1,5 +1,5 @@
class HashMap<T,V> {}
import java.util.HashMap;
public class A {
private HashMap<String, String> m = new HashMap<String, String><caret>();
private HashMap<String, String> m = new HashMap<String, String>(<caret>);
}
@@ -1,4 +1,4 @@
class HashMap<T,V> {}
import java.util.HashMap;
public class A {
private HashMap<String, String> m = new HashMap<<caret>>();
@@ -1,4 +1,4 @@
class Test<T> {
Test<String> test = new Test<String><caret>
Test<String> test = new Test<String>();<caret>
}
@@ -1,3 +1,3 @@
class AAAAA<K,V>{
AAAAA<K,V> asd = new AAAAA<K, V><caret>
AAAAA<K,V> asd = new AAAAA<K, V>();<caret>
}