Exemplo n.º 1
0
 def rst_msg(self, text, opts={}):
     """Convert ReStructuredText and run through msg()"""
     from trepan.lib.format import rst_text
     text = rst_text(text,
                     'plain' == self.debugger.settings['highlight'],
                     self.debugger.settings['width'])
     return self.msg(text)
Exemplo n.º 2
0
 def rst_msg(self, text, opts={}):
     """Convert ReStructuredText and run through msg()"""
     text = Mformat.rst_text(
         text,
         "plain" == self.debugger.settings["highlight"],
         self.debugger.settings["width"],
     )
     return self.msg(text)
Exemplo n.º 3
0
    def rst_msg(self, text, opts={}):
        """Convert ReStructuredText and run through msg()"""
        from trepan.lib.format import rst_text

        text = rst_text(
            text,
            "plain" == self.debugger.settings["highlight"],
            self.debugger.settings["width"],
        )
        return self.msg(text)
Exemplo n.º 4
0
 def rst_msg(self, text, opts={}):
     """Convert ReStructuredText and run through msg()"""
     text = Mformat.rst_text(text,
                             'plain' == self.debugger.settings['highlight'],
                             self.debugger.settings['width'])
     return self.msg(text)
Exemplo n.º 5
0
 def rst_msg(self, text, opts={}):
     """Convert ReStructuredText and run through msg()"""
     text = Mformat.rst_text(text,
                             'plain' == self.debugger.settings['highlight'],
                             self.debugger.settings['width'])
     return self.msg(text)