Module: wine Branch: master Commit: 46b84aed4a27883984613a6dac7e6f35a2981778 URL: http://source.winehq.org/git/wine.git/?a=commit;h=46b84aed4a27883984613a6dac...
Author: Dylan Smith dylan.ah.smith@gmail.com Date: Wed Aug 12 09:05:46 2009 -0400
richedit: Added function to get selection cursors in order.
Previously the only convenient way to get the start and end of the selection was through offsets, which eventually need to get converted back into items in the linked list storing the text. The new function will help with eliminating these inefficiencies.
---
dlls/riched20/caret.c | 43 ++++++++++++++++++++++++------------------- dlls/riched20/editor.c | 47 ++++++++++++++++++++++------------------------- dlls/riched20/editor.h | 3 ++- dlls/riched20/paint.c | 6 +++--- dlls/riched20/richole.c | 2 +- dlls/riched20/run.c | 4 ++-- dlls/riched20/style.c | 13 ++++++------- dlls/riched20/writer.c | 2 +- 8 files changed, 61 insertions(+), 59 deletions(-)
Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=46b84aed4a27883984613a...