-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Description
Description of the Issue
A search, using the Find in these found results... option, does not match anything if a Find All in Current Document was performed on the non-saved file new 1, exclusively !
Steps to Reproduce the Issue
-
Start Notepad++
-
Click
3times on theCtrl + Nshortcut => The3tabsnew 1,new 2andnew 3appear -
Open the well-known file
License.txt -
Copy all its contents and paste it into each non-saved file
-
Select the
new 3file, first -
Open the Find dialog (
Ctrl + F) -
SEARCH
your -
Tick the two options
Match whole word onlyandWrap around, only -
Select the
Normalsearch mode -
Click on the
Find All in Current Documentbutton
=> The Find result appears with the message Search "your" (14 hits in 1 file of 1 searched)
-
Right-click in the
Find resultpanel -
Select the
Find in these found results...option -
SEARCH
that -
Tick the two options
Search only in found linesandMatch whole word only -
Select the
Normalsearch mode -
Click on the
Find Allbutton
=> A second Find result panel appears with the message Search "that" (6 hits in 1 file of 1 searched) - Line Filter Mode: only display the filtered results ( OK )
-
Click on the
Xbutton to close the second Find result panel -
Right-click in the main
Find resultpanel -
Select the
Clear Alloption to get an empty panel
- Select the
new 2file and repeat the steps7.to15.
=> Again, you correctly get the message Search "that" (6 hits in 1 file of 1 searched) - Line Filter Mode: only display the filtered results
- Select the
new 1file and repeat the steps7.to15.
Actual Behavior
=> This time, the search in Find in these found results... panel does not match anything and you get the message Search "that" (0 hits in 0 files of 1 searched) - Line Filter Mode: only display the filtered results
Any other search, from the main Find result panel, relative to new 1 file, exclusively , with the Find in these found results... option, wil not output any match, leading to the message Search "....." (0 hits in 0 files of 1 searched) - Line Filter Mode: only display the filtered results, whatever the string searched !
Expected Behavior
The results, involving the new 1 file, should be identical to the other non-saved files new 2 and new 3, as these files contain, all, the same copy of the License.txt file !
Debug Information
Notepad++ v7.9.1 (32-bit)
Build time : Oct 27 2020 - 16:07:12
Path : D:@@\791\notepad++.exe
Admin mode : OFF
Local Conf mode : ON
OS Name : Microsoft Windows XP (32-bit)
OS Build : 2600.0
Current ANSI codepage : 1252
Plugins : mimeTools.dll NppConverter.dll NppExport.dll
Best Regards
guy038