wordpad: Fix behaviour of find/replace dialog.
authorDylan Smith <dylan.ah.smith@gmail.com>
Mon, 19 Jul 2010 22:17:57 +0000 (18:17 -0400)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 20 Jul 2010 11:13:04 +0000 (13:13 +0200)
commit72f735b25e883b2568b4060813b93246df0b8c12
tree8fc2e55150dae057a3d2c7aeb04677dc3fd9c44e
parent117a436bbf562f37ddf7293ce857864f148a820a
wordpad: Fix behaviour of find/replace dialog.

Pressing replace should only replace a selected match, and afterwards it
should find the next match. Searches should always start from the start of
the selection, even if the selection is moved in between searches. Searches
wrap at the end of text, and should keep track of whether it has wrapped
from previous searches to determine if it reached the end position.
programs/wordpad/wordpad.c