richedit: Created functions to move between runs and track paragraphs.
commit32dcd3bbe1064b6012fc01541716c88588eaa7bb
authorDylan Smith <dylan.ah.smith@gmail.com>
Wed, 12 Aug 2009 13:06:00 +0000 (12 09:06 -0400)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 12 Aug 2009 15:35:24 +0000 (12 17:35 +0200)
treefe3ff0711106a0440036a9f7c0f0dbea9a7c5568
parent0362b1b0870a212f80489627ea568e8503d28b4e
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
dlls/riched20/editor.c
dlls/riched20/editor.h
dlls/riched20/list.c
dlls/riched20/table.c
dlls/riched20/writer.c