Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Loskutov2019-09-18 08:22:17 +0000
committerAndrey Loskutov2019-09-18 11:52:31 +0000
commit0696ed18f699320d694dd8efa2ea68b6c192ae90 (patch)
tree8d1fd8bf68f695ff6a000ce2d29262e62a3943f0
parent5f90916aa35368e9894d559308845c7f5c5d6a23 (diff)
downloadeclipse.platform.text-0696ed18f699320d694dd8efa2ea68b6c192ae90.tar.gz
eclipse.platform.text-0696ed18f699320d694dd8efa2ea68b6c192ae90.tar.xz
eclipse.platform.text-0696ed18f699320d694dd8efa2ea68b6c192ae90.zip
Bug 551180 - Debug Shell can't evaluate/inspect anymoreI20190919-0850I20190918-1800
Change-Id: I8decd7233bbff5b31f3d051da9309c1b94d5ef5b Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
-rw-r--r--org.eclipse.jface.text/src/org/eclipse/jface/text/TextViewer.java7
1 files changed, 0 insertions, 7 deletions
diff --git a/org.eclipse.jface.text/src/org/eclipse/jface/text/TextViewer.java b/org.eclipse.jface.text/src/org/eclipse/jface/text/TextViewer.java
index 1a79229ea..72e3df7b2 100644
--- a/org.eclipse.jface.text/src/org/eclipse/jface/text/TextViewer.java
+++ b/org.eclipse.jface.text/src/org/eclipse/jface/text/TextViewer.java
@@ -1752,12 +1752,6 @@ public class TextViewer extends Viewer implements
selectionChanged(event.x, event.y - event.x);
}
});
- fTextWidget.addCaretListener(e -> {
- // caret listener is invoked before widget actually performs the caret (and selection)
- // change. So we can't update the selection synchronously on event, instead, we
- // delay the selection update.
- fTextWidget.getDisplay().asyncExec(() -> selectionChanged(e.caretOffset, 0));
- });
fCursorListener= new CursorListener();
fCursorListener.install();
@@ -2293,7 +2287,6 @@ public class TextViewer extends Viewer implements
selectionChanged(selectionRange[0], selectionRange[1]);
}
}
- updateSelectionCache();
}
/**

Back to the top