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
b50c6377
Kaydet (Commit)
b50c6377
authored
Eyl 21, 2015
tarafından
Terry Jan Reedy
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #25199: Idle: add synchronization comments for future maintainers.
üst
963a38bc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
3 deletions
+14
-3
EditorWindow.py
Lib/idlelib/EditorWindow.py
+8
-2
macosxSupport.py
Lib/idlelib/macosxSupport.py
+6
-1
No files found.
Lib/idlelib/EditorWindow.py
Dosyayı görüntüle @
b50c6377
...
...
@@ -537,16 +537,22 @@ class EditorWindow(object):
return
'normal'
def
about_dialog
(
self
,
event
=
None
):
"Handle Help 'About IDLE' event."
# Synchronize with macosxSupport.overrideRootMenu.about_dialog.
aboutDialog
.
AboutDialog
(
self
.
top
,
'About IDLE'
)
def
config_dialog
(
self
,
event
=
None
):
"Handle Options 'Configure IDLE' event."
# Synchronize with macosxSupport.overrideRootMenu.config_dialog.
configDialog
.
ConfigDialog
(
self
.
top
,
'Settings'
)
def
config_extensions_dialog
(
self
,
event
=
None
):
"Handle Options 'Configure Extensions' event."
configDialog
.
ConfigExtensionsDialog
(
self
.
top
)
def
help_dialog
(
self
,
event
=
None
):
"Handle
help doc
event."
#
edit maxosxSupport.overrideRootMenu.help_dialog to match
"Handle
Help 'IDLE Help'
event."
#
Synchronize with macosxSupport.overrideRootMenu.help_dialog.
if
self
.
root
:
parent
=
self
.
root
else
:
...
...
Lib/idlelib/macosxSupport.py
Dosyayı görüntüle @
b50c6377
...
...
@@ -159,10 +159,14 @@ def overrideRootMenu(root, flist):
WindowList
.
register_callback
(
postwindowsmenu
)
def
about_dialog
(
event
=
None
):
"Handle Help 'About IDLE' event."
# Synchronize with EditorWindow.EditorWindow.about_dialog.
from
idlelib
import
aboutDialog
aboutDialog
.
AboutDialog
(
root
,
'About IDLE'
)
def
config_dialog
(
event
=
None
):
"Handle Options 'Configure IDLE' event."
# Synchronize with EditorWindow.EditorWindow.config_dialog.
from
idlelib
import
configDialog
# Ensure that the root object has an instance_dict attribute,
...
...
@@ -170,10 +174,11 @@ def overrideRootMenu(root, flist):
# on an EditorWindow instance that is then passed as the first
# argument to ConfigDialog)
root
.
instance_dict
=
flist
.
inversedict
root
.
instance_dict
=
flist
.
inversedict
configDialog
.
ConfigDialog
(
root
,
'Settings'
)
def
help_dialog
(
event
=
None
):
"Handle Help 'IDLE Help' event."
# Synchronize with EditorWindow.EditorWindow.help_dialog.
from
idlelib
import
help
help
.
show_idlehelp
(
root
)
...
...
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