Move cursor to the correct position after inserting right part

After inserting the right part of the wrapper, the cursor should move as many chars as has been inserted, not just 1.

This is a fix for issue #15 when the wrapper consists of multiple chars like ``hello'' in latex.