Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2008-10-09 17:44:44 -0400
committerspingel2008-10-09 17:44:44 -0400
commit9b3d1c84fdbaa61882dd8f932cecfdd116a87171 (patch)
treef7f90c6d453e650ccf42754ea369e8c78e5f958d
parentf4cea04fd521ae16df0879b7e9f722300327cba5 (diff)
downloadorg.eclipse.mylyn.tasks-9b3d1c84fdbaa61882dd8f932cecfdd116a87171.tar.gz
org.eclipse.mylyn.tasks-9b3d1c84fdbaa61882dd8f932cecfdd116a87171.tar.xz
org.eclipse.mylyn.tasks-9b3d1c84fdbaa61882dd8f932cecfdd116a87171.zip
203991: [performance] task editor input is very slow
https://bugs.eclipse.org/bugs/show_bug.cgi?id=203991
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/RepositoryTextViewerConfiguration.java11
1 files changed, 6 insertions, 5 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/RepositoryTextViewerConfiguration.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/RepositoryTextViewerConfiguration.java
index dc9af7a2e..a60fabf58 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/RepositoryTextViewerConfiguration.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/RepositoryTextViewerConfiguration.java
@@ -229,12 +229,13 @@ public class RepositoryTextViewerConfiguration extends TextSourceViewerConfigura
@Override
public void hideHyperlinks() {
- Control cursorControl = sourceViewer.getTextWidget().getDisplay().getCursorControl();
- if (cursorControl != null) {
- cursorControl.setToolTipText(null);
+ if (currentTaskHyperlink != null) {
+ Control cursorControl = sourceViewer.getTextWidget().getDisplay().getCursorControl();
+ if (cursorControl != null) {
+ cursorControl.setToolTipText(null);
+ }
+ currentTaskHyperlink = null;
}
- currentTaskHyperlink = null;
-
super.hideHyperlinks();
}

Back to the top