Exemple #1
0
		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 = "";
			}
		}
Exemple #2
0
		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>();
		}