navilera/NavilIME

Text has been inserted as opposite in Wordpad

Closed this issue · 1 comments

The text string has been inserted as opposite when I use Wordpad like following:

I want to input this text : "동해물과 백두산이"
but Wordpad shows following result:
" 이산두백과물해동"

The new text was inserted at front of current text. It should be at next of current text.

Root cause

I am not sure what is root cause but I am assuming that TSF doesn't set up a interim property to false when IME calls EndComposition.

Solution

Configure the tsfSelection which is retrieved from current composition. An interim property turns to back to false before then call EndComposition