private static void setInfo(NppData notepadPlusData) { _plugin = GetPluginInstance(); _plugin._nppData = notepadPlusData; _plugin.OnInit?.Invoke(); _plugin.CreateMenuItems(); }
static void setInfo(NppData notepadPlusData) { try { PluginBase.nppData = notepadPlusData; Main.CommandMenuInit(); } catch (Exception exception) { MessageBox.Show($"{exception.Message}\r\n{exception.StackTrace}{(exception.InnerException == null ? string.Empty : $"\r\nInner Exception :\r\n{exception.InnerException.Message}\r\n{exception.InnerException.StackTrace}")}", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
public void setInfo(NppData notepadPlusData) { try { PluginBase.nppData = notepadPlusData; Bootstrapper.Init(); } catch { var dir = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), @"Notepad++\plugins\logs\CSScriptNpp"); MessageBox.Show("Cannot load the plugin.\nThe error information has been logged into '" + dir + "' directory", "CS-Script"); throw; } }
static void setInfo(NppData notepadPlusData) { //System.Diagnostics.Debug.Assert(false); try { Bootstrapper.Init(); Plugin.NppData = notepadPlusData; InitPlugin(); } catch { var dir = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), @"Notepad++\plugins\logs\CSScriptNpp"); MessageBox.Show("Cannot load the plugin.\nThe error information has been logged into '" + dir + "' directory", "CS-Script"); throw; } }
static void setInfo(NppData notepadPlusData) { PluginBase.nppData = notepadPlusData; Main.CommandMenuInit(); }
static void setInfo(NppData notepadPlusData) { PluginProxy.setInfo(notepadPlusData); }
static void setInfo(NppData notepadPlusData) { Plugin.NppData = notepadPlusData; Bootstrapper.Init(); }
static void setInfo(NppData notepadPlusData) { PluginBase.nppData = notepadPlusData; CodeStatsPackage.CommandMenuInit(); }
static void setInfo(NppData notepadPlusData) { GitPlugin.Instance.nppData = notepadPlusData; OnSetInfo(); }
private static void setInfo(NppData notepadPlusData) { NppData = notepadPlusData; Plug.DoPlugLoad(); }
public void __setInfo(NppData notpadPlusData) { nppData = notpadPlusData; CommandMenuInit(); }
public void setInfo(NppData notepadPlusData) { this.nppData = notepadPlusData; this.InitPlugin(); }
static void setInfo(NppData notepadPlusData) { PluginBase.NppData = notepadPlusData; WakaTime.CommandMenuInit(); }
/// <summary> /// Sets the information. /// </summary> /// <param name="notepadPlusData">The notepad plus data.</param> public static void setInfo(NppData notepadPlusData) { plugin.setInfo(notepadPlusData); }
static void setInfo(NppData notepadPlusData) { PluginBase.nppData = notepadPlusData; NppPluginReceiver.CommandMenuInit(); }