What does it mean to be an editor?

Recently I've been thinking more and more about what it means to be an editor in today's spell-check/self-published world. Are editors (copyeditors, developmental editors, commissioning editors) no longer in any demand, since (with minimal technological know-how, i.e. knowing how to simply press the F7 key on your keyboard when in Microsoft Word) almost anyone can "edit" and …