[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:
```c
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.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/267#note_2333
More information about the wine-devel
mailing list