mmanela / diffplex

DiffPlex is Netstandard 1.0+ C# library to generate textual diffs.
Apache License 2.0
990 stars 183 forks source link

WPF: Add command bar for diff viewer #107

Closed kingcean closed 1 year ago

kingcean commented 1 year ago

Bring the command bar from DiffWindow to DiffViewer (WPF).

<diffplex:DiffViewer IsSideBySide="True" OldText="{Binding OldText}" NewText="{Binding NewText}" IsCommandBarVisible="True" />

Screenshot

The command bar is hidden by default. Property IsCommandBarVisible is the toggle to change the visibility. This commit also brings following methods to DiffViewer.

NuGet packages | #106