public static TextAreaSyntaxHighlightEditor GetCSharpEditor()
        {
            if (_syntaxHighlightGroupSetting == null)
            {
                var path = AssetDatabase.GUIDToAssetPath(CSharpGroupSettingGuid);
                _syntaxHighlightGroupSetting = AssetDatabase.LoadAssetAtPath <SyntaxHighlightGroupSetting>(path);
            }

            if (_editor == null)
            {
                _editor = new TextAreaSyntaxHighlightEditor();
                _editor.BackgroundColor = Color.gray;
                _editor.TextColor       = Color.white;

                _syntaxHighlightGroupSetting.Initialize();
                _editor.Highlighter = _syntaxHighlightGroupSetting.Highlight;
            }

            return(_editor);
        }
 public static void ResetCSharpEditor()
 {
     _editor = null;
 }