summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt
diff options
context:
space:
mode:
authorFelipe Heidrich <Felipe_Heidrich@ca.ibm.com>2012-01-04 16:34:31 -0500
committerFelipe Heidrich <Felipe_Heidrich@ca.ibm.com>2012-01-04 16:34:31 -0500
commit91fd332b230c9a94a8e5077345cfd2679a68f139 (patch)
treed1768131a1e42a5907e6c1b33e6c29bbe924d982 /bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt
parentb3a36839847c602b69686b1a6d73c49d37144b5d (diff)
downloadeclipse.platform.swt-91fd332b230c9a94a8e5077345cfd2679a68f139.tar.gz
eclipse.platform.swt-91fd332b230c9a94a8e5077345cfd2679a68f139.tar.xz
eclipse.platform.swt-91fd332b230c9a94a8e5077345cfd2679a68f139.zip
Bug 367848 - Typo in Text#addSelectionListener JavaDoc
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Text.java6
1 files changed, 4 insertions, 2 deletions
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 38f0451215..d91cfd0513 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
@@ -310,8 +310,10 @@ public void addModifyListener (ModifyListener listener) {
* <p>
* <code>widgetSelected</code> is not called for texts.
* <code>widgetDefaultSelected</code> is typically called when ENTER is pressed in a single-line text,
- * or when ENTER is pressed in a search text. If the receiver has the <code>SWT.SEARCH | SWT.CANCEL</code> style
- * and the user cancels the search, the event object detail field contains the value <code>SWT.CANCEL</code>.
+ * or when ENTER is pressed in a search text. If the receiver has the <code>SWT.SEARCH | SWT.ICON_CANCEL</code> style
+ * and the user cancels the search, the event object detail field contains the value <code>SWT.ICON_CANCEL</code>.
+ * Likewise, if the receiver has the <code>SWT.ICON_SEARCH</code> style and the icon search is selected, the
+ * event object detail field contains the value <code>SWT.ICON_SEARCH</code>.
* </p>
*
* @param listener the listener which should be notified when the control is selected by the user