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
038cad7e
Kaydet (Commit)
038cad7e
authored
Kas 09, 2006
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Patch #1592250: Add elidge argument to Tkinter.Text.search.
üst
b2bba739
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
Tkinter.py
Lib/lib-tk/Tkinter.py
+2
-1
NEWS
Misc/NEWS
+2
-0
No files found.
Lib/lib-tk/Tkinter.py
Dosyayı görüntüle @
038cad7e
...
...
@@ -3017,7 +3017,7 @@ class Text(Widget):
self
.
tk
.
call
(
self
.
_w
,
'scan'
,
'dragto'
,
x
,
y
)
def
search
(
self
,
pattern
,
index
,
stopindex
=
None
,
forwards
=
None
,
backwards
=
None
,
exact
=
None
,
regexp
=
None
,
nocase
=
None
,
count
=
None
):
regexp
=
None
,
nocase
=
None
,
count
=
None
,
elide
=
None
):
"""Search PATTERN beginning from INDEX until STOPINDEX.
Return the index of the first character of a match or an empty string."""
args
=
[
self
.
_w
,
'search'
]
...
...
@@ -3026,6 +3026,7 @@ class Text(Widget):
if
exact
:
args
.
append
(
'-exact'
)
if
regexp
:
args
.
append
(
'-regexp'
)
if
nocase
:
args
.
append
(
'-nocase'
)
if
elide
:
args
.
append
(
'-elide'
)
if
count
:
args
.
append
(
'-count'
);
args
.
append
(
count
)
if
pattern
[
0
]
==
'-'
:
args
.
append
(
'--'
)
args
.
append
(
pattern
)
...
...
Misc/NEWS
Dosyayı görüntüle @
038cad7e
...
...
@@ -96,6 +96,8 @@ Core and builtins
Library
-------
- Patch #1592250: Add elidge argument to Tkinter.Text.search.
- Patch #838546: Make terminal become controlling in pty.fork()
- Patch #1351744: Add askyesnocancel helper for tkMessageBox.
...
...
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