Geany (Free/Open Source Software) is a lightweight text editor with some basic IDE features. I use it as my default text editor because I like that it’s so fast (especially the startup and opening big files).
It’s available cross-platform and typically included in distribution’s packages (for example, in Debian).
With Shift + Ctrl + f you can open a search window (sorry, my screenshots are in German):
You can enter a search string ("foo" in the screenshot) and define the path for which folder should be searched ("/home/unor" in the screenshot).
You can enable searching in sub-folders. You can also filter for which file types should be searched. It supports regular expressions and you can enable case sensitivity.
It uses grep for searching. In the last text field you can enter additional arguments for grep.
The search results are shown in a log window at the bottom:
It shows the file name (and relative path), the line number where the string was found and it displays this line. Right-clicking a result allows to copy all these infos into the clipboard. Double-clicking a result opens the document in a tab in Geany.
As you can see in the screenshot, it lists the same document for each line the string was found.