示例#1
0
 static SourceEditorDisplayBinding()
 {
     MonoDevelop.SourceEditor.Extension.TemplateExtensionNodeLoader.Init();
     DefaultSourceEditorOptions.Init();
     SyntaxModeService.EnsureLoad();
     LoadCustomStylesAndModes();
 }
        public static void InitSourceEditor()
        {
            if (IsInitialized)
            {
                return;
            }
            IsInitialized = true;

            MonoDevelop.SourceEditor.Extension.TemplateExtensionNodeLoader.Init();
            DefaultSourceEditorOptions.Init();
            SyntaxModeService.EnsureLoad();
            LoadCustomStylesAndModes();
        }