• Matt Finnicum's avatar
    riched20: Rewrite of scrolling and some redrawing code. · abecd9e3
    Matt Finnicum authored
    Replaces duplicated scrolling code with re-usable functions.
    Removes excessive boundary checking on scroll code, since that's done
    in the scrollbar control anyways.
    Properly separates repaint calls based on what has changed.
    Send EN_UPDATE and EN_CHANGE at the right places.
    Only call EnsureVisible on changes, not all repaints.
    abecd9e3
caret.c 33.5 KB