From: Niraj Modi Date: Fri, 15 May 2015 13:25:07 +0000 (+0530) Subject: Bug 433817 - Shell#setText with newlines (\n) causes the shell title to X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e3cc9c35f8a2e43dc795766aca1e50b8d3e0b65b;p=sdk%2Fide%2Feclipse-platform-swt.git Bug 433817 - Shell#setText with newlines (\n) causes the shell title to disappear - Fixed JavaDocs for CCombo#add() methods. Change-Id: I79b3b142f0f6cd2cd2d4b55ad3d350dea0062681 Signed-off-by: Niraj Modi --- diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CCombo.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CCombo.java index 0e06e31..8df423e 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CCombo.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CCombo.java @@ -178,7 +178,10 @@ static int checkStyle (int style) { } /** * Adds the argument to the end of the receiver's list. - * + *

+ * Note: If escape characters like '\n', '\t' etc. are used + * in the string, then the behavior is platform dependent. + *

* @param string the new item * * @exception IllegalArgumentException