mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
Corrected parameters order, which caused extra spaces formatting when performed on selected fragment. Formatter depending on the result of FormatterUtil.isFormatterCalledExplicitly decides whether to cut trailing spaces or not, and command name mismatch eliminated range correction. Test added.
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
public class T {
|
||||
|
||||
|
||||
public void tutu() {
|
||||
|
||||
}
|
||||
|
||||
|
||||
public void test() {}
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
public class T {
|
||||
|
||||
|
||||
<selection> public void tutu() {
|
||||
|
||||
}</selection>
|
||||
|
||||
|
||||
public void test() {}
|
||||
}
|
||||
Reference in New Issue
Block a user