Bug 433817 - Shell#setText with newlines (\n) causes the shell title to
disappear
- fixed JavaDoc changes to use the term "escape sequences"
Change-Id: I141c0dd13fb97fee5c6d7b5edb5d9cf739822b0c
Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
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 8df423e..016c608 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 @@
/**
* 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 @@
* 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 @@
* 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 031cc12..0310e50 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 @@
* '&' 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 432dcf4..736d2d3 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 @@
/**
* 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 acdea79..a40ca1c 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 @@
* 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 a16ebfc..1a45723 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 @@
/**
* 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 @@
* 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 @@
* 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 6432802..3f1df67 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 @@
* 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 26d05d5..19edeec 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 @@
* '&' 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 e677343..f0c0c7e 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 @@
* 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 0e9192a..64e75ae 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 @@
/**
* 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 @@
* 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 db6f53b..ef8f0ff 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 @@
/**
* 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 @@
/**
* 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 1100dc5..a9af12e 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 @@
* 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 3fc33c0..bf277e8 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 @@
* 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 600c9fb..57a68bb 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 @@
/**
* 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 @@
/**
* 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