def _create_callback(self, old, new): replace_callback = InteractiveReplace( old, new, default='n', automatic_quit=False) replace_callback.allow_replace_label = True replace_callback.allow_replace_section = True replace_callback.allow_replace_all = True return replace_callback
def _create_callback(self, old, new): replace_callback = InteractiveReplace(old, new, default='n') replace_callback.allow_replace = True replace_callback.allow_replace_label = True replace_callback.allow_replace_section = True replace_callback.allow_replace_all = True return replace_callback
def _create_callback(self, old, new): replace_callback = InteractiveReplace(old, new, default='n', automatic_quit=False) replace_callback.allow_replace_label = True replace_callback.allow_replace_section = True replace_callback.allow_replace_all = True return replace_callback