public PackageConsoleView() { // HACK - to allow text to appear before first prompt. PromptString = String.Empty; base.Clear(); SetFont(FontService.MonospaceFont); TextView.FocusInEvent += (o, args) => { TextViewFocused?.Invoke(this, args); }; }
public PackageConsoleView() { AddTags(); // HACK - to allow text to appear before first prompt. PromptString = String.Empty; base.Clear(); SetFont(IdeServices.FontService.MonospaceFont); completionWidget = new PackageConsoleCompletionWidget(this); completionWindow = new CompletionListWindow(); TextView.FocusInEvent += (o, args) => { TextViewFocused?.Invoke(this, args); }; TextView.FocusOutEvent += TextViewFocusOutEvent; TextView.KeyReleaseEvent += TextViewKeyReleaseEvent; }