Skip to content

Commit 4595b6c

Browse files
committed
1 parent d3810b7 commit 4595b6c

File tree

1 file changed

+1
-1
lines changed
  • src/vs/workbench/contrib/mergeEditor/browser/view

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/mergeEditor/browser/view/viewModel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export class MergeEditorViewModel {
9292
const range = this.getRange(lastFocusedEditor, modifiedBaseRange, undefined);
9393
lastFocusedEditor.editor.setPosition({
9494
lineNumber: range.startLineNumber,
95-
column: 1,
95+
column: lastFocusedEditor.editor.getModel()!.getLineFirstNonWhitespaceColumn(range.startLineNumber),
9696
});
9797
lastFocusedEditor.editor.revealLinesNearTop(range.startLineNumber, range.endLineNumberExclusive, ScrollType.Smooth);
9898
}

0 commit comments

Comments
 (0)