diff options
author | Felipe Heidrich <fheidric> | 2008-04-29 21:14:55 +0000 |
---|---|---|
committer | Felipe Heidrich <fheidric> | 2008-04-29 21:14:55 +0000 |
commit | 2d8560656a36874df572437e1ab21856dd3519c6 (patch) | |
tree | 2f4a48e8c2f8272ac36fe9beed56c0080c38914e /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/IME.java | |
parent | ccfcf501c82f865865b3ec619409b327f35f0781 (diff) | |
download | eclipse.platform.swt-2d8560656a36874df572437e1ab21856dd3519c6.tar.gz eclipse.platform.swt-2d8560656a36874df572437e1ab21856dd3519c6.tar.xz eclipse.platform.swt-2d8560656a36874df572437e1ab21856dd3519c6.zip |
Bug 228182 - DBCS3.4: cursor moves backwards when entering DBCS by 'Rename in File'
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/IME.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/IME.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/IME.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/IME.java index f1ad2d9353..750e1e0bb2 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/IME.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/IME.java @@ -256,4 +256,12 @@ void releaseWidget () { ranges = null; } +public void setCompositionOffset (int offset) { + checkWidget (); + if (offset < 0) return; + if (startOffset != -1) { + startOffset = offset; + } +} + } |