We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 059dc68 commit f3b8363Copy full SHA for f3b8363
Lib/idlelib/replace.py
@@ -86,6 +86,13 @@ def find_it(self, event=None):
86
"Handle the Find button."
87
self.do_find(False)
88
89
+ def replace_it(self, event=None):
90
+ """Handle the Replace button.
91
+
92
+ If the find is successful, then perform replace.
93
+ """
94
+ if self.do_find(self.ok):
95
+ self.do_replace()
96
97
def default_command(self, event=None):
98
"""Handle the Replace+Find button as the default command.
0 commit comments