In the last month of cutting edge releases a bug with closing edit tabs has appeared and disappeared several times. When a edit tab is closed with cmd + w the next edit tab should be selected. Instead the font tab is. This is especially annoying because if I try to rapidly close multiple tabs I end up closing the file. This bug exists in the latest version, 926.
That is a requested feature. Closing a tab will go to the previously active one. And that is mostly the font tab.
To close all tabs except the current one, Opt-click the tab’s close button.