richedit20: Implement EM_FORMATRANGE

Phil Krylov phil at newstar.rinet.ru
Tue Apr 4 09:46:00 CDT 2006


On Tue, 4 Apr 2006 11:46:18 +1000
Troy Rollo <wine at troy.rollo.name> wrote:

> + * *** Notes on tables ***
> + *
> + * The CHARRANGE structure passed in the FORMATRANGE structure is not
> + * sufficient to deal with tables, where we would need information on the
> + * start position for text in each column of the table.
> + *
> + * Testing on Windows NT shows that the Microsoft Rich Edit control gives
> + * pathological results when there are tables in the document - both in edit
> + * mode and for EM_FORMATRANGE. The Microsoft Rich Edit control uses the
> + * table solely as a hint to where the paragraph should start. The table
> + * does not expand to fit its text. Long paragraphs wrap when you hit the
> + * right page margin and continue at the left page margin.

This is only true for RichEdit 2.0 - later versions have better table support,
while our current implementation is approximately at 2.0 level.

-- Ph.



More information about the wine-devel mailing list