That looks interesting, but what about changing EditorManager::CloseAll directly, too? Would it be possible?
Hmm...I just took a look there. My change would work or changing EditorManager::CloseAll would work. You wouldn't need both.
However -- (Thomas, are you there?) -- looking at EditorManager, I see now that
Close All is not functionally identical to
Close Others plus
CloseSpecifically,
Close All will leave Code::Block's "Start Page" open.
Close Others will not. This specific "start page" exception is hard-coded in. It should also be noted Close All will spare the Start Page if it happens to be open, but it will not open the Start Page if it has been closed.
To recap, the behavior of Close All is to leave you looking at either an "empty" editor or the Start Page, depending on whether you have closed the Start page.
Perhaps it should be discussed what the desired behavior is. I'll happily whip up a patch for any scenario, but let's make sure we're all picturing the same scenario.