How can I set the cursor at end of the content when clicking a view? Thanks! Now will put the cursor at the position that clicked, which is weird.