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.
1 parent ffa4b2c commit 809309aCopy full SHA for 809309a
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
@@ -67,6 +67,8 @@ Core and Builtins
67
Library
68
-------
69
70
+- Issue #14876: Use user-selected font for highlight configuration.
71
+
72
- Issue #14920: Fix the help(urllib.parse) failure on locale C on terminals.
73
Have ascii characters in help.
74
0 commit comments