''

def write(self, text=u'', quiet=False, mode=u'insert'):

    if (not text.endswith(u'\n')):
        text += u'\n'
    if (len(self._texts) > 201):
        self._texts.pop(0)
    self._texts.append(text)
    window = sublime.active_window()
    if (window != self._window):
        if (window in self._windows):
            self._window = window
            index = self._windows.index(window)
            panel = self._panels[index]
            vector = self._panel.layout_extent()
            panel.window_to_layout(vector)
            self._panel = panel
        else:
            self._creat_panel()
        text = u''.join(self._texts)
        mode = u'replace'
    view = self._window.active_view()
    self._panel.set_read_only(False)
    self._panel.run_command(u'stino_panel_write', {u'text': text, u'mode': mode})
    if (not quiet):
        panel_name = (u'output.' + self._name)
        self._window.run_command(u'show_panel', {u'panel': panel_name})
    self._panel.set_read_only(True)
    self._window.focus_view(view)
