Cursor position in text field

if you still need it, found something