Skip to content

Commit 7b02927

Browse files
committed
enhance: do not show end of line any more since we can not restore the original line-endings
1 parent 8bdc1c5 commit 7b02927

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Views/TextDiffView.axaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,6 +520,7 @@ public ThemedTextDiffPresenter(TextArea area, TextDocument doc) : base(area, doc
520520
Options.IndentationSize = TabWidth;
521521
Options.EnableHyperlinks = false;
522522
Options.EnableEmailHyperlinks = false;
523+
Options.ShowEndOfLine = false;
523524

524525
_lineStyleTransformer = new LineStyleTransformer(this);
525526

@@ -726,7 +727,6 @@ protected override void OnPropertyChanged(AvaloniaPropertyChangedEventArgs chang
726727
var val = ShowHiddenSymbols;
727728
Options.ShowTabs = val;
728729
Options.ShowSpaces = val;
729-
Options.ShowEndOfLine = val;
730730
}
731731
else if (change.Property == TabWidthProperty)
732732
{

0 commit comments

Comments
 (0)