mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-110607 Double clicking space/tab characters should select all space/tab characters until it encounters another type of character
Fixed tests GitOrigin-RevId: 038d0b6004f90b8a7cac231a83ba4cc883f2fa8a
This commit is contained in:
committed by
intellij-monorepo-bot
parent
5af57b3d90
commit
4dcf483e49
@@ -1,7 +1,7 @@
|
||||
class C {
|
||||
private void foo() {
|
||||
<selection>{
|
||||
<caret>
|
||||
<selection> <caret></selection>
|
||||
}</selection>
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
class C {
|
||||
private void foo() {
|
||||
<selection> {
|
||||
<caret>
|
||||
}
|
||||
</selection> }
|
||||
{
|
||||
<selection> <caret>
|
||||
</selection> }
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
class C {
|
||||
private void foo() <selection>{
|
||||
{
|
||||
<selection>{
|
||||
<caret>
|
||||
}
|
||||
}</selection>
|
||||
}</selection>
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
class C {
|
||||
private void foo() {
|
||||
<selection> {
|
||||
<caret>
|
||||
}
|
||||
</selection> }
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
class C {
|
||||
private void foo() <selection>{
|
||||
{
|
||||
<caret>
|
||||
}
|
||||
}</selection>
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
class C {
|
||||
private void foo() {
|
||||
if (a) <selection>{ <caret> }</selection>
|
||||
if (a) {<selection> <caret> </selection>}
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
class C {
|
||||
private void foo() {
|
||||
<selection>if (a) { <caret> }</selection>
|
||||
if (a) <selection>{ <caret> }</selection>
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
class C {
|
||||
private void foo() {
|
||||
<selection>if (a) { <caret> }</selection>
|
||||
}
|
||||
}
|
||||
@@ -5,10 +5,10 @@ public class TestClass {
|
||||
if (true) {
|
||||
System.out.println();
|
||||
}
|
||||
<caret><selection> else if (true) {
|
||||
<selection><caret>else</selection> if (true) {
|
||||
System.out.println();
|
||||
}
|
||||
</selection> else {
|
||||
else {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
|
||||
public class TestClass {
|
||||
|
||||
public void test() {
|
||||
if (true) {
|
||||
System.out.println();
|
||||
}
|
||||
<selection> <caret>else if (true) {
|
||||
System.out.println();
|
||||
}
|
||||
</selection> else {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -5,7 +5,7 @@ public class TestClass {
|
||||
if (true) {
|
||||
System.out.println();
|
||||
}
|
||||
<caret> else if (true) {
|
||||
<caret>else if (true) {
|
||||
System.out.println();
|
||||
}
|
||||
else {
|
||||
|
||||
+3
-3
@@ -5,9 +5,9 @@ class C {
|
||||
System.out.println(0);
|
||||
break;
|
||||
case 1:
|
||||
<selection><caret> System.out.println(1);
|
||||
</selection>
|
||||
<selection> System.out.println(1);
|
||||
<caret>
|
||||
break;
|
||||
}
|
||||
</selection> }
|
||||
}
|
||||
}
|
||||
-13
@@ -1,13 +0,0 @@
|
||||
class C {
|
||||
void m() {
|
||||
switch (0) {
|
||||
case 0:
|
||||
System.out.println(0);
|
||||
break;
|
||||
case 1:
|
||||
<selection><caret> System.out.println(1);
|
||||
|
||||
break;
|
||||
</selection> }
|
||||
}
|
||||
}
|
||||
+2
-2
@@ -5,8 +5,8 @@ class C {
|
||||
System.out.println(0);
|
||||
break;
|
||||
case 1:
|
||||
<caret> System.out.println(1);
|
||||
|
||||
System.out.println(1);
|
||||
<caret>
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
class C {
|
||||
<caret> /** comment */
|
||||
<selection><caret> </selection>/** comment */
|
||||
int a;
|
||||
}
|
||||
@@ -7,7 +7,7 @@ public class TestClass {
|
||||
System.out.println();
|
||||
}
|
||||
else {
|
||||
<caret> System.out.println();
|
||||
<selection><caret> </selection>System.out.println();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -10,7 +10,7 @@ public class TestClass {
|
||||
System.out.println();
|
||||
}
|
||||
else {
|
||||
<caret> System.out.println();
|
||||
<selection><caret> </selection>System.out.println();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
public class Test {
|
||||
<caret><selection> /**
|
||||
*
|
||||
<selection> /**
|
||||
*<caret>
|
||||
*/
|
||||
</selection> void foo() {
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
public class Test {
|
||||
<caret> /**
|
||||
*
|
||||
*/
|
||||
/**
|
||||
<selection> *<caret>
|
||||
</selection> */
|
||||
void foo() {
|
||||
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
class C {
|
||||
<selection> private void foo() {
|
||||
<selection> </selection>private void foo() {
|
||||
if (a) {
|
||||
}
|
||||
}
|
||||
</selection>}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
class C {
|
||||
<selection> private void foo() {
|
||||
if (a) {
|
||||
}
|
||||
}
|
||||
</selection>}
|
||||
+1
-1
@@ -4,7 +4,7 @@ class C {
|
||||
case 0:
|
||||
System.out.println(0);
|
||||
break;
|
||||
<selection><caret> case 1:
|
||||
<selection> <caret>case 1:
|
||||
</selection> System.out.println(1);
|
||||
break;
|
||||
}
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ class C {
|
||||
case 0:
|
||||
System.out.println(0);
|
||||
break;
|
||||
<selection><caret> case 1:
|
||||
<selection> <caret>case 1:
|
||||
System.out.println(1);
|
||||
break;
|
||||
</selection> }
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ class C {
|
||||
case 0:
|
||||
System.out.println(0);
|
||||
break;
|
||||
<caret> case 1:
|
||||
<selection><caret>case 1:</selection>
|
||||
System.out.println(1);
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<a>
|
||||
<selection> <foo>
|
||||
<selection> </selection><foo>
|
||||
</foo>
|
||||
</selection></a>
|
||||
</a>
|
||||
Reference in New Issue
Block a user