riched20: Rewrite of scrolling and some redrawing code.
commitabecd9e393925e008449a80ec14682790b29042c
authorMatt Finnicum <mattfinn@gmail.com>
Fri, 8 Sep 2006 21:37:25 +0000 (8 16:37 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 11 Sep 2006 09:29:42 +0000 (11 11:29 +0200)
tree784be053343a545d32a5e2d39ba4dcf76a5ca88a
parent6393fed2d439964b586e5beea18c8b48c250d0c8
riched20: Rewrite of scrolling and some redrawing code.

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.
dlls/riched20/caret.c
dlls/riched20/editor.c
dlls/riched20/editor.h
dlls/riched20/editstr.h
dlls/riched20/paint.c