Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
1a0df94d
Kaydet (Commit)
1a0df94d
authored
May 26, 2012
tarafından
Terry Jan Reedy
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Merge Issue #14876: Use user-selected font for highlight configuration.
Patch by Roger Serwy.
üst
ee2bbed9
809309a4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
configDialog.py
Lib/idlelib/configDialog.py
+4
-2
NEWS
Misc/NEWS
+2
-0
No files found.
Lib/idlelib/configDialog.py
Dosyayı görüntüle @
1a0df94d
...
...
@@ -187,7 +187,7 @@ class ConfigDialog(Toplevel):
text
=
' Highlighting Theme '
)
#frameCustom
self
.
textHighlightSample
=
Text
(
frameCustom
,
relief
=
SOLID
,
borderwidth
=
1
,
font
=
(
'courier'
,
12
,
''
),
cursor
=
'hand2'
,
width
=
21
,
height
=
1
0
,
font
=
(
'courier'
,
12
,
''
),
cursor
=
'hand2'
,
width
=
21
,
height
=
1
1
,
takefocus
=
FALSE
,
highlightthickness
=
0
,
wrap
=
NONE
)
text
=
self
.
textHighlightSample
text
.
bind
(
'<Double-Button-1>'
,
lambda
e
:
'break'
)
...
...
@@ -821,8 +821,10 @@ class ConfigDialog(Toplevel):
fontWeight
=
tkFont
.
BOLD
else
:
fontWeight
=
tkFont
.
NORMAL
self
.
editFont
.
config
(
size
=
self
.
fontSize
.
get
(),
size
=
self
.
fontSize
.
get
()
self
.
editFont
.
config
(
size
=
size
,
weight
=
fontWeight
,
family
=
fontName
)
self
.
textHighlightSample
.
configure
(
font
=
(
fontName
,
size
,
fontWeight
))
def
SetHighlightTarget
(
self
):
if
self
.
highlightTarget
.
get
()
==
'Cursor'
:
#bg not possible
...
...
Misc/NEWS
Dosyayı görüntüle @
1a0df94d
...
...
@@ -60,6 +60,8 @@ Library
new
features
through
new
policies
.
Note
that
Policy
.
must_be_7bit
is
renamed
to
cte_type
.
-
Issue
#
14876
:
Use
user
-
selected
font
for
highlight
configuration
.
-
Issue
#
14920
:
Fix
the
help
(
urllib
.
parse
)
failure
on
locale
C
on
terminals
.
Have
ascii
characters
in
help
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment