Minor code cleanup of editor keyboard shortcut actions.