Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMykola Nikishov2018-07-06 08:17:21 -0400
committerMykola Nikishov2018-07-06 08:17:53 -0400
commit157b8797acc0e9ff4de61a3006b55700ae45f644 (patch)
treebca90084b85c7bae996557df5adf82324f922000
parent34dcb300f6165458410a0beb3f1500fa79b5c034 (diff)
downloadeclipse.platform.team-157b8797acc0e9ff4de61a3006b55700ae45f644.tar.gz
eclipse.platform.team-157b8797acc0e9ff4de61a3006b55700ae45f644.tar.xz
eclipse.platform.team-157b8797acc0e9ff4de61a3006b55700ae45f644.zip
Change-Id: I376093c74cadad26de991318151e19a2ac113b21 Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
-rw-r--r--bundles/org.eclipse.compare/compare/org/eclipse/compare/contentmergeviewer/TextMergeViewer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.compare/compare/org/eclipse/compare/contentmergeviewer/TextMergeViewer.java b/bundles/org.eclipse.compare/compare/org/eclipse/compare/contentmergeviewer/TextMergeViewer.java
index a9c9555a2..b9f876077 100644
--- a/bundles/org.eclipse.compare/compare/org/eclipse/compare/contentmergeviewer/TextMergeViewer.java
+++ b/bundles/org.eclipse.compare/compare/org/eclipse/compare/contentmergeviewer/TextMergeViewer.java
@@ -856,7 +856,7 @@ public class TextMergeViewer extends ContentMergeViewer implements IAdaptable {
StyledText textWidget = fSourceViewer.getSourceViewer().getTextWidget();
if (textWidget != null && !textWidget.isDisposed()) {
if (fNeedsValidation) {
- fSourceViewer.getSourceViewer().getTextWidget().removeVerifyListener(this);
+ textWidget.removeVerifyListener(this);
fNeedsValidation = false;
}
IDocument oldDoc= internalGetDocument(fSourceViewer);

Back to the top