Skip to content

Commit 882cd03

Browse files
committed
.
1 parent 6209ccb commit 882cd03

File tree

5 files changed

+9
-4
lines changed

5 files changed

+9
-4
lines changed

docs/diff-tool.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,7 @@ Non-MDI tools are preferred since it allows [DiffEngineTray](tray.md) to track a
780780
* Is MDI: True
781781
* Supports auto-refresh: True
782782
* Supports text files: True
783-
* Create no window: False
783+
* Create no window: True
784784
* Environment variable for custom install location: `DiffEngine_VisualStudioCode`
785785
* Supported binaries: .svg
786786

docs/diff-tool.order.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,5 @@ For example `VisualStudio,Meld` will result in VisualStudio then Meld then all o
5151
```cs
5252
DiffTools.UseOrder(DiffTool.VisualStudio, DiffTool.AraxisMerge);
5353
```
54-
<sup><a href='/src/DiffEngine.Tests/DiffToolsTest.cs#L177-L181' title='Snippet source file'>snippet source</a> | <a href='#snippet-UseOrder' title='Start of snippet'>anchor</a></sup>
54+
<sup><a href='/src/DiffEngine.Tests/DiffToolsTest.cs#L182-L186' title='Snippet source file'>snippet source</a> | <a href='#snippet-UseOrder' title='Start of snippet'>anchor</a></sup>
5555
<!-- endSnippet -->

src/DiffEngine.Tests/DiffToolsTest.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,11 @@ static async Task AddToolAndLaunch()
116116
#endregion
117117
}
118118

119+
[Fact]
120+
public Task LaunchSpecificTextDiff() =>
121+
DiffRunner.LaunchAsync(DiffTool.VisualStudioCode,
122+
Path.Combine(SourceDirectory, "input.temp.txt"),
123+
Path.Combine(SourceDirectory, "input.target.txt"));
119124
/**
120125
[Fact]
121126
public Task LaunchSpecificImageDiff() =>

src/DiffEngine.Tests/diffTools.include.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ Non-MDI tools are preferred since it allows [DiffEngineTray](tray.md) to track a
645645
* Is MDI: True
646646
* Supports auto-refresh: True
647647
* Supports text files: True
648-
* Create no window: False
648+
* Create no window: True
649649
* Environment variable for custom install location: `DiffEngine_VisualStudioCode`
650650
* Supported binaries: .svg
651651

src/DiffEngine/Implementation/VsCode.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public static Definition VisualStudioCode()
1111
AutoRefresh: true,
1212
IsMdi: true,
1313
SupportsText: true,
14-
CreateNoWindow: false,
14+
CreateNoWindow: true,
1515
RequiresTarget: true,
1616
Cost: "Free",
1717
BinaryExtensions: [".svg"],

0 commit comments

Comments
 (0)