Cursor keeps jumping

When you start typing native query in the sql text editor, then you insert or delete any letter between two letters, the cursor alway jump to the end of text area