How do I highlight / select all text inside cc.EditBox?

I want to highlight / select all text on click or focus, but can’t seem to find any functions on the component and it does not have any children.

I’m looking for the same thing, I’ll let you know if I find it.