'Commit any changes that the user has made to files open in editors to
the container. You should call this method before performing any
actions on the current container'

def commit_all_editors_to_container(self):

    changed = False
    with BusyCursor():
        for (name, ed) in editors.iteritems():
            if (not ed.is_synced_to_container):
                self.commit_editor_to_container(name)
                ed.is_synced_to_container = True
                changed = True
    return changed
