Beispiel #1
0
        public PopupMenu(ConsoleControl console)
        {
            Closed += ClosedTabComplete;
            Closed += ClosedHistory;

            StaysOpen = false;
            _intellisense.SelectionMode = SelectionMode.Single;
            _intellisense.SelectionChanged += IntellisenseSelectionChanged;
            _intellisense.IsTextSearchEnabled = true;
            //_intellisense.PreviewTextInput   += new TextCompositionEventHandler(popup_TextInput);

            _console = console;

            Child = _intellisense;
            PlacementTarget = _console.CommandBox;
        }
Beispiel #2
0
        public PopupMenu(ConsoleControl console)
        {
            Closed += ClosedTabComplete;
            Closed += ClosedHistory;

            StaysOpen = false;
            _intellisense.SelectionMode       = SelectionMode.Single;
            _intellisense.SelectionChanged   += IntellisenseSelectionChanged;
            _intellisense.IsTextSearchEnabled = true;
            //_intellisense.PreviewTextInput   += new TextCompositionEventHandler(popup_TextInput);

            _console = console;

            Child           = _intellisense;
            PlacementTarget = _console.CommandBox;
        }
Beispiel #3
0
 public HostRawUI(ConsoleControl control)
 {
     // TODO: Complete member initialization
     _control = control;
 }