24497 text cmd keys

Proposed partial fix for #24497 - this handles text objects like chord names but not the main score title (that appears to be in 'SimpleText' which needs more investigation).

This appears to have also included my previous fix for the delete key.  I'm not sure if that is correct (I'm just following the steps in the Git Workflow).