Notepad ++ Macro to Incrementally Search Files for Items from a List
I would like a Macro that incrementally searches a set of files for each
item in a list. I've run into the problem that the search field in NPP's
Find-in-Files dialog box appears to remain static: The Find-in-Files
command automatically uses the text that is selected as the "Find what."
The macro will select the next item in the list each time but the
Find-in-files dialog box always uses the text that the macro was created
with. I have tried putting using copy and paste instead of relying on
automatic use of selected text - no affect.
Also, the behavior of the search function is different for found (closes
search dialog box and goes to search results box) or not found ("close"
button is active in search dialog box). I don't know how to handle this in
the macro.
ref: Can I make a macro in n++ that does a search/replace?
No comments:
Post a Comment