Hi Scoot and All,
Scott, sorry for this late reply !
So, I’ve just did a test, again, with the last N++ version ( v6.9.2 ) with the simple following macro, which searches for the exact case of the article the, in all the opened files, of your current N++ session :
<Macro name="Test" Ctrl="no" Alt="no" Shift="no" Key="0">
<Action type="3" message="1700" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1601" wParam="0" lParam="0" sParam="the" />
<Action type="3" message="1625" wParam="0" lParam="0" sParam="" />
<Action type="3" message="1702" wParam="0" lParam="2" sParam="" />
<Action type="3" message="1701" wParam="0" lParam="1636" sParam="" />
</Macro>
This macro is automatically inserted in the <Macros> node :
The first line, defines the name of the macro and its possible shortcut
The second line initializes the search process
The third line defines the string to search : the word the
The 4th line selects the search mode : the digit 0, in lParam, meaning normal search
The 5th line defines the search options : the digit 2 means Match case
The final 6th line defines the search type : the number 1636 stands for a search in all opened documents
Refer to the link below, for further information :
http://docs.notepad-plus-plus.org/index.php/Editing_Configuration_Files#Search_.2F_Replace_encoding
Remark : The action of the flag value 512, when message = “1702”, is wrong ! The correct action is Search goes downwards :-))
So, if you run this form of the macro Test, you get the right result : the Find result panel, with all the occurrences found in all the files opened
Unfortunately, if you create a macro, in order to search in current document only, or if you change the number 1636 with the number 1641( flag value for search in current document ), in the shortcuts.xml file, with an OTHER editor than N++, when any instance of N++ is closed, the Find result panel does NOT opened, as it should, when running the macro :-(((
This bug is still there ! As a work-around, if numerous files are opened, in your session, you may :
Close most of them, not concerned with the search
Perform the above macro, which searches on all opened files
Click, on the menu option File - Opened All Recent Files
Best Regards
guy038
P.S. :
Oh, I forget to tell you that my technical configuration is, simply, a Windows XP SP3 system, on a NEC Versa M350 laptop :-((