[17/17] richedit: Prevent typing at end of table row, except enter which appends a row

Dylan Smith dylan.ah.smith at gmail.com
Fri Aug 15 16:06:29 CDT 2008


This patch attempts to prevent the table being corrupted by typing text
at the end of a table.

This is still incomplete in being consistent with native richedit, but
at least this code should leave the tables in better state, since it is
generally assumed that no text appears in the table row end.

I left FIXME comments where the code is incomplete, and prevented the
incomplete code from being compiled.  I'll finish this when I get back
from my vacation.
---
 dlls/riched20/editor.c |   97 +++++++++++++++++++++++++++++++++++++++++++++++-
 dlls/riched20/editor.h |    1 +
 dlls/riched20/table.c  |   10 +++-
 3 files changed, 104 insertions(+), 4 deletions(-)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0017-richedit-Prevent-typing-at-end-of-table-row-exc.diff.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20080815/1892196e/attachment-0001.txt 


More information about the wine-patches mailing list