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
notepad.writeToSearchResults(...).Maybe the ideas in THIS THREAD give a possible approach…
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login