Strange problem with text editing

Hi, I have a strange problem with my file.

Look at the pic: it appears that the cursor is shown in a different position than where it is working.

I don’t know if it is caused by some setting I did or it is a bug.

Can you help me to solve?

Thank you!