Dylan Smith : richedit: Created functions to move between runs and track paragraphs.
Alexandre Julliard
julliard at winehq.org
Wed Aug 12 11:10:37 CDT 2009
Module: wine
Branch: master
Commit: 32dcd3bbe1064b6012fc01541716c88588eaa7bb
URL: http://source.winehq.org/git/wine.git/?a=commit;h=32dcd3bbe1064b6012fc01541716c88588eaa7bb
Author: Dylan Smith <dylan.ah.smith at gmail.com>
Date: Wed Aug 12 09:06:00 2009 -0400
richedit: Created functions to move between runs and track paragraphs.
Plenty of places in the code find following or preceding runs, then
afterwards find the paragraph from the run. This is inefficient because
the same linked list is used for both runs and paragraphs, so changes in
paragraphs can be detected while returning the next or previous run.
---
dlls/riched20/caret.c | 35 +++++++++++++++++++----------------
dlls/riched20/editor.c | 21 ++++++++-------------
dlls/riched20/editor.h | 2 ++
dlls/riched20/list.c | 41 +++++++++++++++++++++++++++++++++++++++++
dlls/riched20/table.c | 11 ++++++++---
dlls/riched20/writer.c | 2 +-
6 files changed, 79 insertions(+), 33 deletions(-)
Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=32dcd3bbe1064b6012fc01541716c88588eaa7bb
More information about the wine-cvs
mailing list