[2/3] richedit: Each cell can contain multiple paragraphs in msftedit

Dylan Smith dylan.ah.smith at gmail.com
Thu Aug 7 11:31:41 CDT 2008


Richedit v4.1 implements tables quite differently than previous
versions.  Previous to this version, each table row was a single
paragraph, and cells were separated by tabs.  Richedit v4.1 instead
allows seperate paragraphs for each cell that may wrap, span multiple
lines, and may be split into more paragraphs within the same cell.

There was not enough consensus to distinguish between richedit v4.1 and
v3.0 in the code, but v1.0 can still be emulated in order to access the
old table implementation.  I tried to leave comments containing the
text "v4.1" so that it will be easier to distinguish between the v3.0
and v4.1 later on if this inconsistency with native richedit affects an
application.
---
 dlls/riched20/caret.c   |  151 ++++++++++++--
 dlls/riched20/editor.c  |  235 ++++++++++++++++++--
 dlls/riched20/editor.h  |   10 +-
 dlls/riched20/editstr.h |   55 ++++--
 dlls/riched20/list.c    |   15 ++-
 dlls/riched20/paint.c   |  117 ++++++++---
 dlls/riched20/para.c    |  118 ++++++++++-
 dlls/riched20/rtf.h     |    8 +
 dlls/riched20/run.c     |   10 +-
 dlls/riched20/table.c   |  542 ++++++++++++++++++++++++++++++++++++++---------
 dlls/riched20/undo.c    |   32 +++-
 dlls/riched20/wrap.c    |  129 ++++++++++--
 dlls/riched20/writer.c  |   89 ++++++--
 13 files changed, 1272 insertions(+), 239 deletions(-)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0005-richedit-Each-cell-can-contain-multiple-paragrap.diff.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20080807/fa29759e/attachment-0001.txt 


More information about the wine-patches mailing list