We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ee2bbed + 809309a commit 1a0df94Copy full SHA for 1a0df94
2 files changed
Lib/idlelib/configDialog.py
@@ -187,7 +187,7 @@ def CreatePageHighlight(self):
187
text=' Highlighting Theme ')
188
#frameCustom
189
self.textHighlightSample=Text(frameCustom,relief=SOLID,borderwidth=1,
190
- font=('courier',12,''),cursor='hand2',width=21,height=10,
+ font=('courier',12,''),cursor='hand2',width=21,height=11,
191
takefocus=FALSE,highlightthickness=0,wrap=NONE)
192
text=self.textHighlightSample
193
text.bind('<Double-Button-1>',lambda e: 'break')
@@ -821,8 +821,10 @@ def SetFontSample(self,event=None):
821
fontWeight=tkFont.BOLD
822
else:
823
fontWeight=tkFont.NORMAL
824
- self.editFont.config(size=self.fontSize.get(),
+ size=self.fontSize.get()
825
+ self.editFont.config(size=size,
826
weight=fontWeight,family=fontName)
827
+ self.textHighlightSample.configure(font=(fontName, size, fontWeight))
828
829
def SetHighlightTarget(self):
830
if self.highlightTarget.get()=='Cursor': #bg not possible
Misc/NEWS
@@ -60,6 +60,8 @@ Library
60
new features through new policies. Note that Policy.must_be_7bit is renamed
61
to cte_type.
62
63
+- Issue #14876: Use user-selected font for highlight configuration.
64
+
65
- Issue #14920: Fix the help(urllib.parse) failure on locale C on terminals.
66
Have ascii characters in help.
67
0 commit comments