Unicode Typing Problem

General TRichView support forum. Please post your questions here
Post Reply
viperpix
Posts: 39
Joined: Sat Jan 15, 2011 9:38 am

Unicode Typing Problem

Post by viperpix »

hi,
i think the RVE is not a good fan of unicode texts, while im typing its ok, but when im trying to insert a text in middle of a line, the caret position is not actually correct and my text will type somewhere else! this will appears on many faces like misspell-under line position and...
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Do you enter a text like Chinese using IME editor?
In this case, text is composed in IME window before inserting it in TRichViewEdit, and the text is not inserted and the caret is not moved until the composition is finished.
viperpix
Posts: 39
Joined: Sat Jan 15, 2011 9:38 am

Post by viperpix »

no, something like arabic characters, and i bet that it has something t do with word wrap! im just typing inside the rve, and when it wraps, the text splits for example in 2 lines, and when i click in middle of 1st line and type, the input chars are inserted for example in 2 chrs before the current caret pos !
viperpix
Posts: 39
Joined: Sat Jan 15, 2011 9:38 am

Post by viperpix »

dunno! sometimes it should be more than 2 lines, and by switching in lines and inserting, its gonna happen! and after deleting some words, its get worse!
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Did you set RichViewEdit.BiDiMode = rvbdRightToLeft or rvbdLeftToRight?
With the default settings (BiDiMode = rvbdUnspecified), RTL text is not supported.
viperpix
Posts: 39
Joined: Sat Jan 15, 2011 9:38 am

Post by viperpix »

i've set the bidimode to righttoleft and also ParaInfo.Alignment := rvaRight
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Can you send me to email (richview - gmail - com) step-by-step instructions (may be with screenshots) to reproduce the problem?
viperpix
Posts: 39
Joined: Sat Jan 15, 2011 9:38 am

Post by viperpix »

i've sent the email to you, its very nice of you to answer to every post! :)
tnx
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

I still not received...
viperpix
Posts: 39
Joined: Sat Jan 15, 2011 9:38 am

resend

Post by viperpix »

sorry i was busy and couldnt get online!
i dont know why it didnt received! but i resend it..
Post Reply