Fix kate inputMethod query for Qt:ImCursorPosition and Qt:ImAnchorPosition

Review Request #104788 - Created April 30, 2012 and submitted

Information
Xuetian Weng
kate
master
Reviewers
kate
Current kate implementation for Qt:ImCursorPosition and Qt:ImAnchorPosition is not correct. 
Qt:ImCursorPosition should always return the correct position of cursor position of Qt::ImSurroundingText.
Qt:ImAnchorPosition should return the anchorPosition of selection, when in different line of cursor or there is no selection, return the same position of cursor.
Test with Fcitx (An input method framework) + M17N th-tis820, ok.
Xuetian Weng
Xuetian Weng
Erlend Hamberg
Commit Hook
Commit Hook
Commit Hook
This review has been submitted with commit c551d6c4978f4063a5031df0cec8435028416438 by Weng Xuetian to branch KDE/4.9.
Xuetian Weng
Review request changed

Status: Closed (submitted)

Loading...