Skip to content

Commit 6683f3f

Browse files
zulusmickaelistria
authored andcommitted
Unconfigure GenericTextEditorMergeViewer before document change
1 parent f2e78a8 commit 6683f3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bundles/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/compare/GenericEditorMergeViewer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public void inputDocumentChanged(IDocument oldInput, IDocument newInput) {
5252

5353
@Override
5454
public void inputDocumentAboutToBeChanged(IDocument oldInput, IDocument newInput) {
55-
// Nothing to do
55+
res.unconfigure();
5656
}
5757
});
5858
return res;

0 commit comments

Comments
 (0)