Hmm, that's disappointing. We're using the Ace code editor there, which I'd hope would work better than that. It's not like iPad is an obscure platform.
It's possible there have been fixes since we last updated our cope of Ace, though. I'll look into that. I'd much rather fix the selection problem than add a Clear button just to deal with this case.