using com.insanitydesign.MarkdownViewerPlusPlus; using Kbg.NppPluginNET.PluginInfrastructure; /// /// /// namespace Kbg.NppPluginNET { /// /// /// class Main { /// /// /// public const string PluginName = "MarkdownViewer++"; /// /// "Singleton" for this plugin of the actual implementation /// private static MarkdownViewer MarkdownViewer = new MarkdownViewer(); /// /// This method is invoked whenever something is happening in notepad++ /// use eg. as /// if (notification.Header.Code == (uint)NppMsg.NPPN_xxx) /// { ... } /// or /// /// if (notification.Header.Code == (uint)SciMsg.SCNxxx) /// { ... } /// /// public static void OnNotification(ScNotification notification) { MarkdownViewer.OnNotification(notification); } /// /// /// internal static void CommandMenuInit() { MarkdownViewer.CommandMenuInit(); } /// /// /// internal static void SetToolBarIcon() { MarkdownViewer.SetToolBarIcon(); } /// /// /// internal static void PluginCleanUp() { MarkdownViewer.PluginCleanUp(); } } }