Community
    • Login

    Double-clicking inside find results doesn't move focus to the line found, unless it's in the same file that has the focus inside Notepad++

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 1.3k 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.
    • Sandor TeglasyS
      Sandor Teglasy
      last edited by

      [Feature request]

      Scenario:

      1. Have multiple files open.
      2. Use “Find All in All Opened Documents”
      3. You have results from more than one file.

      If I click on a hit, that is in the file that has the current focus, then it shows the hit inside the document in the upper pane.
      If the file in question is NOT having the focus, but it’s open inside Notepad++, I would like that the focus shifts to that document AND the line found.
      If the file in question is NOT open inside Notepad++ I would like the same behavior plus that Notepad++ tries to re-open that file. However I also do so that this could be a problem if the file has been moved/renamed/deleted since the search operation (nonetheless it should be relatively easy to be handled as an error and the user could be informed about that).

      My config is as shown below.

      Notepad++ v7.5.8 (32-bit)
      Build time : Jul 23 2018 - 02:03:53
      Path : C:\Program Files (x86)\Notepad++\notepad++.exe
      Admin mode : OFF
      Local Conf mode : OFF
      OS : Windows 10 (64-bit)
      Plugins : AnalysePlugin.dll BracketsCheck.dll FingerText.dll JSMinNPP.dll NppBookmarkManager.dll NPPJSONViewer.dll PluginManager.dll PythonScript.dll XMLTools.dll DSpellCheck.dll mimeTools.dll NppConverter.dll NppExport.dll

      1 Reply Last reply Reply Quote 0
      • Vitaliy DovganV
        Vitaliy Dovgan
        last edited by

        It already works like you described in your feature request.
        I can only assume that double-clicking the find results may not work properly when you are working with remote files (e.g. via network, mapped network drive, FTP etc.) and there’s something wrong with getting the proper file path.

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