Skip to content

Commit 583c676

Browse files
committed
Docs changes
1 parent dbd3003 commit 583c676

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

docs/diff-tool.custom.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ var resolvedTool = DiffTools.AddTool(
2525
exePath: diffToolPath,
2626
binaryExtensions: [".jpg"])!;
2727
```
28-
<sup><a href='/src/DiffEngine.Tests/DiffToolsTest.cs#L17-L32' title='Snippet source file'>snippet source</a> | <a href='#snippet-AddTool' title='Start of snippet'>anchor</a></sup>
28+
<sup><a href='/src/DiffEngine.Tests/DiffToolsTest.cs#L18-L33' title='Snippet source file'>snippet source</a> | <a href='#snippet-AddTool' title='Start of snippet'>anchor</a></sup>
2929
<!-- endSnippet -->
3030

3131
Add a tool based on existing resolved tool:
@@ -40,7 +40,7 @@ var resolvedTool = DiffTools.AddToolBasedOn(
4040
Left: (temp, target) => $"\"custom args \"{target}\" \"{temp}\"",
4141
Right: (temp, target) => $"\"custom args \"{temp}\" \"{target}\""))!;
4242
```
43-
<sup><a href='/src/DiffEngine.Tests/DiffToolsTest.cs#L88-L97' title='Snippet source file'>snippet source</a> | <a href='#snippet-AddToolBasedOn' title='Start of snippet'>anchor</a></sup>
43+
<sup><a href='/src/DiffEngine.Tests/DiffToolsTest.cs#L89-L98' title='Snippet source file'>snippet source</a> | <a href='#snippet-AddToolBasedOn' title='Start of snippet'>anchor</a></sup>
4444
<!-- endSnippet -->
4545

4646

@@ -53,7 +53,7 @@ New tools are added to the top of the order, the last tool added will resolve be
5353
```cs
5454
await DiffRunner.LaunchAsync(tempFile, targetFile);
5555
```
56-
<sup><a href='/src/DiffEngine.Tests/DiffRunnerTests.cs#L67-L71' title='Snippet source file'>snippet source</a> | <a href='#snippet-DiffRunnerLaunch' title='Start of snippet'>anchor</a></sup>
56+
<sup><a href='/src/DiffEngine.Tests/DiffRunnerTests.cs#L68-L72' title='Snippet source file'>snippet source</a> | <a href='#snippet-DiffRunnerLaunch' title='Start of snippet'>anchor</a></sup>
5757
<!-- endSnippet -->
5858

5959
Alternatively the instance returned from `AddTool*` can be used to explicitly launch that tool.
@@ -70,7 +70,7 @@ var resolvedTool = DiffTools.AddToolBasedOn(
7070

7171
await DiffRunner.LaunchAsync(resolvedTool!, "PathToTempFile", "PathToTargetFile");
7272
```
73-
<sup><a href='/src/DiffEngine.Tests/DiffToolsTest.cs#L102-L113' title='Snippet source file'>snippet source</a> | <a href='#snippet-AddToolAndLaunch' title='Start of snippet'>anchor</a></sup>
73+
<sup><a href='/src/DiffEngine.Tests/DiffToolsTest.cs#L103-L114' title='Snippet source file'>snippet source</a> | <a href='#snippet-AddToolAndLaunch' title='Start of snippet'>anchor</a></sup>
7474
<!-- endSnippet -->
7575

7676

docs/diff-tool.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ This value can also be set using [the DiffEngineTray options dialog](/docs/tray.
6363
```cs
6464
DiffRunner.MaxInstancesToLaunch(10);
6565
```
66-
<sup><a href='/src/DiffEngine.Tests/DiffToolsTest.cs#L8-L10' title='Snippet source file'>snippet source</a> | <a href='#snippet-MaxInstancesToLaunch' title='Start of snippet'>anchor</a></sup>
66+
<sup><a href='/src/DiffEngine.Tests/DiffToolsTest.cs#L9-L11' title='Snippet source file'>snippet source</a> | <a href='#snippet-MaxInstancesToLaunch' title='Start of snippet'>anchor</a></sup>
6767
<!-- endSnippet -->
6868

6969

docs/diff-tool.order.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,5 @@ For example `VisualStudio,Meld` will result in VisualStudio then Meld then all o
5353
```cs
5454
DiffTools.UseOrder(DiffTool.VisualStudio, DiffTool.AraxisMerge);
5555
```
56-
<sup><a href='/src/DiffEngine.Tests/DiffToolsTest.cs#L191-L195' title='Snippet source file'>snippet source</a> | <a href='#snippet-UseOrder' title='Start of snippet'>anchor</a></sup>
56+
<sup><a href='/src/DiffEngine.Tests/DiffToolsTest.cs#L192-L196' title='Snippet source file'>snippet source</a> | <a href='#snippet-UseOrder' title='Start of snippet'>anchor</a></sup>
5757
<!-- endSnippet -->

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ A tool can be launched using the following:
100100
```cs
101101
await DiffRunner.LaunchAsync(tempFile, targetFile);
102102
```
103-
<sup><a href='/src/DiffEngine.Tests/DiffRunnerTests.cs#L67-L71' title='Snippet source file'>snippet source</a> | <a href='#snippet-DiffRunnerLaunch' title='Start of snippet'>anchor</a></sup>
103+
<sup><a href='/src/DiffEngine.Tests/DiffRunnerTests.cs#L68-L72' title='Snippet source file'>snippet source</a> | <a href='#snippet-DiffRunnerLaunch' title='Start of snippet'>anchor</a></sup>
104104
<!-- endSnippet -->
105105

106106
Note that this method will respect the above [difference behavior](/docs/diff-tool.md#detected-difference-behavior) in terms of Auto refresh and MDI behaviors.
@@ -115,7 +115,7 @@ A tool can be closed using the following:
115115
```cs
116116
DiffRunner.Kill(file1, file2);
117117
```
118-
<sup><a href='/src/DiffEngine.Tests/DiffRunnerTests.cs#L81-L85' title='Snippet source file'>snippet source</a> | <a href='#snippet-DiffRunnerKill' title='Start of snippet'>anchor</a></sup>
118+
<sup><a href='/src/DiffEngine.Tests/DiffRunnerTests.cs#L82-L86' title='Snippet source file'>snippet source</a> | <a href='#snippet-DiffRunnerKill' title='Start of snippet'>anchor</a></sup>
119119
<!-- endSnippet -->
120120

121121
Note that this method will respect the above [difference behavior](/docs/diff-tool.md#detected-difference-behavior) in terms of MDI behavior.

0 commit comments

Comments
 (0)