public static void ToggleEnabled()
        {
            Enabled = !Enabled;
            string message = "Memeful comments " + (Enabled ? "enabled" : "disabled") + ". Scroll editor window(s) to update.";

            UIMessage.Show(message);
        }
Beispiel #2
0
        public static void Notify(Exception ex, bool showMessage)
        {
            string message = $"{DateTime.Now}: {ex}";

            Console.WriteLine(message);
            if (showMessage)
            {
                UIMessage.Show(message);
            }
        }