ListMarker and rvbdRightToLeft

General TRichView support forum. Please post your questions here
Post Reply
peke
Posts: 10
Joined: Fri Jan 27, 2006 12:58 pm
Location: Prague - Czech Republic
Contact:

ListMarker and rvbdRightToLeft

Post by peke »

Hi,

numbered list markers do not behave correctly while using rvbdRightToLeft mode. It should use SetTextAlign(.., TA_RTLREADING) in DoPaint method. I've fixed it myself but can you (Sergey) implement it into your source?
Sergey Tkachenko
Site Admin
Posts: 17555
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

What's wrong with markers?
They should be to the right side of the paragraph, if paragraph is RTL.
peke
Posts: 10
Joined: Fri Jan 27, 2006 12:58 pm
Location: Prague - Czech Republic
Contact:

Post by peke »

LTR:

Code: Select all

1.      bla bla
  1.1.  bla bla
RTL, original wrong view:

Code: Select all

alb alb    1.
alb alb  1.1.
RTL, original correct view:

Code: Select all

alb alb    .1
alb alb  .1.1
As you can see the very last point is reversed.
Post Reply