'Close the editor that is editing the file specified by ``name``'

def close_editor(self, name):

    editor = editors.pop(name)
    self.gui.central.close_editor(editor)
    editor.break_cycles()
    if ((not editors) or (getattr(self.gui.central.current_editor, u'syntax', None) != u'html')):
        self.gui.preview.clear()
        self.gui.live_css.clear()
