Command + Delete behavior inconsistent with macOS

When text is highlighted, pressing Command + Delete(Backspace), does not delete the highlighted text, and instead deletes all the test from the highlight start to the beginning of the line, as if there were no highlight. This is inconsistent with how macOS handles this operation.

Steps to reproduce

  1. Type out a string of characters in one line
  2. Highlight the second half of the characters
  3. Press Command + Delete

Expected result

The highlighted characters should be deleted.

Actual result

The first half of characters are deleted.

Environment

  • Operating system: macOS 10.15.7
  • Obsidian version: 0.9.3

I am not a Mac user hit report is puzzling.
If you want to delete something, why don’t you just select and press delete or backspace?
Why do you need Cmd+Delete?

I suppose that this bug report is just highlighting the inconsistency. It’s true, it is different. Even though yes, simply hitting delete would have the desired effect.

Actually the opposite movement, Cmd-fn-Delete deletes the entire row forward, to the end of the line. This is really useful, and doesn’t seem to work in other apps. In other apps, Ctrl-k deletes to the end of the line. Which also works in Obsidian.