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
9cf00dd5
Kaydet (Commit)
9cf00dd5
authored
Ara 31, 2001
tarafından
Jack Jansen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Updated to optionally use Carbon Scrap manager.
üst
ad8381a8
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
4 deletions
+30
-4
ped.py
Mac/Demo/textedit/ped.py
+12
-1
htmled.py
Mac/Demo/waste/htmled.py
+6
-1
swed.py
Mac/Demo/waste/swed.py
+6
-1
wed.py
Mac/Demo/waste/wed.py
+6
-1
No files found.
Mac/Demo/textedit/ped.py
Dosyayı görüntüle @
9cf00dd5
...
...
@@ -141,7 +141,10 @@ class TEWindow(ScrolledWindow):
def
menu_cut
(
self
):
self
.
ted
.
TESelView
()
self
.
ted
.
TECut
()
if
hasattr
(
Scrap
,
'ZeroScrap'
):
Scrap
.
ZeroScrap
()
else
:
Scrap
.
ClearCurrentScrap
()
TE
.
TEToScrap
()
self
.
updatescrollbars
()
self
.
parent
.
updatemenubar
()
...
...
@@ -149,7 +152,10 @@ class TEWindow(ScrolledWindow):
def
menu_copy
(
self
):
self
.
ted
.
TECopy
()
if
hasattr
(
Scrap
,
'ZeroScrap'
):
Scrap
.
ZeroScrap
()
else
:
Scrap
.
ClearCurrentScrap
()
TE
.
TEToScrap
()
self
.
updatescrollbars
()
self
.
parent
.
updatemenubar
()
...
...
@@ -226,8 +232,13 @@ class Ped(Application):
if
hasattr
(
Scrap
,
'InfoScrap'
):
on
=
(
Scrap
.
InfoScrap
()[
0
]
<>
0
)
else
:
# Not there yet on Carbon, simply always enable
flavors
=
Scrap
.
GetCurrentScrap
()
.
GetScrapFlavorInfoList
()
for
tp
,
info
in
flavors
:
if
tp
==
'TEXT'
:
on
=
1
break
else
:
on
=
0
if
on
<>
self
.
pastegroup_on
:
self
.
pasteitem
.
enable
(
on
)
self
.
pastegroup_on
=
on
...
...
Mac/Demo/waste/htmled.py
Dosyayı görüntüle @
9cf00dd5
...
...
@@ -297,14 +297,19 @@ class WasteWindow(ScrolledWindow):
def
menu_cut
(
self
):
self
.
ted
.
WESelView
()
self
.
ted
.
WECut
()
if
hasattr
(
Scrap
,
'ZeroScrap'
):
Scrap
.
ZeroScrap
()
else
:
Scrap
.
ClearCurrentScrap
()
self
.
ted
.
WECut
()
self
.
updatescrollbars
()
self
.
parent
.
updatemenubar
()
def
menu_copy
(
self
):
if
hasattr
(
Scrap
,
'ZeroScrap'
):
Scrap
.
ZeroScrap
()
else
:
Scrap
.
ClearCurrentScrap
()
self
.
ted
.
WECopy
()
self
.
updatescrollbars
()
self
.
parent
.
updatemenubar
()
...
...
Mac/Demo/waste/swed.py
Dosyayı görüntüle @
9cf00dd5
...
...
@@ -235,14 +235,19 @@ class WasteWindow(ScrolledWindow):
def
menu_cut
(
self
):
self
.
ted
.
WESelView
()
self
.
ted
.
WECut
()
if
hasattr
(
Scrap
,
'ZeroScrap'
):
Scrap
.
ZeroScrap
()
else
:
Scrap
.
ClearCurrentScrap
()
self
.
ted
.
WECut
()
self
.
updatescrollbars
()
self
.
parent
.
updatemenubar
()
def
menu_copy
(
self
):
if
hasattr
(
Scrap
,
'ZeroScrap'
):
Scrap
.
ZeroScrap
()
else
:
Scrap
.
ClearCurrentScrap
()
self
.
ted
.
WECopy
()
self
.
updatescrollbars
()
self
.
parent
.
updatemenubar
()
...
...
Mac/Demo/waste/wed.py
Dosyayı görüntüle @
9cf00dd5
...
...
@@ -190,15 +190,20 @@ class WasteWindow(ScrolledWindow):
def
menu_cut
(
self
):
self
.
ted
.
WESelView
()
self
.
ted
.
WECut
()
if
hasattr
(
Scrap
,
'ZeroScrap'
):
Scrap
.
ZeroScrap
()
else
:
Scrap
.
ClearCurrentScrap
()
self
.
ted
.
WECut
()
self
.
updatescrollbars
()
self
.
parent
.
updatemenubar
()
self
.
changed
=
1
def
menu_copy
(
self
):
if
hasattr
(
Scrap
,
'ZeroScrap'
):
Scrap
.
ZeroScrap
()
else
:
Scrap
.
ClearCurrentScrap
()
self
.
ted
.
WECopy
()
self
.
updatescrollbars
()
self
.
parent
.
updatemenubar
()
...
...
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