[2/3] richedit: Fixed position of runs in some situations during wrapping.

Dylan Smith dylan.ah.smith at gmail.com
Thu Jul 10 09:17:39 CDT 2008


Runs that are skipped over still need to affect the wrapping position,
otherwise they won't affect further run positions.

One situation this can be seen is with a single large character in a
paragraph by itself.  Moving past the character will not seem to affect
the cursor position because the end of paragraph run was not offset by
the character size.

Spaces also need to have their position affect following characters when
enough spaces by themselves cause the line to wrap.
---
 dlls/riched20/wrap.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0002-richedit-Fixed-position-of-runs-in-some-situatio.diff.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20080710/2074c59a/attachment.txt 


More information about the wine-patches mailing list