Idea – Dual/Multi Keyword Search In Text Editors?

The idea is simple. Could we implement a dual or multi keyword search syntax for ordinary search tasks in our text editors. I don’t know the best definition for such a keyword search but I can try. As far as I know you can now search for two keywords if you know what keyword comes after the first and if the editor has a search direction. My idea goes as follows. For a user defined number of rows find that area of rows that contains all the keywords and highlight them. I think the number of rows is often just one line.

So searching for the padding in some .css file becomes (10 row area).

Here the search failed for the exact string “main menu padding 10” so it continued with multi search.