Skip to content

Commit fe14d53

Browse files
committed
minor
1 parent 9fb6ac8 commit fe14d53

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

QuickLook.Plugin/QuickLook.Plugin.ImageViewer/QuickLook.Plugin.ImageViewer.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,9 @@
132132
<Content Include="NConvert\Plugins\libwebp.dll">
133133
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
134134
</Content>
135+
<Content Include="NConvert\vcomp120.dll">
136+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
137+
</Content>
135138
</ItemGroup>
136139
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
137140
</Project>

QuickLook.Plugin/QuickLook.Plugin.TextViewer/Plugin.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
using System.Reflection;
2222
using System.Windows;
2323
using System.Xml;
24+
using ICSharpCode.AvalonEdit;
2425
using ICSharpCode.AvalonEdit.Highlighting;
2526
using ICSharpCode.AvalonEdit.Highlighting.Xshd;
2627
using QuickLook.Common.Plugin;
@@ -55,6 +56,9 @@ public void Init()
5556
hlm.RegisterHighlighting(ext, xshd.Extensions.ToArray(), highlightingDefinition);
5657
}
5758
}
59+
60+
// pre-load
61+
var _ = new TextEditor();
5862
}
5963

6064
public bool CanHandle(string path)

0 commit comments

Comments
 (0)