better and faster window resize; Add "AllowsTransparency" to plugin interface; Use IPreviewHandler for Office files

This commit is contained in:
Paddy Xu
2017-05-21 22:02:42 +03:00
parent e0a7f38d58
commit e450971217
36 changed files with 533 additions and 409 deletions

View File

@@ -9,6 +9,7 @@ namespace QuickLook.Plugin.TextViewer
private TextViewerPanel _tvp;
public int Priority => 0;
public bool AllowsTransparency => true;
public bool CanHandle(string path)
{
@@ -43,7 +44,7 @@ namespace QuickLook.Plugin.TextViewer
public void Prepare(string path, ContextObject context)
{
context.PreferredSize = new Size {Width = 800, Height = 600};
context.Focusable = true;
context.CanFocus = true;
}
public void View(string path, ContextObject context)