-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Fixed: Updated plugin does not refresh in the UI (still happens in …
…the Browse tab) - Fixed: Occasional error when updating a Plugin - Misc: Reorganized Template plugin
- Loading branch information
Showing
35 changed files
with
169 additions
and
463 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Submodule MSBuild.Tools
updated
3 files
+6 −1 | ChangeLogs | |
+8 −3 | src/MSBuild.Tools/MSBuild.Tools.nuspec | |
+2 −2 | src/MSBuild.Tools/Properties/AssemblyInfo.cs |
Submodule PluginManager
updated
12 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
src/Core/SuperMemoAssistant.Interop/Extensions/FileDialogEx.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Reflection; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using Microsoft.Win32; | ||
using SuperMemoAssistant.Services; | ||
|
||
namespace SuperMemoAssistant.Extensions | ||
{ | ||
/// <summary> | ||
/// Extension methods for <see cref="FileDialog" /> | ||
/// </summary> | ||
public static class FileDialogEx | ||
{ | ||
/// <summary> | ||
/// Shows the dialog with <paramref name="ownerHwnd"/> as the owner | ||
/// </summary> | ||
/// <param name="dlg">The dialog to show</param> | ||
/// <param name="ownerHwnd">The owner window</param> | ||
/// <returns>Dialog result</returns> | ||
public static bool RunDialog(this FileDialog dlg, IntPtr ownerHwnd) | ||
{ | ||
return (bool)dlg.GetType() | ||
.GetMethod("RunDialog", BindingFlags.NonPublic | BindingFlags.Instance) | ||
.Invoke(dlg, new object[] { ownerHwnd }); | ||
} | ||
|
||
/// <summary> | ||
/// Shows the dialog with SuperMemo Element window as the owner | ||
/// </summary> | ||
/// <param name="dlg">The dialog to show</param> | ||
/// <returns>Dialog result</returns> | ||
public static bool RunDialogInSuperMemo(this FileDialog dlg) | ||
{ | ||
return dlg.RunDialog(Svc.SM.UI.ElementWdw.Handle); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule SuperMemoAssistant.Plugins.Dictionary
updated
14 files
Submodule SuperMemoAssistant.Plugins.Dictionary.Interop
updated
15 files
Submodule SuperMemoAssistant.Plugins.Import
updated
44 files
Submodule SuperMemoAssistant.Plugins.LateX
updated
14 files
Submodule SuperMemoAssistant.Plugins.MediaPlayer
updated
6 files
Submodule SuperMemoAssistant.Plugins.PDF
updated
58 files
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.