Set input caret position

Hello there

Following another discussion from this topic involving @jdtokyo , I think it would be nice to have a public method for this :slight_smile: