public ListWidget(ListWindow win) { this.win = win; this.Events = EventMask.ButtonPressMask | EventMask.ButtonReleaseMask | EventMask.PointerMotionMask; DefaultCompletionString = ""; categoryLayout = new Pango.Layout(this.PangoContext); noMatchLayout = new Pango.Layout(this.PangoContext); layout = new Pango.Layout(this.PangoContext); layout.Wrap = Pango.WrapMode.Char; var style = SyntaxModeService.GetColorStyle(IdeApp.Preferences.ColorScheme); SetFont(); textColor = style.CompletionText.Foreground; highlightColor = style.CompletionHighlight.GetColor("color"); backgroundColor = style.CompletionText.Background; selectedItemColor = style.CompletionSelectedText; selectedItemInactiveColor = style.CompletionSelectedInactiveText; selectionBorderColor = style.CompletionBorder.GetColor("color"); selectionBorderInactiveColor = style.CompletionInactiveBorder.GetColor("color"); }