Example #1
0
 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
Example #2
0
 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
Example #3
0
 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