Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Keller2010-11-01 14:37:36 +0000
committerMarkus Keller2010-11-01 14:37:36 +0000
commitc6059df530c4510566912b93c3e3deb7acc99a9a (patch)
treef6e6e2d4d691bc62439bc07f4e21d6c2b3600c06 /org.eclipse.ui.editors/src/org/eclipse
parentd4c07ae5b0ae6c242e4d12c187b37229744c78fc (diff)
downloadeclipse.platform.text-c6059df530c4510566912b93c3e3deb7acc99a9a.tar.gz
eclipse.platform.text-c6059df530c4510566912b93c3e3deb7acc99a9a.tar.xz
eclipse.platform.text-c6059df530c4510566912b93c3e3deb7acc99a9a.zip
Bug 327842: Key bindings broken in editor when showing statusv20101102-0800
Diffstat (limited to 'org.eclipse.ui.editors/src/org/eclipse')
-rw-r--r--org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/DefaultEncodingSupport.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/DefaultEncodingSupport.java b/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/DefaultEncodingSupport.java
index a8e681e0aed..930c43218c8 100644
--- a/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/DefaultEncodingSupport.java
+++ b/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/DefaultEncodingSupport.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2008 IBM Corporation and others.
+ * Copyright (c) 2000, 2010 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -27,9 +27,9 @@ import org.eclipse.swt.widgets.Shell;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.preferences.IEclipsePreferences;
-import org.eclipse.core.runtime.preferences.InstanceScope;
import org.eclipse.core.runtime.preferences.IEclipsePreferences.IPreferenceChangeListener;
import org.eclipse.core.runtime.preferences.IEclipsePreferences.PreferenceChangeEvent;
+import org.eclipse.core.runtime.preferences.InstanceScope;
import org.eclipse.core.resources.ResourcesPlugin;
@@ -301,6 +301,7 @@ public class DefaultEncodingSupport implements IEncodingSupport {
action.run();
}
});
+ button.setFocus();
Label filler= new Label(parent, SWT.NONE);
filler.setLayoutData(new GridData(GridData.FILL_BOTH));

Back to the top