void Manager_ProjectOpened(IManager sender, Tilde.Framework.Model.Project project) { XmlElement historyRoot = project.GetUserConfigurationXML("LuaConsoleHistory"); if(historyRoot != null) { m_history.Clear(); foreach(XmlElement node in historyRoot.ChildNodes) { m_history.Add(node.InnerText); } m_historyPosition = m_history.Count; inputBox.EmptyUndoBuffer(); inputBox.Text = ""; } }
public TextDocument(Tilde.Framework.Controller.IManager manager, string fileName) : base(manager, fileName) { }
public LuaProfileResultsDocument(Tilde.Framework.Controller.IManager manager, string fileName) : base(manager, fileName) { m_functions = new List<LuaProfileEntry>(); }