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
c30475e7
Kaydet (Commit)
c30475e7
authored
Eki 03, 2015
tarafından
Terry Jan Reedy
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #24820: Users can now set breakpoint colors in Settings ->
Custom Highlighting. Original patch by Mark Roseman.
üst
65918e01
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
14 deletions
+16
-14
configDialog.py
Lib/idlelib/configDialog.py
+16
-14
No files found.
Lib/idlelib/configDialog.py
Dosyayı görüntüle @
c30475e7
...
@@ -41,19 +41,20 @@ class ConfigDialog(Toplevel):
...
@@ -41,19 +41,20 @@ class ConfigDialog(Toplevel):
#The first value of the tuple is the sample area tag name.
#The first value of the tuple is the sample area tag name.
#The second value is the display name list sort index.
#The second value is the display name list sort index.
self
.
themeElements
=
{
self
.
themeElements
=
{
'Normal Text'
:(
'normal'
,
'00'
),
'Normal Text'
:
(
'normal'
,
'00'
),
'Python Keywords'
:(
'keyword'
,
'01'
),
'Python Keywords'
:
(
'keyword'
,
'01'
),
'Python Definitions'
:(
'definition'
,
'02'
),
'Python Definitions'
:
(
'definition'
,
'02'
),
'Python Builtins'
:(
'builtin'
,
'03'
),
'Python Builtins'
:
(
'builtin'
,
'03'
),
'Python Comments'
:(
'comment'
,
'04'
),
'Python Comments'
:
(
'comment'
,
'04'
),
'Python Strings'
:(
'string'
,
'05'
),
'Python Strings'
:
(
'string'
,
'05'
),
'Selected Text'
:(
'hilite'
,
'06'
),
'Selected Text'
:
(
'hilite'
,
'06'
),
'Found Text'
:(
'hit'
,
'07'
),
'Found Text'
:
(
'hit'
,
'07'
),
'Cursor'
:(
'cursor'
,
'08'
),
'Cursor'
:
(
'cursor'
,
'08'
),
'Error Text'
:(
'error'
,
'09'
),
'Editor Breakpoint'
:
(
'break'
,
'09'
),
'Shell Normal Text'
:(
'console'
,
'10'
),
'Shell Normal Text'
:
(
'console'
,
'10'
),
'Shell Stdout Text'
:(
'stdout'
,
'11'
),
'Shell Error Text'
:
(
'error'
,
'11'
),
'Shell Stderr Text'
:(
'stderr'
,
'12'
),
'Shell Stdout Text'
:
(
'stdout'
,
'12'
),
'Shell Stderr Text'
:
(
'stderr'
,
'13'
),
}
}
self
.
ResetChangedItems
()
#load initial values in changed items dict
self
.
ResetChangedItems
()
#load initial values in changed items dict
self
.
CreateWidgets
()
self
.
CreateWidgets
()
...
@@ -217,7 +218,8 @@ class ConfigDialog(Toplevel):
...
@@ -217,7 +218,8 @@ class ConfigDialog(Toplevel):
(
"'selected'"
,
'hilite'
),
(
'
\n
var2 = '
,
'normal'
),
(
"'selected'"
,
'hilite'
),
(
'
\n
var2 = '
,
'normal'
),
(
"'found'"
,
'hit'
),
(
'
\n
var3 = '
,
'normal'
),
(
"'found'"
,
'hit'
),
(
'
\n
var3 = '
,
'normal'
),
(
'list'
,
'builtin'
),
(
'('
,
'normal'
),
(
'list'
,
'builtin'
),
(
'('
,
'normal'
),
(
'None'
,
'builtin'
),
(
')
\n\n
'
,
'normal'
),
(
'None'
,
'builtin'
),
(
')
\n
'
,
'normal'
),
(
' breakpoint("line")'
,
'break'
),
(
'
\n\n
'
,
'normal'
),
(
' error '
,
'error'
),
(
' '
,
'normal'
),
(
' error '
,
'error'
),
(
' '
,
'normal'
),
(
'cursor |'
,
'cursor'
),
(
'
\n
'
,
'normal'
),
(
'cursor |'
,
'cursor'
),
(
'
\n
'
,
'normal'
),
(
'shell'
,
'console'
),
(
' '
,
'normal'
),
(
'shell'
,
'console'
),
(
' '
,
'normal'
),
...
...
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