20 Jun
2022
20 Jun
'22
7:34 a.m.
`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