Programatically select all text in a sp-textarea

It appears the <sp-textarea> element neither has the select() nor the setSelectionRange() method. This makes it impossible to programatically select text.

The simple <textarea> does have these methods, but it doesn’t fit the UI that well.