IDEA-138306 Moving code through collapsed code breaks it

This commit is contained in:
Dmitry Batrak
2015-03-27 13:46:06 +03:00
parent f15ac71333
commit 3a30a57687
6 changed files with 110 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
import javax.swing.*;
import java.lang.Override;
import java.lang.Runnable;
class Test {
void m() {
SwingUtilities.invokeLater(new Runnable() {
@Override
public void run() {
System.out.println();
}
});
<selection> System.out.println();
<caret></selection> }
}