Example #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();
        }
Example #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();
        }
Example #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;
        }
        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;
        }
Example #5
0
 public FauxSyntaxEditorColorer(LuatSyntaxLanguage language)
 {
     m_language = language;
 }
 public FauxSyntaxEditorColorer(LuatSyntaxLanguage language)
 {
     m_language = language;
 }