Community
    • Login
    1. Home
    2. Popular
    Log in to post
    • All Time
    • Day
    • Week
    • Month
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics

    • All categories
    • P

      When finding in files is it possible to show more than one line?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      10
      0 Votes
      10 Posts
      337 Views
      PeterJonesP
      So if I search using (?=.*Error)(?=.*Foobar1)(?=.*Foobar2) With regular expression and newline checked. I do see it boil down to the files I am interested in. My only other need is to see all the lines associated/contained with the AND. … The first table in the FAQ is just showing the logic for matching all of those terms. Later down in the FAQ, there is another table which explains how to find the exact line that matches all of those terms. In your case, the AND would be (?-s)(?:(?=.*Error)(?=.*Foobar1)(?=.*Foobar2))^.*(?:\R|\z) [image: 1787010625218-59c19de8-1eb3-41e3-9fd1-14abdcb43053-image.jpeg] or, using the Find Results via Find All in Current Document: [image: 1787010757984-6f1d47c5-0787-4257-91c0-22189e1d79fc-image.jpeg] dummy example file to show it working: Blah Error Blah Foobar1 blah Foobar2 Blah Warning blah Football1 blah Football2 Blah Foobar2 blah Foobar1 blah Error order doesn't matter Blah Error blah Foobar1 blah Footbark2 won't match because it doesn't have all three
    • Afik GilboaA

      nppftp and and windows 11

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      8
      0 Votes
      8 Posts
      373 Views
      PeterJonesP
      i check both the shortcut and the actual file, and both of them have the “run as administrator” unchecked. so any ideas why it keeps opening in admin mode? No immediate idea. But some questions: How do you normally run Notepad++? With a shortcut on the Desktop? With a shortcut on the toolbar? With the start menu? Or running notepad++.exe by double-clicking the executable? Or by double-clicking a file that is associated with Notepad++? Do they all open it in Admin mode, or just some (and which does which, obviously) inside AppData i have only 3 folders: local, locallow, and roaming When I say %AppData%\Notepad++, I mean that you can paste that directly into the path bar of your Explorer window, and the Windows OS will take you to that location: it knows what is meant by %AppData%, even when you don’t. We’ve got a FAQ: What is %AppData% to help you understand what that really means. If you use the variable %AppData%, it will automatically expand into the C:\users\username\AppData\Roaming or whatever path is appropriate for your computer – there are lots of ways to customize it, and it should be safer to tell a user to use %AppData%\Notepad++ rather than trying to guess that their system is set up exactly as I expect it, so it will probably resolve to C:\users\username\AppData\Roaming\Notepad++, but might not. Unfortunately, while that should be safe to use a variable that has held that meaning for decades, and while general Windows computer experience should have taught users what %AppData% actually means, not everyone does. I should have linked to the FAQ earlier. After reading the FAQ, please try to follow the directions again, this time understanding what I (and the operating system) mean by %AppData% , to find the actual %AppData%\Notepad++\plugins\config directory, confirm that NppFTP exists as a subdirectory, and confirming the permissions that I have requested you to check.