Add button to select all text in a preformatted block

I just tried using Firefox latest desktop and triple clicking does just that.