/// <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(); }
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; }
public FauxSyntaxEditorColorer(LuatSyntaxLanguage language) { m_language = language; }