def __init__(self, program, host):
    if app.config.strict_debug:
        assert host
    Window.__init__(self, program, host)
    self.host = host
    self.controller = app.cu_editor.PopupController(self)
    self.setTextBuffer(app.text_buffer.TextBuffer(self.program))
    self.longestLineLength = 0
    self.__message = []
    self.showOptions = True
    self.options = []
def __init__(self, program, host):
    if app.config.strict_debug:
        assert host
    Window.__init__(self, program, host)
    self.host = host
    self.controller = app.cu_editor.PopupController(self)
    self.setTextBuffer(app.text_buffer.TextBuffer(self.program))
    self.longestLineLength = 0
    self.__message = []
    self.showOptions = True
    self.options = []