Пример #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 = "";
			}
		}
Пример #2
0
		public TextDocument(Tilde.Framework.Controller.IManager manager, string fileName)
			: base(manager, fileName)
		{
		}
Пример #3
0
		public LuaProfileResultsDocument(Tilde.Framework.Controller.IManager manager, string fileName)
			: base(manager, fileName)
		{
			m_functions = new List<LuaProfileEntry>();
		}