Module: wine Branch: master Commit: abecd9e393925e008449a80ec14682790b29042c URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=abecd9e393925e008449a80e...
Author: Matt Finnicum mattfinn@gmail.com Date: Fri Sep 8 16:37:25 2006 -0500
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 | 12 +-- dlls/riched20/editor.c | 178 +++++++++++----------------------------- dlls/riched20/editor.h | 14 ++- dlls/riched20/editstr.h | 2 dlls/riched20/paint.c | 208 ++++++++++++++++++++++++++--------------------- 5 files changed, 181 insertions(+), 233 deletions(-)
Diff: http://source.winehq.org/git/?p=wine.git;a=commitdiff;h=abecd9e393925e008449...