- set cursor position correctly in accordance with e->cursorPos(); - cleaning up the InputMethod related code.
- set cursor position correctly in accordance with e->cursorPos();
- cleaning up the InputMethod related code.

svn path=/trunk/kdelibs/kate/; revision=384219

sandsmark/kate,DickJ/kate,hlamer/kate,DickJ/kate,hlamer/kate,hlamer/kate,hlamer/kate,cmacq2/kate,hlamer/kate,DickJ/kate,sandsmark/kate,jfmcarreira/kate,cmacq2/kate,hlamer/kate,DickJ/kate,sandsmark/kate,hlamer/kate,hlamer/kate,hlamer/kate,jfmcarreira/kate,jfmcarreira/kate,sandsmark/kate,cmacq2/kate,hlamer/kate