trichview.support
Re: About IME in TRichViewEditor... |
Author |
Message |
xcailon |
Posted: 01/12/2003 18:35:02 thanks now i will try to show wrong result and correct result,first use QuanPin IME,the will a input bar has microsoft icon,click the fourth button(have tow interpunction on it) will change interpunction show on this button,this means you can input english interpunction or chinese interpunction after you click this button,when you click to input chinese interpunction and keystroke "," the will show "¡õ¡õ" in richview when you set textstyles's unicode on true£»correct result is use Microsoft Pinyin IME 3.0 to input chinese interpunction. now i have a temporarily resolvent,maybe will give you more clear understand, i modify two file,first in RVEdit.pas i have two global variable KeyPressString: String keyPressFlag:Integer, in KeyPress event i add if(Key>#127)then Begin if(keyPressFlag=0)then begin keyPressFlag:=1; SetLength(KeyPressString, 2); KeyPressString[1] := Key; end else begin KeyPressString[2] := Key; unicodeString:= RVU_KeyToUnicode(KeyPressString); InsertTextW_(unicodeString); keyPressFlag:=0; end; end; in file RVERVData.pas KeyPress event i add if(Key <= #127)then inputTypeKey(Key)(i only rember is input type key) i have test all IME that is ok now,but only for unicode. "Sergey Tkachenko" <svt@trichview.com> wrote: >Since I do not understand Chinese - can you explain: which sequence of steps >leads to wrong result, how wrong result and correct result look like. > >> >> the ZhengMa IME have same problem of chinese interpunction > > > |
Powered by ABC Amber Outlook Express Converter