SortContentAction: fix EOL comment capturing another elements while codegen

This commit is contained in:
Roman.Ivanov
2018-08-30 11:31:17 +07:00
parent 40ba62d4d8
commit a816ff3861
3 changed files with 44 additions and 0 deletions
@@ -0,0 +1,17 @@
// "Sort content" "true"
public class Test {
static final String[] SPECIFICATIONS = new String[]{
"1",
"1",
"1..900",
"100",
"100+10",
"100+3..999",
"100..999"//simple end comment
//simple end comment
};
}
@@ -0,0 +1,15 @@
// "Sort content" "true"
public class Test {
static final String[] SPECIFICATIONS = new String[]{
"1",
"100",<caret>
"100+10",
"100..999"//simple end comment
,
//simple end comment
"100+3..999",
"1",
"1..900",
};
}