This method is called when the save menu-item of the file-menu menu is selected. If file-menu:save is bound to #f instead of a procedure, the save menu item will not be created.
Saves the file in the editor.