do not stick multiple params (IDEA-74310)

This commit is contained in:
Anna Kozlova
2012-06-19 14:04:29 +04:00
parent 399ca4050a
commit bcc15a98f0
@@ -814,7 +814,7 @@ public class Messages {
textField.setText(textArea.getText());
}
});
String s = textField.getText().replaceAll("[\\ ]*=[\\ ]*", "=");
String s = textField.getText().replaceAll("[ ]*=[ ]*", "=").replaceAll("\\-", "\\ \\-");
List<String> lines = StringUtil.splitHonorQuotes(s, ' ');
textArea.setText(StringUtil.join(lines, "\n"));
InsertPathAction.copyFromTo(textField, textArea);