From edce5fa76c86d7fbbf442e123abf6a5a7300aeb6 Mon Sep 17 00:00:00 2001 From: Paul Kulchenko Date: Tue, 31 Mar 2015 15:18:31 -0700 Subject: [PATCH] Added reporting of searched for text (#416). --- src/editor/findreplace.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/src/editor/findreplace.lua b/src/editor/findreplace.lua index 9bd7d168d3..5693fbe83e 100644 --- a/src/editor/findreplace.lua +++ b/src/editor/findreplace.lua @@ -518,6 +518,7 @@ function findReplace:RunInFiles(replace) -- reseditor may already be closed, so check if it's valid first if pcall(function() reseditor:GetId() end) then + reseditor:AppendText(("Searched for '%s'. "):format(findText)) reseditor:AppendText(("Found %d instance(s) on %d line(s) in %d file(s).") :format(self.occurrences, self.lines, self.files)) reseditor:EmptyUndoBuffer() -- don't undo the changes in the results