mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 20:42:52 +07:00
Live Templates: proper handling home/end actions with selection in templates
context + add tests for editor actions inside template segments
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
public class A {
|
||||
public static void main(String[] args) {
|
||||
<caret>
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
public class A {
|
||||
public static void main(String[] args) {
|
||||
template myVariableValue text<caret>
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
public class A {
|
||||
public static void main(String[] args) {
|
||||
template myVariableValue<caret> text
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
public class A {
|
||||
public static void main(String[] args) {
|
||||
template myVariableValue t<selection>ext</selection><caret>
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
public class A {
|
||||
public static void main(String[] args) {
|
||||
template myVariableVal<selection>ue</selection><caret> text
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
public class A {
|
||||
public static void main(String[] args) {
|
||||
template myVariable<selection>Value</selection><caret> text
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
public class A {
|
||||
public static void main(String[] args) {
|
||||
template myVariableValue<caret> text
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
public class A {
|
||||
public static void main(String[] args) {
|
||||
<caret>template myVariableValue text
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
public class A {
|
||||
public static void main(String[] args) {
|
||||
template <caret>myVariableValue text
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
public class A {
|
||||
public static void main(String[] args) {
|
||||
<caret><selection>template myVariableValue t</selection>ext
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
public class A {
|
||||
public static void main(String[] args) {
|
||||
template <caret><selection>myVariableVal</selection>ue text
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
public class A {
|
||||
public static void main(String[] args) {
|
||||
template <caret><selection>myVariable</selection>Value text
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
public class A {
|
||||
public static void main(String[] args) {
|
||||
template <caret>myVariableValue text
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user