Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find-in-Finder produces hit when it shouldn't when searching in previously found lines #8435

Closed
sasumner opened this issue Jun 18, 2020 · 0 comments
Labels

Comments

@sasumner
Copy link
Contributor

Description of the Issue

Steps to Reproduce the Issue

  1. Create some text in a new Notepad++ tab:
Jack and Jill
Went up the hill
To fetch a pail of water
Jack fell down
And broke his crown,
And Jill came tumbling after.
  1. Do a Ctrl+S and give that file a name in the file system (IMPORTANT! Do not continue these steps with an "unnamed" file, e.g. "new 1"):
    image

  2. Initiate a Find by pressing Ctrl+f and fill out the search this way:
    image

  3. Conduct the search by pressing the Find All in Current Document button

  4. Observe the following result:
    image

  5. Right-click in the Find result window to obtain:
    image

  6. Select Find in these found results...

  7. Fill out the resulting window this way:
    image

  8. Press the Find All button in the Find in found results window

  9. Observe:
    image

Expected Behavior

I expect Notepad++ to indicate that no hits occurred because I told it to Search only in found lines. Because fetch doesn't occur in any of the previously found lines, it should result in a decision of "0 hits".

Actual Behavior

Notepad++ displays "1 hit" but does not show that single hit, so I don't really know what it is thinking. :-)

Debug Information

Notepad++ v7.8.7 (32-bit)
Build time : Jun 5 2020 - 02:34:28
Path : C:\...........\npp.7.8.7.bin\notepad++.exe
Admin mode : OFF
Local Conf mode : ON
OS Name : Windows 10 Enterprise (64-bit)
OS Version : 1809
OS Build : 17763.1039
Current ANSI codepage : 1252
Plugins : mimeTools.dll NppConverter.dll NppExport.dll

@sasumner sasumner added enhancement Proposed enhancements of existing features and removed enhancement Proposed enhancements of existing features labels Jun 18, 2020
@sasumner sasumner added the bug label Jun 23, 2020
@donho donho closed this as completed in a74877f Aug 10, 2020
alef162 pushed a commit to alef162/notepad-plus-plus that referenced this issue Oct 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant