Have Shift-Home and Shift-End select current line

Please change the behavior of Shift-Home and Shift-End to select to the beginning and end of the current line.

Currently those combinations instead select to the beginning and end of the entire document, and I can't even think of a reason why this would be useful.

Current behavior observed on:
OS: Mac 11.4
Arduino IDE version: 1.8.15

I think this is limited to Mac, as it works as I expect in my Windows VM.