mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
multi-caret typing fixes for Java files
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
class Foo {
|
||||
void m() {
|
||||
if (true)
|
||||
{<caret>
|
||||
if (true)
|
||||
{<caret>
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
class Foo {
|
||||
void m() {
|
||||
if (true)
|
||||
<caret>
|
||||
if (true)
|
||||
<caret>
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
class Foo {
|
||||
void m() {
|
||||
if (true) {
|
||||
System.out.println();
|
||||
}<caret>
|
||||
if (true) {
|
||||
System.out.println();
|
||||
}<caret>
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
class Foo {
|
||||
void m() {
|
||||
if (true) {
|
||||
System.out.println();
|
||||
<caret>
|
||||
if (true) {
|
||||
System.out.println();
|
||||
<caret>
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
class Foo {
|
||||
void m() {
|
||||
if (true) {
|
||||
List<<caret>>
|
||||
}
|
||||
if (true) {
|
||||
List<<caret>>
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
class Foo {
|
||||
void m() {
|
||||
if (true) {
|
||||
List<caret>
|
||||
}
|
||||
if (true) {
|
||||
List<caret>
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
class Foo {
|
||||
void m() {
|
||||
System.out.println("<caret>");
|
||||
System.out.println("<caret>");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
class Foo {
|
||||
void m() {
|
||||
System.out.println(<caret>);
|
||||
System.out.println(<caret>);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
class Foo {
|
||||
void m() {
|
||||
System.exit(<caret>)
|
||||
System.exit(<caret>)
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
class Foo {
|
||||
void m() {
|
||||
System.exit<caret>
|
||||
System.exit<caret>
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
class Foo {
|
||||
void m() {
|
||||
java.util.List<String> l1 = new java.util.ArrayList<><caret>();
|
||||
java.util.List<String> l2 = new java.util.ArrayList<><caret>();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
class Foo {
|
||||
void m() {
|
||||
java.util.List<String> l1 = new java.util.ArrayList<<caret>>();
|
||||
java.util.List<String> l2 = new java.util.ArrayList<<caret>>();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
class Foo {
|
||||
void m() {
|
||||
System.out.println(""<caret>);
|
||||
System.out.println(""<caret>);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
class Foo {
|
||||
void m() {
|
||||
System.out.println("<caret>");
|
||||
System.out.println("<caret>");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
class Foo {
|
||||
void m() {
|
||||
System.exit()<caret>
|
||||
System.exit()<caret>
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
class Foo {
|
||||
void m() {
|
||||
System.exit(<caret>)
|
||||
System.exit(<caret>)
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
class Foo {
|
||||
void m() {
|
||||
System.out.println();<caret>
|
||||
System.out.println();<caret>
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
class Foo {
|
||||
void m() {
|
||||
System.out.println()<caret>;
|
||||
System.out.println()<caret>;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user