notepad++ python 'find all in current document'
How can I loop through a list of strings and show ‘find all in current document’ for each string in the current open file via python,?
I presume you mean you want to use the PythonScript plugin to write some code to do what you’ve asked.
I also presume that you want the output to appear in the Search results panel, just like it would if you were doing an interactive Find All in Current Document.
It’s a bit of a task because there is no “connection” between PythonScript and writing to the Search results panel, meaning that PS provides no API function call such as
Maybe the ideas in THIS THREAD give a possible approach…