Minor code cleanup of editor keyboard shortcut actions.

Signed-off-by: redwallhp <matt@ntugo.com>
Merge pull request #2020 from redwallhp/master

Minor code cleanup of editor keyboard shortcut actions.