Ejemplo n.º 1
0
    def replacepatterns(self):
        def _set(*args, **kwargs):
            self.master.replacehooks.set(*args, **kwargs)
            signals.update_settings.send(self)

        self.master.view_grideditor(
            grideditor.ReplaceEditor(self.master,
                                     self.master.replacehooks.get_specs(),
                                     _set))
Ejemplo n.º 2
0
 def replacepatterns(self):
     self.master.view_grideditor(
         grideditor.ReplaceEditor(
             self.master, self.master.options.replacements,
             self.master.options.setter("replacements")))