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
dd4754e6
Kaydet (Commit)
dd4754e6
authored
Eyl 11, 2013
tarafından
Serhiy Storchaka
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #18988: The "Tab" key now works when a word is already autocompleted.
üst
b9183950
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
AutoComplete.py
Lib/idlelib/AutoComplete.py
+3
-6
AutoCompleteWindow.py
Lib/idlelib/AutoCompleteWindow.py
+2
-1
NEWS
Misc/NEWS
+2
-0
No files found.
Lib/idlelib/AutoComplete.py
Dosyayı görüntüle @
dd4754e6
...
@@ -160,12 +160,9 @@ class AutoComplete:
...
@@ -160,12 +160,9 @@ class AutoComplete:
if
not
comp_lists
[
0
]:
if
not
comp_lists
[
0
]:
return
return
self
.
autocompletewindow
=
self
.
_make_autocomplete_window
()
self
.
autocompletewindow
=
self
.
_make_autocomplete_window
()
self
.
autocompletewindow
.
show_window
(
comp_lists
,
return
not
self
.
autocompletewindow
.
show_window
(
"insert-
%
dc"
%
len
(
comp_start
),
comp_lists
,
"insert-
%
dc"
%
len
(
comp_start
),
complete
,
complete
,
mode
,
userWantsWin
)
mode
,
userWantsWin
)
return
True
def
fetch_completions
(
self
,
what
,
mode
):
def
fetch_completions
(
self
,
what
,
mode
):
"""Return a pair of lists of completions for something. The first list
"""Return a pair of lists of completions for something. The first list
...
...
Lib/idlelib/AutoCompleteWindow.py
Dosyayı görüntüle @
dd4754e6
...
@@ -157,13 +157,14 @@ class AutoCompleteWindow:
...
@@ -157,13 +157,14 @@ class AutoCompleteWindow:
self
.
start
=
self
.
widget
.
get
(
self
.
startindex
,
"insert"
)
self
.
start
=
self
.
widget
.
get
(
self
.
startindex
,
"insert"
)
if
complete
:
if
complete
:
completed
=
self
.
_complete_string
(
self
.
start
)
completed
=
self
.
_complete_string
(
self
.
start
)
start
=
self
.
start
self
.
_change_start
(
completed
)
self
.
_change_start
(
completed
)
i
=
self
.
_binary_search
(
completed
)
i
=
self
.
_binary_search
(
completed
)
if
self
.
completions
[
i
]
==
completed
and
\
if
self
.
completions
[
i
]
==
completed
and
\
(
i
==
len
(
self
.
completions
)
-
1
or
(
i
==
len
(
self
.
completions
)
-
1
or
self
.
completions
[
i
+
1
][:
len
(
completed
)]
!=
completed
):
self
.
completions
[
i
+
1
][:
len
(
completed
)]
!=
completed
):
# There is exactly one matching completion
# There is exactly one matching completion
return
return
completed
==
start
self
.
userwantswindow
=
userWantsWin
self
.
userwantswindow
=
userWantsWin
self
.
lasttypedstart
=
self
.
start
self
.
lasttypedstart
=
self
.
start
...
...
Misc/NEWS
Dosyayı görüntüle @
dd4754e6
...
@@ -293,6 +293,8 @@ C API
...
@@ -293,6 +293,8 @@ C API
IDLE
IDLE
----
----
- Issue #18988: The "Tab" key now works when a word is already autocompleted.
- Issue #18489: Add tests for SearchEngine. Original patch by Phil Webster.
- Issue #18489: Add tests for SearchEngine. Original patch by Phil Webster.
- Issue #18429: Format / Format Paragraph, now works when comment blocks
- Issue #18429: Format / Format Paragraph, now works when comment blocks
...
...
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