mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
#17511: merge with 3.3.
This commit is contained in:
commit
30b4131b41
3 changed files with 6 additions and 3 deletions
|
@ -24,13 +24,12 @@ class SearchDialog(SearchDialogBase):
|
|||
|
||||
def create_widgets(self):
|
||||
f = SearchDialogBase.create_widgets(self)
|
||||
self.make_button("Find", self.default_command, 1)
|
||||
self.make_button("Find Next", self.default_command, 1)
|
||||
|
||||
def default_command(self, event=None):
|
||||
if not self.engine.getprog():
|
||||
return
|
||||
if self.find_again(self.text):
|
||||
self.close()
|
||||
self.find_again(self.text)
|
||||
|
||||
def find_again(self, text):
|
||||
if not self.engine.getpat():
|
||||
|
|
|
@ -617,6 +617,7 @@ John Jorgensen
|
|||
Sijin Joseph
|
||||
Andreas Jung
|
||||
Tattoo Mabonzo K.
|
||||
Sarah K.
|
||||
Bohuslav Kabrda
|
||||
Alexey Kachayev
|
||||
Bob Kahn
|
||||
|
|
|
@ -453,6 +453,9 @@ C-API
|
|||
IDLE
|
||||
----
|
||||
|
||||
- Issue #17511: Keep IDLE find dialog open after clicking "Find Next".
|
||||
Original patch by Sarah K.
|
||||
|
||||
- Issue #18055: Move IDLE off of imp and on to importlib.
|
||||
|
||||
- Issue #15392: Create a unittest framework for IDLE.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue