mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-21 22:59:27 +02:00
synedit: fixed return value of SearchReplace (bug #8470)
git-svn-id: trunk@10827 -
This commit is contained in:
parent
242078450b
commit
4652c75ba9
@ -9245,6 +9245,7 @@ begin
|
||||
and (ptFoundStart.X >= ptStart.X) and (ptFoundEnd.X <= ptEnd.X)) then
|
||||
begin
|
||||
// pattern found
|
||||
Inc(Result);
|
||||
// Select the text, so the user can see it in the OnReplaceText event
|
||||
// handler or as the search result.
|
||||
BlockBegin := ptFoundStart;
|
||||
|
Loading…
Reference in New Issue
Block a user