fixed-wrong-cursor-position

after the code completion of text node of type xml-reference-to-xml,
the cursor postion isn't right after the text, but one more offset.