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
    • M Andre Z EckenrodeM

      Search++ (\W)'(\w) regex replace failure

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      41
      0 Votes
      41 Posts
      2k Views
      M Andre Z EckenrodeM
      Thank you, @Coises, and best wishes for a long-term solution.
    • J

      Notepad++.exe blocked from Right-click edit - txt, m3u etc.

      Watching Ignoring Scheduled Pinned Locked Moved Security
      9
      1 Votes
      9 Posts
      127 Views
      PeterJonesP
      @J-Mark-Barfield , that was not a “regedit”, that was a normal command-line command all those two commands did was run an instance of notepad++.exe without RunAsAdmin privileges, even before you made the change to the executable compatibility settings it was completely unnecessary all you had to do was exit Notepad++ application completely (so it wasn’t running), then do the steps I explained to get notepad++.exe to not run as admin, and then the next time you ran Notepad++ (either using your shortcut or double clicking on the exe or running the exe from the command line normally or double clicking on a text file or right clicking and choosing Edit with Notepad++) would have run Notepad++ not as admin if you didn’t exit Notepad++ first, then the still running Notepad++ instance would still be running as Admin. Changing the exe properties while the exe is running doesn’t magically drop the running Notepad++ out of Admin mode. And thus your right click would not have worked, because the running Notepad++ was still in Admin mode. all you did by doing those extra commands was close the Notepad++ that was running as admin open a new instance that wasn’t running as admin change the exe properties so that it wouldn’t run as admin next time (I understand that you got it working, so you don’t really care at this point. But I don’t want future people to read this discussion, and come to the wrong conclusion that they need to do your extra steps. Those steps were completely unnecessary.)
    • PeterJonesP

      [BETA] Upcoming Plugin: HiddenLexers

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      15
      1
      2 Votes
      15 Posts
      735 Views
      PeterJonesP
      Since it’s essentially working at this point, I’ve renamed the Topic to “BETA” @mpheath , I have updated the README at https://github.com/pryrt/NppPlugin-HiddenLexers to enumerate available options I think I’ll be patient, and give the beta test a while longer, so won’t try to rush to release it before N++ v8.9.8’s PluginsAdmin list is finalized.
    • donhoD

      Notepad++ release 8.9.7

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      10
      2 Votes
      10 Posts
      8k Views
      PeterJonesP
      @Dario-Ampuy said: Hello, i found an issue with the latest update, since then the working folder doesn’t expand. i tried to remove it and add it again with the same result, used local and network drives with the same result. downgraded until a fix is released. thank you If I understood you correctly, you are talking about the “Folder as Workspace” feature, right? If so, that was reported multiple times in this forum and in the main issues (like #18226 and #18248), and is caused if you have symbolic links in your directories. Unfortunately, when I look through the fixes in v8.9.8 Release Candidate, or look at the still-open issues, I am not sure that a fix for that problem made it into v8.9.8. That is rather unfortunate, as it was a major complaint with v8.9.7.
    • F

      Compare Plus (and Compare) plugins hanging

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      251 Views
      F
      @PeterJones said: You also mentioned “uninstalling the plugins and reinstalling them” – that sounds like you have both plugins installed at the same time. I highly doubt that it’s a good idea to have both Compare and ComparePlus installed on the same instance. Sorry, I only have Compare Plus installed now - so I tried uninstalling and re-installing it to see if it was fixed. Both are not installed. As far as I can tell, neither Compare nor ComparePlus has a “cancel” action. They have a “Clear Active Compare” action. Are you saying that you hit that “Clear Active Compare” button while it’s still working on making the comparison, to stop it in the middle? Or do you just mean that you are clearing the comparison once it’s done? I am hitting this cancel button to stop it in the middle of working; [image: 1786224004669-97162e74-5601-4918-b18e-1dfa20830fa5-image.jpeg] But with normal usage (telling it to compare, looking at the results, clearing the active compare), I have never gotten to the point that the plugin just hangs indefinitely. If you have a pair of files (with no private information) that you can get to cause the hang reliably, and can explain, in detail, the procedure that you use to cause the freeze, then I would recommend that you create an issue at the plugin’s GitHub repo so that you can let @pnedev know about the problem. I will do this - although I suspect it will not reproduce since these same files worked at first for me too. Thank you…
    • G

      Folder as Workspace not listing full content of folder (v8.9.7)

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · · faw
      3
      1 Votes
      3 Posts
      188 Views
      G
      @PeterJones Okay, yes, there are several subdir in that folder that are links (issue #18248). Actually, the first subdir is a plain one and is displayed whereas the second one is a link and is not displayed while preventing the display of the remaining data. I’ll give the RC a try. Thanks again.
    • P

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

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      2
      0 Votes
      2 Posts
      29 Views
      PeterJonesP
      @petey200 , The Search Results panel is designed to only show one line per match (even if you do a search expression that matches text that crosses over lines, it will only show the first line of the match). There isn’t a way to increase context. Support for multiple keywords would be an additional plus. The existing regular expression (regex) feature already handles that. Find What = \b(George|Gracie|whale)\b the \b matches “word boundary” so it would match George but not Georgene, etc. the (...) makes a group - without this logical group, the \b would have to be repeated at the beginning and end of each word, like \bGeorge\b|\bGracie\b|\bwhale\b the | means “OR” translated to english, this Find What means “match a boundary, then George or Gracie or whale, then another boundary” Match Case = off Search Mode = Regular Expression . matches newline = off [image: 1786722146144-7274a6f0-798a-4c00-9466-d487a784e5af-image.jpeg] – From our FAQ section, the Generic Regular Expression formula FAQ links to a post Generic Regex: Logic Gates for Regular Expressions which explains how to match lines with AND, OR, Exclusive-OR, and similar logical constructs.
    • P

      Remove lines starting by...

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      93 Views
      PeterJonesP
      @Passant-Delarue , Initial guess: turn off “. matches newline”, otherwise your .* will greedily match the whole file.
    • Afik GilboaA

      nppftp and and windows 11

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      4
      0 Votes
      4 Posts
      197 Views
      PeterJonesP
      @PeterJones by reset itself i mean only the plugin and i mean it revert back to the state it was when i first installed it meaning no profiles, and everything else i changed also reset. simply a TOTAL reset of the plugin. That sounds like it’s not saving its config files correctly… and here is the debug info: … Admin mode: ON So this might be one thing: if you sometimes run as Admin and sometimes as normal user, config files can get their permissions messed up, which might be a culprit. In modern Notepad++, unless you are almost always editing files from the Program Files or Windows folders, there is no good reason to run As Admin consistently – as a normal run of Notepad++, if you try to save a protected file (files in Program Files, Windows, etc), Notepad++ will ask the OS, and the OS will prompt you with the elevated UAC permission to write the protected file. So unless you are saving a file to that location often enough that the UAC prompt every save becomes annoying, don’t run as Admin. Cloud Config: C:\Users\אפיק גלבוע\Documents\NppSettings Hmmm… there might be two things there, as well. First, I don’t know whether the NppFTP plugin was written with good support for Unicode characters in path names. So it might not be able to write its config to a directory like that. Second, I don’t know if NppFTP was properly written to make use of Cloud Config. If it’s using NPPM_GETPLUGINSCONFIGDIR, then it should be getting the right location, but if it’s incorrectly manually figuring out the plugin settings directory relative to AppData, it might not be computing the right path, so it might be trying to save its config in the wrong place (maybe even to a non-existent location) Look in C:\Users\אפיק גלבוע\Documents\NppSettings and see if there is an NppFTP subdirectory there. If not, then likely one of those two problems has occurred. If there is, then look at the permissions of that directory and the NppFTP.xml in it, to make sure that both your normal user and your elevated Admin have permission to write to it.
    • Leon MeijerL

      Text selection color is gone since a few updates

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      5
      0 Votes
      5 Posts
      936 Views
      PeterJonesP
      @Krzysztof-Blachnicki said: I deleted ExtSettings.ini (which was 0 byte) and… It works again. Maybe it’s n++ fault, but… For other plugins settings aren’t gone and when files are 0b they don’t cause glitchy behaviour. I’d bet it’s rather a problem with this particular plugin. If deleting the ExtSettings.ini caused the problem to go away, then I am confident it is the plugin, not Notepad++ itself, that is the culprit. The question is what now? Whom I can ask for reaction? Report the problem to @dinkumoil , the author of the plugin => https://sourceforge.net/projects/extsettings/support
    • donhoD

      Notepad++ v8.9.8 Release Candidate

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      1
      2 Votes
      1 Posts
      101 Views
      No one has replied
    • K

      Ultimate editing package? No, but close.

      Watching Ignoring Scheduled Pinned Locked Moved Praise Notepad++
      1
      0 Votes
      1 Posts
      91 Views
      No one has replied