Hi,
here's the thing, when i select some unicode character inside a continues Word and color the backgnd of the selection text by somthin like this:
rve.ApplyStyleConversion(TEXT_BACKCOLOR); // TEXT_BACKCOLOR=8
.
.
------------- in OnStyleConversion Event:
case UserData of
TEXT_BACKCOLOR:
FontInfo.BackColor := selbkcol;
the selected characters turn to a separate word and the begin and the end chars of the selection are no longer sticked to the others!
Here is a sample:
if i have a none-sense word like:
شسیبلاتنمک
and if i select 6 chars with start by 2 from right (سیبلات), the selection will be colored but the word will goes like this:
ش سیبلات نمک (but without any spaces)!
what can i do?!
Unicode Font BackGround Color Problem
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact: