summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorCarolyn MacLeod2013-02-17 18:22:33 (EST)
committer Lakshmi Shanmugam2013-02-28 03:26:08 (EST)
commit9b82b2741b664d5127129af9913f35aab770ba0e (patch)
tree1989738452d7d80920f5e9a8c11cf66e5dc3c9e2
parentf24bdeac179f92166a4f1b7e0e872cfcfaa56c6e (diff)
downloadeclipse.platform.swt-9b82b2741b664d5127129af9913f35aab770ba0e.zip
eclipse.platform.swt-9b82b2741b664d5127129af9913f35aab770ba0e.tar.gz
eclipse.platform.swt-9b82b2741b664d5127129af9913f35aab770ba0e.tar.bz2
Bug 343722 - On-screen-keyboard does not work properly
-rw-r--r--bundles/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 1763971..633cc71 100644
--- 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
@@ -5932,6 +5932,7 @@ void handleKeyDown(Event event) {
clipboardSelection = new Point(selection.x, selection.y);
}
newOrientation = SWT.NONE;
+ event.stateMask &= SWT.MODIFIER_MASK;
Event verifyEvent = new Event();
verifyEvent.character = event.character;