Bug 433817 - Shell#setText with newlines (\n) causes the shell title to
authorNiraj Modi <niraj.modi@in.ibm.com>
Tue, 19 May 2015 12:22:17 +0000 (17:52 +0530)
committerNiraj Modi <niraj.modi@in.ibm.com>
Tue, 19 May 2015 12:22:17 +0000 (17:52 +0530)
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:
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CCombo.java
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CLabel.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/Item.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Button.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Combo.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Decorations.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Group.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Label.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/List.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TableItem.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Text.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ToolItem.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TreeItem.java

index 8df423e..016c608 100644 (file)
@@ -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>
  *
index 031cc12..0310e50 100644 (file)
@@ -899,7 +899,7 @@ public void setRightMargin(int rightMargin) {
  * '&amp;' can be escaped by doubling it in the string, causing
  * a single '&amp;' 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>
  * 
index 432dcf4..736d2d3 100644 (file)
@@ -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
index acdea79..a40ca1c 100644 (file)
@@ -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
index a16ebfc..1a45723 100644 (file)
@@ -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>
  *
index 6432802..3f1df67 100644 (file)
@@ -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>
  *
index 26d05d5..19edeec 100644 (file)
@@ -385,7 +385,7 @@ public void setFont (Font font) {
  * '&amp;' can be escaped by doubling it in the string, causing
  * a single '&amp;' 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
index e677343..f0c0c7e 100644 (file)
@@ -372,7 +372,7 @@ public void setImage (Image image) {
  * a single '&amp;' 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>
  * 
index 0e9192a..64e75ae 100644 (file)
@@ -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>
  *
index db6f53b..ef8f0ff 100644 (file)
@@ -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
index 1100dc5..a9af12e 100644 (file)
@@ -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
index 3fc33c0..bf277e8 100644 (file)
@@ -821,7 +821,7 @@ void _setText (String string) {
  * escaped by doubling it in the string, causing a single
  * '&amp;' 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>
  * 
index 600c9fb..57a68bb 100644 (file)
@@ -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