Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion idlexlib/idlefork/idlelib/AutoCompleteWindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,8 @@ def show_window(self, comp_lists, index, complete, mode, userWantsWin):
pass
self.scrollbar = scrollbar = Scrollbar(acw, orient=VERTICAL)
self.listbox = listbox = Listbox(acw, yscrollcommand=scrollbar.set,
exportselection=False, bg="white")
exportselection=False,
selectbackground="gray")
for item in self.completions:
listbox.insert(END, item)
self.origselforeground = listbox.cget("selectforeground")
Expand Down
3 changes: 2 additions & 1 deletion idlexlib/idlefork/idlelib/CallTipWindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ def showtip(self, text, parenleft, parenright):
except TclError:
pass
self.label = Label(tw, text=self.text, justify=LEFT,
background="#ffffe0", relief=SOLID, borderwidth=1,
background="#ffffe0", foreground="black",
relief=SOLID, borderwidth=1,
font = self.widget['font'])
self.label.pack()
tw.lift() # work around bug in Tk 8.5.18+ (issue #24570)
Expand Down