/* * public StringCollection History { * get { * return _History; * } * } */ /* * public int HistoryPosition { * get { * return _HistoryPosition; * } * set { * _HistoryPosition = value; * } * } */ /* * public bool HistoryChangedLine { * get { * return _HistoryChangedLine; * } * set { * _HistoryChangedLine = value; * } * } */ public Entry(ChatViewManager chatViewManager) { Trace.Call(chatViewManager); if (chatViewManager == null) { throw new ArgumentNullException("chatViewManager"); } _History.Add(String.Empty); ChatViewManager = chatViewManager; Settings = new EntrySettings(); InitCommandManager(); Frontend.SessionPropertyChanged += delegate { InitCommandManager(); }; Activated += new EventHandler(_OnActivated); KeyPressEvent += new Gtk.KeyPressEventHandler(_OnKeyPress); FocusOutEvent += new Gtk.FocusOutEventHandler(_OnFocusOut); ClipboardPasted += new EventHandler(_OnClipboardPasted); }
/* public StringCollection History { get { return _History; } } */ /* public int HistoryPosition { get { return _HistoryPosition; } set { _HistoryPosition = value; } } */ /* public bool HistoryChangedLine { get { return _HistoryChangedLine; } set { _HistoryChangedLine = value; } } */ public Entry(Notebook notebook) { Trace.Call(notebook); if (notebook == null) { throw new ArgumentNullException("notebook"); } _History.Add(String.Empty); _Notebook = notebook; InitCommandManager(); Frontend.SessionPropertyChanged += delegate { InitCommandManager(); }; Activated += new EventHandler(_OnActivated); KeyPressEvent += new Gtk.KeyPressEventHandler(_OnKeyPress); FocusOutEvent += new Gtk.FocusOutEventHandler(_OnFocusOut); ClipboardPasted += new EventHandler(_OnClipboardPasted); }