It is very common that the delete menu item has the key equivalents of both forward delete and backward delete (backspace) if an item is selected. An example is Mail when a message is selected (one can even press cmd in combination with any of these keys to get the same effect).
How can I achieve the same thing?
If I implement ‘delete:’ it will not be executed unless I explicitly set the delete item to a key equivalent, despite both delete keys seem to be hard-wired for text editing. If I have a table row selected, I want both forward delete and backward delete (backspace) to delete the row. (But if a cell is being edited I will of course not want to delete the entire row; this could be checked by the method ‘isEditing’.)