cmd+a will only be turned off when code view is up