Page 1 of 1

Unicode Typing Problem

Posted: Thu Feb 10, 2011 8:30 am
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...

Posted: Thu Feb 10, 2011 9:08 am
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.

Posted: Thu Feb 10, 2011 9:30 am
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 !

Posted: Thu Feb 10, 2011 9:40 am
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!

Posted: Thu Feb 10, 2011 9:42 am
by Sergey Tkachenko
Did you set RichViewEdit.BiDiMode = rvbdRightToLeft or rvbdLeftToRight?
With the default settings (BiDiMode = rvbdUnspecified), RTL text is not supported.

Posted: Thu Feb 10, 2011 9:45 am
by viperpix
i've set the bidimode to righttoleft and also ParaInfo.Alignment := rvaRight

Posted: Thu Feb 10, 2011 9:56 am
by Sergey Tkachenko
Can you send me to email (richview - gmail - com) step-by-step instructions (may be with screenshots) to reproduce the problem?

Posted: Thu Feb 10, 2011 10:12 am
by viperpix
i've sent the email to you, its very nice of you to answer to every post! :)
tnx

Posted: Thu Feb 10, 2011 12:23 pm
by Sergey Tkachenko
I still not received...

resend

Posted: Sat Feb 12, 2011 5:16 am
by viperpix
sorry i was busy and couldnt get online!
i dont know why it didnt received! but i resend it..