Unified event handler for Ctrl/Cmd+Enter inside the Command Editor
(related to issue 7081)