diff options
author | Niraj Modi | 2015-05-19 12:22:17 +0000 |
---|---|---|
committer | Niraj Modi | 2015-05-19 12:22:17 +0000 |
commit | d6e9a5cd1a69c0f96157482d1b5fd29f162cf11d (patch) | |
tree | f441be7da58fd14e5880194a8b1879f0287ce7d4 | |
parent | bc9539f7a967d40878c4a46b945616aa7c3d72b9 (diff) | |
download | eclipse.platform.swt-d6e9a5cd1a69c0f96157482d1b5fd29f162cf11d.tar.gz eclipse.platform.swt-d6e9a5cd1a69c0f96157482d1b5fd29f162cf11d.tar.xz eclipse.platform.swt-d6e9a5cd1a69c0f96157482d1b5fd29f162cf11d.zip |
Bug 433817 - Shell#setText with newlines (\n) causes the shell title toI20150519-1000
disappear
- fixed JavaDoc changes to use the term "escape sequences"
Change-Id: I141c0dd13fb97fee5c6d7b5edb5d9cf739822b0c
Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
13 files changed, 20 insertions, 20 deletions
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 8df423e454..016c608adc 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 @@ -179,7 +179,7 @@ static int checkStyle (int style) { /** * Adds the argument to the end of the receiver's list. * <p> - * Note: If escape characters like '\n', '\t' etc. are used + * Note: If escape sequences like '\n', '\t' etc. are used * in the string, then the behavior is platform dependent. * </p> * @param string the new item @@ -207,7 +207,7 @@ public void add (String string) { * result of calling <code>getItemCount()</code> as the * index or use <code>add(String)</code>. * </p><p> - * Also note, if escape characters like '\n', '\t' etc. are used + * Also note, if escape sequences like '\n', '\t' etc. are used * in the string, then the behavior is platform dependent. * </p> * @@ -1631,7 +1631,7 @@ public void setSelection (Point selection) { * other special characters will probably cause it to * display incorrectly. * </p><p> - * Also note, if escape characters like '\n', '\t' etc. are used + * Also note, if escape sequences like '\n', '\t' etc. are used * in the string, then the behavior is platform dependent. * </p> * diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CLabel.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CLabel.java index 031cc121e9..0310e505f8 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CLabel.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CLabel.java @@ -899,7 +899,7 @@ public void setRightMargin(int rightMargin) { * '&' can be escaped by doubling it in the string, causing * a single '&' to be displayed. * </p><p> - * Note: If escape characters like '\n', '\t' etc. are used + * Note: If escape sequences like '\n', '\t' etc. are used * in the string, then the behavior is platform dependent. * </p> * diff --git a/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/Item.java b/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/Item.java index 432dcf49df..736d2d3d0e 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/Item.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/Item.java @@ -170,7 +170,7 @@ public void setImage (Image image) { /** * Sets the receiver's text. * <p> - * Note: If escape characters like '\n', '\t' etc. are used + * Note: If escape sequences like '\n', '\t' etc. are used * in the string, then the behavior is platform dependent. * </p> * @param string the new text diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Button.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Button.java index acdea792db..a40ca1c8ed 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Button.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Button.java @@ -1076,7 +1076,7 @@ public void setSelection (boolean selected) { * a Button that has an image and text set into it will display the * image or text that was set most recently. * </p><p> - * Also note, if escape characters like '\n', '\t' etc. are used + * Also note, if escape sequences like '\n', '\t' etc. are used * in the string, then the behavior is platform dependent. * </p> * @param string the new text diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Combo.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Combo.java index a16ebfc660..1a45723bd8 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Combo.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Combo.java @@ -141,7 +141,7 @@ public Combo (Composite parent, int style) { /** * Adds the argument to the end of the receiver's list. * <p> - * Note: If escape characters like '\n', '\t' etc. are used + * Note: If escape sequences like '\n', '\t' etc. are used * in the string, then the behavior is platform dependent. * </p> * @param string the new item @@ -174,7 +174,7 @@ public void add (String string) { * result of calling <code>getItemCount()</code> as the * index or use <code>add(String)</code>. * </p><p> - * Also note, if escape characters like '\n', '\t' etc. are used + * Also note, if escape sequences like '\n', '\t' etc. are used * in the string, then the behavior is platform dependent. * </p> * @@ -2266,7 +2266,7 @@ public void setSelection (Point selection) { * other special characters will probably cause it to * display incorrectly. * </p><p> - * Also note, if escape characters like '\n', '\t' etc. are used + * Also note, if escape sequences like '\n', '\t' etc. are used * in the string, then the behavior is platform dependent. * </p> * diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Decorations.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Decorations.java index 6432802cff..3f1df673f9 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Decorations.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Decorations.java @@ -1340,7 +1340,7 @@ void setSystemMenu () { * window manager will typically display as the receiver's * <em>title</em>, to the argument, which must not be null. * <p> - * Note: If escape characters like '\n', '\t' etc. are used + * Note: If escape sequences like '\n', '\t' etc. are used * in the string, then the behavior is platform dependent. * </p> * diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Group.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Group.java index 26d05d5dd1..19edeec2a8 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Group.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Group.java @@ -385,7 +385,7 @@ public void setFont (Font font) { * '&' can be escaped by doubling it in the string, causing * a single '&' to be displayed. * </p><p> - * Note: If escape characters like '\n', '\t' etc. are used + * Note: If escape sequences like '\n', '\t' etc. are used * in the string, then the behavior is platform dependent. * </p> * @param string the new text diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Label.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Label.java index e677343a3a..f0c0c7e277 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Label.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Label.java @@ -372,7 +372,7 @@ public void setImage (Image image) { * a single '&' to be displayed. * </p> * <p> - * Note: If escape characters like '\n', '\t' etc. are used + * Note: If escape sequences like '\n', '\t' etc. are used * in the string, then the behavior is platform dependent. * </p> * diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/List.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/List.java index 0e9192a029..64e75aef45 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/List.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/List.java @@ -84,7 +84,7 @@ public List (Composite parent, int style) { /** * Adds the argument to the end of the receiver's list. * <p> - * Note: If escape characters like '\n', '\t' etc. are used + * Note: If escape sequences like '\n', '\t' etc. are used * in the string, then the behavior is platform dependent. * </p> * @param string the new item @@ -116,7 +116,7 @@ public void add (String string) { * result of calling <code>getItemCount()</code> as the * index or use <code>add(String)</code>. * </p><p> - * Also note, if escape characters like '\n', '\t' etc. are used + * Also note, if escape sequences like '\n', '\t' etc. are used * in the string, then the behavior is platform dependent. * </p> * diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TableItem.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TableItem.java index db6f53bd9e..ef8f0ff37a 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TableItem.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TableItem.java @@ -1146,7 +1146,7 @@ public void setImageIndent (int indent) { /** * Sets the text for multiple columns in the table. * <p> - * Note: If escape characters like '\n', '\t' etc. are used + * Note: If escape sequences like '\n', '\t' etc. are used * in the string, then the behavior is platform dependent. * </p> * @param strings the array of new strings @@ -1171,7 +1171,7 @@ public void setText (String [] strings) { /** * Sets the receiver's text at a column * <p> - * Note: If escape characters like '\n', '\t' etc. are used + * Note: If escape sequences like '\n', '\t' etc. are used * in the string, then the behavior is platform dependent. * </p> * @param index the column index diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Text.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Text.java index 1100dc5dc1..a9af12eaac 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Text.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Text.java @@ -2245,7 +2245,7 @@ void setTabStops (int tabs) { * SINGLE and the argument contains multiple lines of text, the result of this * operation is undefined and may vary from platform to platform. * <p> - * Note: If escape characters like '\n', '\t' etc. are used + * Note: If escape sequences like '\n', '\t' etc. are used * in the string, then the behavior is platform dependent. * </p> * @param string the new text diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ToolItem.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ToolItem.java index 3fc33c04f3..bf277e8dcd 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ToolItem.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ToolItem.java @@ -821,7 +821,7 @@ void _setText (String string) { * escaped by doubling it in the string, causing a single * '&' to be displayed. * </p><p> - * Note: If escape characters like '\n', '\t' etc. are used + * Note: If escape sequences like '\n', '\t' etc. are used * in the string, then the behavior is platform dependent. * </p> * diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TreeItem.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TreeItem.java index 600c9fb55b..57a68bbbb5 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TreeItem.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TreeItem.java @@ -1736,7 +1736,7 @@ public void setItemCount (int count) { /** * Sets the text for multiple columns in the tree. * <p> - * Note: If escape characters like '\n', '\t' etc. are used + * Note: If escape sequences like '\n', '\t' etc. are used * in the string, then the behavior is platform dependent. * </p> * @param strings the array of new strings @@ -1763,7 +1763,7 @@ public void setText (String [] strings) { /** * Sets the receiver's text at a column * <p> - * Note: If escape characters like '\n', '\t' etc. are used + * Note: If escape sequences like '\n', '\t' etc. are used * in the string, then the behavior is platform dependent. * </p> * @param index the column index |