mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-14 10:59:14 +02:00
IDE: find in files: when nothing found report search string not found, for Marc
git-svn-id: trunk@15008 -
This commit is contained in:
parent
52a6a70e01
commit
b09453a22c
@ -718,7 +718,7 @@ begin
|
|||||||
if fSearchProject or fSearchOpen then
|
if fSearchProject or fSearchOpen then
|
||||||
DoFindInSearchList;
|
DoFindInSearchList;
|
||||||
if Assigned(fResultsList) and (fResultsList.Count = 0) then
|
if Assigned(fResultsList) and (fResultsList.Count = 0) then
|
||||||
fResultsList.Add(lisFileNotFound);
|
fResultsList.Add(Format(lisUESearchStringNotFound,[dbgstr(fSearchFor)]));
|
||||||
finally
|
finally
|
||||||
if fResultsListUpdating then begin
|
if fResultsListUpdating then begin
|
||||||
fResultsListUpdating:=false;
|
fResultsListUpdating:=false;
|
||||||
|
@ -1337,7 +1337,7 @@ begin
|
|||||||
and (OldCaretXY.Y=EditorComponent.CaretY)
|
and (OldCaretXY.Y=EditorComponent.CaretY)
|
||||||
and not (ssoReplaceAll in LazFindReplaceDialog.Options) then begin
|
and not (ssoReplaceAll in LazFindReplaceDialog.Options) then begin
|
||||||
ACaption:=lisUENotFound;
|
ACaption:=lisUENotFound;
|
||||||
AText:=Format(lisUESearchStringNotFound, [LazFindReplaceDialog.FindText]);
|
AText:=Format(lisUESearchStringNotFound, [dbgstr(LazFindReplaceDialog.FindText)]);
|
||||||
MessageDlg(ACaption,AText,mtInformation,[mbOk],0);
|
MessageDlg(ACaption,AText,mtInformation,[mbOk],0);
|
||||||
TSourceNotebook(Owner).DeleteLastJumpPointClicked(Self);
|
TSourceNotebook(Owner).DeleteLastJumpPointClicked(Self);
|
||||||
end else begin
|
end else begin
|
||||||
|
Loading…
Reference in New Issue
Block a user