Revision: 7425 Author: ek.kato Date: Mon Jan 23 06:34:32 2012 Log: * qt4/immodule/qtextutils.cpp - (QUimTextUtil::deleteSelectionTextInQTextEdit) : Bug fix.
http://code.google.com/p/uim/source/detail?r=7425 Modified: /branches/1.7/qt4/immodule/qtextutil.cpp ======================================= --- /branches/1.7/qt4/immodule/qtextutil.cpp Wed Jan 11 00:24:17 2012 +++ /branches/1.7/qt4/immodule/qtextutil.cpp Mon Jan 23 06:34:32 2012 @@ -1222,7 +1222,7 @@ return -1; } cursor.setPosition( start ); - cursor.setPosition( end - start + 1, QTextCursor::KeepAnchor ); + cursor.setPosition( end, QTextCursor::KeepAnchor ); edit->setTextCursor( cursor ); cursor.deleteChar();
