richedit: Use ME_MoveCursorChars in ME_FindText to find relative offset.
commit989bdd15794b5a7b894ab8d9176398c087aea938
authorDylan Smith <dylan.ah.smith@gmail.com>
Thu, 13 Aug 2009 12:44:27 +0000 (13 08:44 -0400)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 13 Aug 2009 13:35:37 +0000 (13 15:35 +0200)
tree3f461d8979ca2b3ba1f93e41f9933dd04498119e
parent54b53b6018da93cf82a4ee60ae5a4d3357cd7cfc
richedit: Use ME_MoveCursorChars in ME_FindText to find relative offset.

When a previous character needed to be found, it is simpler to move
existing cursor rather than retravese the linked list to find the offset
again.
dlls/riched20/editor.c