mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-13 12:59:19 +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
|
||||
DoFindInSearchList;
|
||||
if Assigned(fResultsList) and (fResultsList.Count = 0) then
|
||||
fResultsList.Add(lisFileNotFound);
|
||||
fResultsList.Add(Format(lisUESearchStringNotFound,[dbgstr(fSearchFor)]));
|
||||
finally
|
||||
if fResultsListUpdating then begin
|
||||
fResultsListUpdating:=false;
|
||||
|
@ -1337,7 +1337,7 @@ begin
|
||||
and (OldCaretXY.Y=EditorComponent.CaretY)
|
||||
and not (ssoReplaceAll in LazFindReplaceDialog.Options) then begin
|
||||
ACaption:=lisUENotFound;
|
||||
AText:=Format(lisUESearchStringNotFound, [LazFindReplaceDialog.FindText]);
|
||||
AText:=Format(lisUESearchStringNotFound, [dbgstr(LazFindReplaceDialog.FindText)]);
|
||||
MessageDlg(ACaption,AText,mtInformation,[mbOk],0);
|
||||
TSourceNotebook(Owner).DeleteLastJumpPointClicked(Self);
|
||||
end else begin
|
||||
|
Loading…
Reference in New Issue
Block a user