From 6562511d1a66dc4b08c8f37b99edb4f643cdbf39 Mon Sep 17 00:00:00 2001 From: anna Date: Tue, 3 Jul 2012 12:43:34 +0200 Subject: [PATCH] insert space after eq only (IDEA-87901) --- platform/platform-api/src/com/intellij/openapi/ui/Messages.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/platform-api/src/com/intellij/openapi/ui/Messages.java b/platform/platform-api/src/com/intellij/openapi/ui/Messages.java index f7ac237dbc15..91699f132804 100644 --- a/platform/platform-api/src/com/intellij/openapi/ui/Messages.java +++ b/platform/platform-api/src/com/intellij/openapi/ui/Messages.java @@ -814,7 +814,7 @@ public class Messages { textField.setText(textArea.getText()); } }); - String s = textField.getText().replaceAll("[ ]*=[ ]*", "=").replaceAll("\\-", "\\ \\-"); + String s = textField.getText().replaceAll("[ ]*=[ ]*", "=").replaceAll("=\\-", "=\\ \\-"); List lines = StringUtil.splitHonorQuotes(s, ' '); textArea.setText(StringUtil.join(lines, "\n")); InsertPathAction.copyFromTo(textField, textArea);