mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-18 18:29:29 +02:00
lcl: fix backward search by TSearchAction by Anton (issue #0017588)
git-svn-id: trunk@27712 -
This commit is contained in:
parent
27e5a6b723
commit
81c0f13c5f
@ -856,7 +856,10 @@ begin
|
||||
|
||||
if Result then
|
||||
begin
|
||||
FControl.SelStart := Position - Length(SearchTxt);
|
||||
if Down then
|
||||
FControl.SelStart := Position - Length(SearchTxt)
|
||||
else
|
||||
FControl.SelStart := Position - 1;
|
||||
FControl.SelLength := Length(SearchTxt);
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user