mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 20:42:52 +07:00
surround with: adjust range if no selection is present so multi-line statement can be wrapped (IDEA-156463)
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
class Test {
|
||||
{
|
||||
<caret> for(int i = 0; i< 9; i++) {
|
||||
System.out.println("42");
|
||||
}
|
||||
}
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
class Test {
|
||||
{
|
||||
if () {
|
||||
for(int i = 0; i< 9; i++) {
|
||||
System.out.println("42");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user