public HighlightingColor GetNamedColor(string name)
        {
            TextEditor editor = textEditor.GetService(typeof(TextEditor)) as TextEditor;

            if (editor == null)
            {
                return(null);
            }
            var highlighting = editor.SyntaxHighlighting;

            if (highlighting == null)
            {
                return(null);
            }
            return(CustomizableHighlightingColorizer.CustomizeColor(name, CustomizedHighlightingColor.FetchCustomizations(highlighting.Name)));
        }
 public HighlightingColor GetNamedColor(string name)
 {
     return(CustomizableHighlightingColorizer.CustomizeColor(name, CustomizedHighlightingColor.FetchCustomizations(highlightingName)));
 }