def __init__(self, program, parent, label):
    if app.config.strict_debug:
        assert issubclass(self.__class__, LabeledLine), self
        assert issubclass(program.__class__, app.ci_program.CiProgram), self
        assert issubclass(parent.__class__, ViewWindow), parent
    Window.__init__(self, program, parent)
    self.host = parent
    tb = app.text_buffer.TextBuffer(self.program)
    tb.rootGrammar = self.program.prefs.grammars[u'none']
    self.setTextBuffer(tb)
    self.label = label
    self.leftColumn = ViewWindow(self.program, self)
def __init__(self, program, parent, label):
    if app.config.strict_debug:
        assert issubclass(self.__class__, LabeledLine), self
        assert issubclass(program.__class__, app.ci_program.CiProgram), self
        assert issubclass(parent.__class__, ViewWindow), parent
    Window.__init__(self, program, parent)
    self.host = parent
    tb = app.text_buffer.TextBuffer(self.program)
    tb.rootGrammar = self.program.prefs.grammars[u'none']
    self.setTextBuffer(tb)
    self.label = label
    self.leftColumn = ViewWindow(self.program, self)