richedit: Added function to get selection cursors in order.
commit46b84aed4a27883984613a6dac7e6f35a2981778
authorDylan Smith <dylan.ah.smith@gmail.com>
Wed, 12 Aug 2009 13:05:46 +0000 (12 09:05 -0400)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 12 Aug 2009 15:29:30 +0000 (12 17:29 +0200)
tree71634cc9f0e9a2b23f2745ac133493af8689133c
parentbe0fb1ef5dfcf3031e4b230523f8288ecc6d215c
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
dlls/riched20/editor.c
dlls/riched20/editor.h
dlls/riched20/paint.c
dlls/riched20/richole.c
dlls/riched20/run.c
dlls/riched20/style.c
dlls/riched20/writer.c