[PATCH v2 0/1] MR267: riched20: Commit and repaint after changing TextFont properties. (#53170)
Huw Davies (@huw)
wine at gitlab.winehq.org
Mon Jun 20 02:34:49 CDT 2022
`ME_UpdateRepaint()` is supposed to be called when contents changes, not the formatting. Something like this:
ME_WrapMarkedParagraphs( services->editor );
ME_UpdateScrollBar( services->editor );
is more appropriate here.
(Yes, the repaint logic is a mess).
This also applies to MR 268. FWIW, it would be easier from a reviewer standpoint if these two MRs were merged into one MR containing two commits.
More information about the wine-devel