Re #208345. Render side by side all the time in notebook diff editor (#208355)

This commit is contained in:
Peng Lyu
2024-03-21 22:20:35 -07:00
committed by GitHub
parent 409da0445d
commit 2bb40a25d1
2 changed files with 5 additions and 1 deletions
@@ -50,4 +50,6 @@ export const fixedDiffEditorOptions: IDiffEditorConstructionOptions = {
wordWrap: 'off',
diffWordWrap: 'off',
diffAlgorithm: 'advanced',
renderSideBySide: true,
useInlineViewWhenSpaceIsLimited: false
};
@@ -248,7 +248,9 @@ export class CellDiffSideBySideRenderer implements IListRenderer<SideBySideDiffE
dimension: {
height: 0,
width: 0
}
},
renderSideBySide: true,
useInlineViewWhenSpaceIsLimited: false
}, {
originalEditor: getOptimizedNestedCodeEditorWidgetOptions(),
modifiedEditor: getOptimizedNestedCodeEditorWidgetOptions()