12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- using com.insanitydesign.MarkdownViewerPlusPlus;
- using Kbg.NppPluginNET.PluginInfrastructure;
- /// <summary>
- ///
- /// </summary>
- namespace Kbg.NppPluginNET
- {
- /// <summary>
- ///
- /// </summary>
- class Main
- {
- /// <summary>
- ///
- /// </summary>
- public const string PluginName = "MarkdownViewer++";
- /// <summary>
- /// "Singleton" for this plugin of the actual implementation
- /// </summary>
- private static MarkdownViewer MarkdownViewer = new MarkdownViewer();
- /// <summary>
- /// 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)
- /// { ... }
- /// </summary>
- /// <param name="notification"></param>
- public static void OnNotification(ScNotification notification)
- {
- MarkdownViewer.OnNotification(notification);
- }
- /// <summary>
- ///
- /// </summary>
- internal static void CommandMenuInit()
- {
- MarkdownViewer.CommandMenuInit();
- }
- /// <summary>
- ///
- /// </summary>
- internal static void SetToolBarIcon()
- {
- MarkdownViewer.SetToolBarIcon();
- }
- /// <summary>
- ///
- /// </summary>
- internal static void PluginCleanUp()
- {
- MarkdownViewer.PluginCleanUp();
- }
- }
- }
|