예제 #1
0
        private void SettingsChanged()
        {
            if (Settings == null)
            {
                return;
            }

            foreach (var snip in Settings.Snippets.Data)
            {
                var snipactionkey = "Snippet::" + snip.Key;
                if (!ShortcutManager.Contains(snipactionkey))
                {
                    ShortcutManager.AddSnippetCommand(snipactionkey, snip.Value.Value, snip.Value.DisplayName);
                }
            }
        }