Пример #1
0
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="taskQueue"></param>
        /// <param name="luaSyntaxLanguage"></param>
        /// <param name="broker"></param>
        public Database(TaskQueue taskQueue, LuatSyntaxLanguage luaSyntaxLanguage, ILuaIntellisenseBroker broker)
        {
            Instance = this;

            m_taskQueue = taskQueue;
            m_language = luaSyntaxLanguage;
            m_broker = broker;

            Status = new StatusImpl();
        }
Пример #2
0
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="taskQueue"></param>
        /// <param name="luaSyntaxLanguage"></param>
        /// <param name="broker"></param>
        public Database(TaskQueue taskQueue, LuatSyntaxLanguage luaSyntaxLanguage, ILuaIntellisenseBroker broker)
        {
            Instance = this;

            m_taskQueue = taskQueue;
            m_language  = luaSyntaxLanguage;
            m_broker    = broker;

            Status = new StatusImpl();
        }
Пример #3
0
        private LuaIntellisenseBroker()
        {
            TaskQueue = new TaskQueue();
            TaskQueue.Start();
            Application.ApplicationExit += (s, e) => TaskQueue.Stop();

            CustomLuaSyntaxLanguage = new LuatSyntaxLanguage(this);

            Database = new Database(TaskQueue, CustomLuaSyntaxLanguage, this);

            m_fauxControl = new FauxSyntaxEditorColorer(CustomLuaSyntaxLanguage);
            SkinService.SkinChangedOrApplied += SkinServiceSkinChangedOrApplied;
        }
Пример #4
0
        private LuaIntellisenseBroker()
        {
            TaskQueue = new TaskQueue();
            TaskQueue.Start();
            Application.ApplicationExit += (s, e) => TaskQueue.Stop();

            CustomLuaSyntaxLanguage = new LuatSyntaxLanguage(this);

            Database = new Database(TaskQueue, CustomLuaSyntaxLanguage, this);

            m_fauxControl = new FauxSyntaxEditorColorer(CustomLuaSyntaxLanguage);
            SkinService.SkinChangedOrApplied += SkinServiceSkinChangedOrApplied;
        }
Пример #5
0
 public FauxSyntaxEditorColorer(LuatSyntaxLanguage language)
 {
     m_language = language;
 }
Пример #6
0
 public FauxSyntaxEditorColorer(LuatSyntaxLanguage language)
 {
     m_language = language;
 }