mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
fix file compare issue (#15551)
This commit is contained in:
@@ -542,7 +542,7 @@ export class EditorGroupView extends Themable implements IEditorGroupView {
|
||||
// only dispose when they are not opened elsewhere.
|
||||
for (const editor of editorsToClose) {
|
||||
if (!this.accessor.groups.some(groupView => groupView.group.contains(editor, {
|
||||
strictEquals: true, // only if this input is not shared across editor groups
|
||||
strictEquals: false, // only if this input is not shared across editor groups // {{SQL CARBON EDIT}} - update strictEquals to false, QueryEditorInput and NotebookEditorInput should be compared against the underlying TextEditorInput, strictcompare will cause the underlying document to be closed when closing diff editor.
|
||||
supportSideBySide: true // include side by side editor primary & secondary
|
||||
}))) {
|
||||
editor.dispose();
|
||||
|
||||
Reference in New Issue
Block a user