Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorangelozerr2018-08-20 12:18:51 -0400
committerMatthias Becker2018-08-24 06:30:53 -0400
commit449c8be18610b214135255ba542a23fdb8a99bae (patch)
tree157cfaac34930fbfdb0bdb7df156e5a7b4355b23 /org.eclipse.ui.workbench.texteditor
parent35510e6f4d734fc4d272f8f4de796be5150f0852 (diff)
downloadeclipse.platform.text-449c8be18610b214135255ba542a23fdb8a99bae.tar.gz
eclipse.platform.text-449c8be18610b214135255ba542a23fdb8a99bae.tar.xz
eclipse.platform.text-449c8be18610b214135255ba542a23fdb8a99bae.zip
Bug 536207 - Minimap wrong height calculation
Change-Id: I60b828e797d3b0f9172c21b6f4cd234798d2320b Signed-off-by: angelozerr <angelo.zerr@gmail.com>
Diffstat (limited to 'org.eclipse.ui.workbench.texteditor')
-rw-r--r--org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/internal/views/minimap/MinimapView.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/internal/views/minimap/MinimapView.java b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/internal/views/minimap/MinimapView.java
index dee7f0524..c0cf68156 100644
--- a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/internal/views/minimap/MinimapView.java
+++ b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/internal/views/minimap/MinimapView.java
@@ -82,4 +82,9 @@ public class MinimapView extends PageBookView {
protected boolean isImportant(IWorkbenchPart part) {
return part instanceof ITextEditor || part instanceof MultiPageEditorPart;
}
+
+ @Override
+ public void partBroughtToTop(IWorkbenchPart part) {
+ partActivated(part);
+ }
}

Back to the top