IDE: find in files: when nothing found report search string not found, for Marc

git-svn-id: trunk@15008 -
This commit is contained in:
mattias 2008-04-29 11:18:59 +00:00
parent 52a6a70e01
commit b09453a22c
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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