Capture all the key presses on a editor control.