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
42f7b7ec
Kaydet (Commit)
42f7b7ec
authored
May 26, 2012
tarafından
Terry Jan Reedy
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #14876: Use user-selected font for highlight configuration.
Patch by Roger Serwy.
üst
6a942528
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
configDialog.py
Lib/idlelib/configDialog.py
+4
-2
NEWS
Misc/NEWS
+3
-0
No files found.
Lib/idlelib/configDialog.py
Dosyayı görüntüle @
42f7b7ec
...
@@ -183,7 +183,7 @@ class ConfigDialog(Toplevel):
...
@@ -183,7 +183,7 @@ class ConfigDialog(Toplevel):
text
=
' Highlighting Theme '
)
text
=
' Highlighting Theme '
)
#frameCustom
#frameCustom
self
.
textHighlightSample
=
Text
(
frameCustom
,
relief
=
SOLID
,
borderwidth
=
1
,
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
)
takefocus
=
FALSE
,
highlightthickness
=
0
,
wrap
=
NONE
)
text
=
self
.
textHighlightSample
text
=
self
.
textHighlightSample
text
.
bind
(
'<Double-Button-1>'
,
lambda
e
:
'break'
)
text
.
bind
(
'<Double-Button-1>'
,
lambda
e
:
'break'
)
...
@@ -832,8 +832,10 @@ class ConfigDialog(Toplevel):
...
@@ -832,8 +832,10 @@ class ConfigDialog(Toplevel):
fontWeight
=
tkFont
.
BOLD
fontWeight
=
tkFont
.
BOLD
else
:
else
:
fontWeight
=
tkFont
.
NORMAL
fontWeight
=
tkFont
.
NORMAL
self
.
editFont
.
config
(
size
=
self
.
fontSize
.
get
(),
size
=
self
.
fontSize
.
get
()
self
.
editFont
.
config
(
size
=
size
,
weight
=
fontWeight
,
family
=
fontName
)
weight
=
fontWeight
,
family
=
fontName
)
self
.
textHighlightSample
.
configure
(
font
=
(
fontName
,
size
,
fontWeight
))
def
SetHighlightTarget
(
self
):
def
SetHighlightTarget
(
self
):
if
self
.
highlightTarget
.
get
()
==
'Cursor'
:
#bg not possible
if
self
.
highlightTarget
.
get
()
==
'Cursor'
:
#bg not possible
...
...
Misc/NEWS
Dosyayı görüntüle @
42f7b7ec
...
@@ -64,6 +64,9 @@ Core and Builtins
...
@@ -64,6 +64,9 @@ Core and Builtins
Library
Library
-------
-------
-
Issue
#
14876
:
Use
user
-
selected
font
for
highlight
configuration
.
Patch
by
Roger
Serwy
.
-
Issue
#
14036
:
Add
an
additional
check
to
validate
that
port
in
urlparse
does
-
Issue
#
14036
:
Add
an
additional
check
to
validate
that
port
in
urlparse
does
not
go
in
illegal
range
and
returns
None
.
not
go
in
illegal
range
and
returns
None
.
...
...
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