Try to format whole document if no selection