public void Init(CommandHistoryManager mgr) { tbName.SelectAllTextOnFocus = true; _mgr = mgr; BindRecent(); }
public ConsoleManager(Blackboard blk, Kernel kernel, ConsoleLogWriter log) { this.kernel = kernel; this.blackboard = blk; this.log = log; this.currentLine = String.Empty; this.tabSw = new Stopwatch(); this.firstTab = false; this.history = new CommandHistoryManager(); this.completionTree = new CompletionTree(); this.kernel.ConsoleManager = this; this.kernel.FillCompletionTree(this.completionTree); }
public void SetUp() { _testObj = new CommandHistoryManager(); }
public void SetUp() { _historyFile = new FileInfo(Path.GetTempFileName()); _historyManager = new CommandHistoryManager(_historyFile); _historyManager.Init(); }