public ScintillaConfig(IScintillaConfigProvider provider) 
        {
            if (provider == null)
                throw new Exception("IScintillaConfigProvider must be provided to the ScintillaConfig constructor!");

            this.provider = provider;
            provider.PopulateScintillaConfig(this);
        }
Example #2
0
        public ScintillaConfig(IScintillaConfigProvider provider)
        {
            if (provider == null)
            {
                throw new Exception("IScintillaConfigProvider must be provided to the ScintillaConfig constructor!");
            }

            this.provider = provider;
            provider.PopulateScintillaConfig(this);
        }
        public LexerConfigCollection(IScintillaConfig parent, IScintillaConfigProvider provider)
        {
            if (provider == null)
                throw new Exception("IScintillaConfigProvider must be provided to the LexerConfigCollection constructor!");
            if (parent == null)
                throw new Exception("The ScintillaConfig must be provided in the LexerConfigCollection constructor!");

            this.parent = parent;
            this.provider = provider;
        }
        public LanguageConfigCollection(IScintillaConfig parent, IScintillaConfigProvider provider, ILexerConfigCollection lexers)
        {
            if (provider == null)
                throw new Exception("IScintillaConfigProvider must be provided in the LanguageConfigCollection constructor!");
            if (lexers == null)
                throw new Exception("The LexerConfigCollection must be provided in the LanguageConfigCollection constructor!");
            if (parent == null)
                throw new Exception("The ScintillaConfig must be provided in the LanguageConfigCollection constructor!");

            this.parent = parent;
            this.provider = provider;
            this.lexers = lexers;
        }
Example #5
0
        public LexerConfigCollection(IScintillaConfig parent, IScintillaConfigProvider provider)
        {
            if (provider == null)
            {
                throw new Exception("IScintillaConfigProvider must be provided to the LexerConfigCollection constructor!");
            }
            if (parent == null)
            {
                throw new Exception("The ScintillaConfig must be provided in the LexerConfigCollection constructor!");
            }

            this.parent   = parent;
            this.provider = provider;
        }
Example #6
0
        public LanguageConfigCollection(IScintillaConfig parent, IScintillaConfigProvider provider, ILexerConfigCollection lexers)
        {
            if (provider == null)
            {
                throw new Exception("IScintillaConfigProvider must be provided in the LanguageConfigCollection constructor!");
            }
            if (lexers == null)
            {
                throw new Exception("The LexerConfigCollection must be provided in the LanguageConfigCollection constructor!");
            }
            if (parent == null)
            {
                throw new Exception("The ScintillaConfig must be provided in the LanguageConfigCollection constructor!");
            }

            this.parent   = parent;
            this.provider = provider;
            this.lexers   = lexers;
        }
Example #7
0
 public ScintillaConfig()
 {
     this.provider = new ScintillaConfigProvider();
     provider.PopulateScintillaConfig(this);
 }
 public ScintillaConfig()
 {
     this.provider = new ScintillaConfigProvider();
     provider.PopulateScintillaConfig(this);
 }