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
6f1f091e
Kaydet (Commit)
6f1f091e
authored
Eyl 23, 2015
tarafından
Terry Jan Reedy
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Merge with 3.5
üst
697c43d3
5e6201e8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
5 deletions
+13
-5
EditorWindow.py
Lib/idlelib/EditorWindow.py
+5
-5
PyShell.py
Lib/idlelib/PyShell.py
+8
-0
No files found.
Lib/idlelib/EditorWindow.py
Dosyayı görüntüle @
6f1f091e
...
@@ -175,13 +175,13 @@ class EditorWindow(object):
...
@@ -175,13 +175,13 @@ class EditorWindow(object):
if
macosxSupport
.
isAquaTk
():
if
macosxSupport
.
isAquaTk
():
# Command-W on editorwindows doesn't work without this.
# Command-W on editorwindows doesn't work without this.
text
.
bind
(
'<<close-window>>'
,
self
.
close_event
)
text
.
bind
(
'<<close-window>>'
,
self
.
close_event
)
# Some OS X systems have only one mouse button,
# Some OS X systems have only one mouse button, so use
# so use control-click for pulldown menus there.
# control-click for popup context menus there. For two
# (Note, AquaTk defines <2> as the right button if
# buttons, AquaTk defines <2> as the right button, not <3>.
# present and the Tk Text widget already binds <2>.)
text
.
bind
(
"<Control-Button-1>"
,
self
.
right_menu_event
)
text
.
bind
(
"<Control-Button-1>"
,
self
.
right_menu_event
)
text
.
bind
(
"<2>"
,
self
.
right_menu_event
)
else
:
else
:
# Elsewhere, use right-click for p
ulldown
menus.
# Elsewhere, use right-click for p
opup
menus.
text
.
bind
(
"<3>"
,
self
.
right_menu_event
)
text
.
bind
(
"<3>"
,
self
.
right_menu_event
)
text
.
bind
(
"<<cut>>"
,
self
.
cut
)
text
.
bind
(
"<<cut>>"
,
self
.
cut
)
text
.
bind
(
"<<copy>>"
,
self
.
copy
)
text
.
bind
(
"<<copy>>"
,
self
.
copy
)
...
...
Lib/idlelib/PyShell.py
Dosyayı görüntüle @
6f1f091e
...
@@ -1547,6 +1547,14 @@ def main():
...
@@ -1547,6 +1547,14 @@ def main():
root
.
withdraw
()
root
.
withdraw
()
flist
=
PyShellFileList
(
root
)
flist
=
PyShellFileList
(
root
)
macosxSupport
.
setupApp
(
root
,
flist
)
macosxSupport
.
setupApp
(
root
,
flist
)
if
macosxSupport
.
isAquaTk
():
# There are some screwed up <2> class bindings for text
# widgets defined in Tk which we need to do away with.
# See issue #24801.
root
.
unbind_class
(
'Text'
,
'<B2>'
)
root
.
unbind_class
(
'Text'
,
'<B2-Motion>'
)
root
.
unbind_class
(
'Text'
,
'<<PasteSelection>>'
)
if
enable_edit
:
if
enable_edit
:
if
not
(
cmd
or
script
):
if
not
(
cmd
or
script
):
...
...
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