• Dylan Smith's avatar
    richedit: Prevent redundant rewraps when scrollbar is shown. · 6df4148b
    Dylan Smith authored
    A common case for richedit controls are that a large amount of text is
    set initially with word wrap enabled.  This causes the initially
    wrapping of the text, which also calculates the text length.  After
    this the vertical scrollbar will be shown, which causes the text to be
    rewrapped again.  After this there are two redundant rewraps that are
    done which this patch eliminates.
    6df4148b
paint.c 40.9 KB