Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStéphane Bégaudeau2016-08-23 12:56:13 +0000
committerPierre-Charles David2016-08-24 08:47:36 +0000
commita26b61d8a8a04d6219821ed96e0dc23d96f3c768 (patch)
tree3ca7d24c0e2144b80c1f45617d1785f39db74602
parent27c4dcd2949a3e5339b6ac918b31a57762a6d07e (diff)
downloadorg.eclipse.sirius-a26b61d8a8a04d6219821ed96e0dc23d96f3c768.tar.gz
org.eclipse.sirius-a26b61d8a8a04d6219821ed96e0dc23d96f3c768.tar.xz
org.eclipse.sirius-a26b61d8a8a04d6219821ed96e0dc23d96f3c768.zip
[498205] The title of the view should be limited to one line
Add support for U+2028, the unicode Character 'LINE SEPARATOR' used by Sirius when the end user enter Ctrl+Enter in a direct edit tool. Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=498205 Change-Id: I349138c0c8764f7a5f5104d3b436836322f696b0 Signed-off-by: Stéphane Bégaudeau <stephane.begaudeau@obeo.fr>
-rw-r--r--plugins/org.eclipse.sirius.ui.properties/src/org/eclipse/sirius/ui/properties/internal/ContributorWrapper.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.sirius.ui.properties/src/org/eclipse/sirius/ui/properties/internal/ContributorWrapper.java b/plugins/org.eclipse.sirius.ui.properties/src/org/eclipse/sirius/ui/properties/internal/ContributorWrapper.java
index b7976acd9b..d86abf749a 100644
--- a/plugins/org.eclipse.sirius.ui.properties/src/org/eclipse/sirius/ui/properties/internal/ContributorWrapper.java
+++ b/plugins/org.eclipse.sirius.ui.properties/src/org/eclipse/sirius/ui/properties/internal/ContributorWrapper.java
@@ -32,7 +32,7 @@ public class ContributorWrapper extends AbstractEEFTabbedPropertySheetPageContri
* The pattern used to separate a piece of text into an array containing all
* the lines of the text.
*/
- private static final Pattern LINE_SEPARATOR_PATTERN = Pattern.compile("\r\n|\r|\n"); //$NON-NLS-1$
+ private static final Pattern LINE_SEPARATOR_PATTERN = Pattern.compile("\r\n|\r|\n|\u2028"); //$NON-NLS-1$
/**
* The constructor.

Back to the top