Use setTextCursor() instead sending events
Merge pull request #7 from hluk/master

Use setTextCursor() instead sending events