I agree about the params, but if you want to simply delete the text, there is resetText()