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
cdbb06c1
Kaydet (Commit)
cdbb06c1
authored
Nis 07, 2013
tarafından
Roger Serwy
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
#16887: merge with 3.3.
üst
ee57f159
0ef392cd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
EditorWindow.py
Lib/idlelib/EditorWindow.py
+3
-1
NEWS
Misc/NEWS
+2
-0
No files found.
Lib/idlelib/EditorWindow.py
Dosyayı görüntüle @
cdbb06c1
...
@@ -1433,6 +1433,7 @@ class EditorWindow(object):
...
@@ -1433,6 +1433,7 @@ class EditorWindow(object):
def
tabify_region_event
(
self
,
event
):
def
tabify_region_event
(
self
,
event
):
head
,
tail
,
chars
,
lines
=
self
.
get_region
()
head
,
tail
,
chars
,
lines
=
self
.
get_region
()
tabwidth
=
self
.
_asktabwidth
()
tabwidth
=
self
.
_asktabwidth
()
if
tabwidth
is
None
:
return
for
pos
in
range
(
len
(
lines
)):
for
pos
in
range
(
len
(
lines
)):
line
=
lines
[
pos
]
line
=
lines
[
pos
]
if
line
:
if
line
:
...
@@ -1444,6 +1445,7 @@ class EditorWindow(object):
...
@@ -1444,6 +1445,7 @@ class EditorWindow(object):
def
untabify_region_event
(
self
,
event
):
def
untabify_region_event
(
self
,
event
):
head
,
tail
,
chars
,
lines
=
self
.
get_region
()
head
,
tail
,
chars
,
lines
=
self
.
get_region
()
tabwidth
=
self
.
_asktabwidth
()
tabwidth
=
self
.
_asktabwidth
()
if
tabwidth
is
None
:
return
for
pos
in
range
(
len
(
lines
)):
for
pos
in
range
(
len
(
lines
)):
lines
[
pos
]
=
lines
[
pos
]
.
expandtabs
(
tabwidth
)
lines
[
pos
]
=
lines
[
pos
]
.
expandtabs
(
tabwidth
)
self
.
set_region
(
head
,
tail
,
chars
,
lines
)
self
.
set_region
(
head
,
tail
,
chars
,
lines
)
...
@@ -1537,7 +1539,7 @@ class EditorWindow(object):
...
@@ -1537,7 +1539,7 @@ class EditorWindow(object):
parent
=
self
.
text
,
parent
=
self
.
text
,
initialvalue
=
self
.
indentwidth
,
initialvalue
=
self
.
indentwidth
,
minvalue
=
2
,
minvalue
=
2
,
maxvalue
=
16
)
or
self
.
tabwidth
maxvalue
=
16
)
# Guess indentwidth from text content.
# Guess indentwidth from text content.
# Return guessed indentwidth. This should not be believed unless
# Return guessed indentwidth. This should not be believed unless
...
...
Misc/NEWS
Dosyayı görüntüle @
cdbb06c1
...
@@ -1013,6 +1013,8 @@ _ Issue #17385: Fix quadratic behavior in threading.Condition. The FIFO
...
@@ -1013,6 +1013,8 @@ _ Issue #17385: Fix quadratic behavior in threading.Condition. The FIFO
IDLE
IDLE
----
----
- Issue #16887: IDLE now accepts Cancel in tabify/untabify dialog box.
- Issue #14254: IDLE now handles readline correctly across shell restarts.
- Issue #14254: IDLE now handles readline correctly across shell restarts.
- Issue #17614: IDLE no longer raises exception when quickly closing a file.
- Issue #17614: IDLE no longer raises exception when quickly closing a file.
...
...
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