Community
    • Login

    Find in Files missing results since 7.7

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 266 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • magic144M
      magic144
      last edited by

      Not sure if this is related to:
      https://community.notepad-plus-plus.org/topic/18039/find-in-files-does-not-find-nor-display-umlauts

      However,
      I have just today noticed that when searching ANSI-encoded files for a non-ASCII character, e.g. this ellipsis character ‘…’, Find in Files ONLY seems to operate on the “currently open” files and NOT on the follow-current-doc + subfolders files.

      If I regress to 7.6.6, this behaviour works as desired/expected.

      As a test, I put two files into a directory and opened one of them. F-I-F will always find the ellipsis in the open file (regardless of whether IT is UTF-8 OR ANSI), but if the OTHER file is ANSI-encoded rather than UTF-8, it will NOT be found. If I deliberately encode the other file to be UTF-8, F-I-F will return both results as desired/expected.

      If I open BOTH files in N++, F-I-F finds the character in BOTH, again regardless of encoding of either.

      Hope this is enough info and can be reproduced/fixed!

      1 Reply Last reply Reply Quote 0
      • guy038G
        guy038
        last edited by guy038

        Hello, @magic144, @ekopalypse, @Alan-kilborn, @peterjones and All,

        I’ve just tested with 3 new UTF-8 files and 3 new ANSI files, placed in a new folder and I can confirm what you said, and what @ekopalypse said, in the post you’re refer to :

        When searching for an EXP expression, containing, at least, one Non-ASCII character ( so, with code-point > \x{007f} ), a Find in Files operation, run on a specific folder and, possibly, on all its sub-folders, displays, on the Find Result panel :

        • All UTF-8 encoded file(s), containing the EXP expression, regardless if these files are opened or not, in current Notepad++ session

        • Only ANSI encoded file(s), containing the EXP expression, which are opened in current Notepad++ session


        On the other hand, as you said, @magic144, this issue starts with N++ release v7.7 and does occur with the last v7.8.2 release :-( So, the last release, not producing that issue, is the 7.6.6 N++ version !

        Best Regards,

        guy038

        magic144M 1 Reply Last reply Reply Quote 1
        • magic144M
          magic144 @guy038
          last edited by

          @guy038 Thank you so much for the detail and the confirmation :)

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors