mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-19 00:19:26 +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
|
if Result then
|
||||||
begin
|
begin
|
||||||
FControl.SelStart := Position - Length(SearchTxt);
|
if Down then
|
||||||
|
FControl.SelStart := Position - Length(SearchTxt)
|
||||||
|
else
|
||||||
|
FControl.SelStart := Position - 1;
|
||||||
FControl.SelLength := Length(SearchTxt);
|
FControl.SelLength := Length(SearchTxt);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user