Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelipe Heidrich2010-03-15 15:05:26 +0000
committerFelipe Heidrich2010-03-15 15:05:26 +0000
commit0167f9c439682cf6f920a4f87a1158061cc89c67 (patch)
treeefd6653dc5d2eaa7f08c901fc096ba79928e7544 /bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common
parent4412c1966083212fd2362ab9374bcde75a18bb11 (diff)
downloadeclipse.platform.swt-0167f9c439682cf6f920a4f87a1158061cc89c67.tar.gz
eclipse.platform.swt-0167f9c439682cf6f920a4f87a1158061cc89c67.tar.xz
eclipse.platform.swt-0167f9c439682cf6f920a4f87a1158061cc89c67.zip
accessibility fix
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common')
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
index ac314d1186..2b2672a4d7 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
@@ -6712,6 +6712,7 @@ void initializeAccessible() {
if (isFocusControl()) state |= ACC.STATE_FOCUSED;
if (!isVisible()) state |= ACC.STATE_INVISIBLE;
if (!getEditable()) state |= ACC.STATE_READONLY;
+ if ((getStyle() & SWT.SINGLE) == 0) state |= ACC.STATE_MULTILINE;
e.detail = state;
}
public void getValue(AccessibleControlEvent e) {

Back to the top