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
    • Anderson NascimentoA

      Monokai and JS versão 8.9.1

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      5
      1 Votes
      5 Posts
      260 Views
      Anderson NascimentoA

      @PeterJones I managed to do it, I uninstalled it again and when it asked about settings, I answered no, upon startup it was like a completely new installation.Screenshot_1.png nnn.png
      When I started up, I changed the theme and it worked, thank you very much for the tips.

    • Thorsten HeuerT

      Feature Request / Question: Soft Wrap at Vertical Edge (Column 80) regardless of window size

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      18
      1 Votes
      18 Posts
      802 Views
      guy038G

      Hello, @thorsten-heuer, @h-jangra, @fml2, @coises, @m-andre-z-eckenrode, @peterjones, @alan-kilborn and All,

      Here is other way to get something CLOSE to a soft wrap at column 80, using the Dstraction Free Mode feature of Notepad++

      This method do a soft wrap at column 81 ( cannot do better ! )

      Of course, I suppose that it depends of the width of the current screen (Personally, my laptop screen is 34,5 cm wide). Thus, some adjustments will certainly be required !

      However, the nice thing is that the Distraction Free Mode use the totality of your current screen, even if you run N++, in a narrowed window !

      In a new tab, paste this text : 1234567890 123456789012345678901234567890123456789012345678901234567890123456789012345678901 123456789012345678901234567890123456789012345678901234567890123456789012345678901 123456789012345678901234567890123456789012345678901234567890123456789012345678901 123456789012345678901234567890123456789012345678901234567890123456789012345678901 123456789012345678901234567890123456789012345678901234567890123456789012345678901 1234567890

      As you can see, it contains 5 lines of 81 characters

      Select Settings > Shortcut Mapper... > Main

      Move to line 196

      Attibute the F9 shortcut to the Distraction Free Mode (or any other if already used !)

      Valid and exit the Shortcut Mapper

      Select the View > Word wrap option, if necessary

      In the Toolbar, un-select the Show All Characters icon ( ¶ ), if necessary

      Select The default zoom ( Ctrl + / )

      Then, increase the zoom value by 3 times ( Ctrl + + 3 times )

      Select Settings > Preferences... > Margins/Border/Edge > Padding

      Select the 0 value for the left and right options

      Select the 5 value for the Distraction Free option

      Hit the Close button

      Select Settings > Style Configurator...> Font Style

      Choose one of these monospaced fonts Aptos - Courier New - DejaVu Sans Mono - Lucida Console - Lucida Sans Typewriter

      Click on the Save & Close button

      Now :

      Switch to the new tab, mentionned above

      Hit the F9 key to get the Free Distraction Mode

      Move at the end of a line containing 81 characters

      Add the digit 2 => the current line is split and the 2 digit is reported at beginning of next line !

      Again, it works with my configuration but just adapt to your needs !

      Best Regards

      guy038

      Remainder :

      Don’t use the Alt + Tab shortcut to switch to an other application, when using the N++ Distraction Free Mode as hitting again on the F9 key will not return to normal N++ view !

      Simply repeat the Alt + Tab operation to return to N++ first and then hit the F9 shortcut

    • X

      Admin mode changes

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      2
      0 Votes
      2 Posts
      303 Views
      PeterJonesP

      @Xan-Kun ,

      Yes, Notepad++ drastically improved the behavior when trying to save admin-only files in v8.8.6 in October.

      Specifically, in older versions (v8.8.5 and earlier), when it would make you restart Notepad++, there are two conditions:

      If you had left the option to save the session snapshot with periodic “backup” enabled, then your changes would be preserved in the periodic “backup”, and when it restarted as Admin (after Windows OS does a UAC prompt, unless you have UAC prompting off), then it would be able to save them. And then you’d accidentally leave it running as Admin, and could accidentally ovewrite any file you wanted, and might mess up your settings. So, a great situation to be in. But if you had disabled the periodic backup, like many do (see our backup FAQ for reasons why), then when Notepad++ asked if you wanted to restart, you would have to Ctrl+A Ctrl+C to copy all the changes before asking the question it’s currently prompting you for, then then restart Notepad++ (*: and not prompt you about unsaved changes; so if you didn’t do the copy-all already, you just lost minutes or hours of changes; wheee!!!), then see that the file is back to the original (because it couldn’t be saved), and then have to paste in your changes (hoping you hadn’t accidentally hit Ctrl+C on anything in the meantime, losing your file changes), and then do the save. And then you would need to remember to exit Notepad++ and manually restart it (because Notepad++ doesn’t have a “restart in normal mode” button or menu entry when you’re running as Admin) to go back to normal editing.

      And, in v8.8.6 and newer: You would edit a file. When you go to hit save, Notepad++ asks Windows OS for permission to write to the protected file. If you have UAC enabled, then Windows OS will do the UAC prompt to let you know it’s writing to a protected file, and then do it; if you have UAC disabled, then Windows checks if your user is allowed to elevate without asking, and if it does, it automatically elevates and allows Notepad++ to save. But either way, after that save, Notepad++ is back to the normal permissions, and there is no chance you will forget to switch out of Admin mode and/or get your config files messed up. So much better situation.

      Re-enabling the Windows OS UAC prompts (that you disabled at some point) would get you the level of “don’t accidentally save this Admin file” protection you want, without ruining the improvement for everyone who runs without periodic backup or doesn’t want to risk corrupting their config files and doesn’t want to ruin dragging a file from Windows Explorer into Notepad++ because Notepad++ was accidentally left in Admin mode. (It’s also best practice for Windows security. If you are running with your main user who can be elevated without Windows doing a UAC prompt, then as soon as any malware gets on your system, even if it’s only running as your “normal” user, it can access every file on your drive by just telling Windows “but I’m user Xan-Kun, so of course I’ll play nice”. So you are opening yourself to a huge security risk by running without Windows UAC prompts.)

      The change was intentional. The change makes the software better. As a fellow user of Notepad++, I don’t see a good reason to go back to pre-8.8.6 behavior.

    • PeterJonesP

      FAQ: February Security Announcement

      Watching Ignoring Scheduled Pinned until 3/1/26, 9:17 PM Locked Moved Security
      4
      2 Votes
      4 Posts
      598 Views
      PeterJonesP

      Updates with new clarifications from this comment:

      Target Information

      Kaspersky only saw evidence of victims IP addresses in Vietnam, El Salvador, Australia and the Philippines, and noted, “We observed three different infection chains overall, designed to attack about a dozen machines…”.

      Thus, it wasn’t just “targeted” – out of all the update attempts that would have happened during the June to December timeframe, it appears there were only a dozen victims: everyone else got a normal, unaffected update, with no malicious payload.

      Obvious Side-effect: Notepad++ Not Actually Updated after “Update”

      When the attackers redirected victims, the victims got “updaters” which did nothing to notepad++.exe. If every time that automatic updates ran, you saw Notepad++ actually updated, you were not one of the victims.

      In case the user runs Notepad++ updater, if the version remains exactly the same after the attempted update, the user can check %LOCALAPPDATA%\Notepad++\log\securityError.log to see what happened & report it.

    • Fred MorantF

      "Search result" are not more stacked,

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      57 Views
      PeterJonesP

      @Fred-Morant said in "Search result" are not more stacked,:

      Every new search replaced the previous one,

      In the Search Results panel, Right Click, then uncheckmark “Purge for every search”

      f9b80104-3491-4a95-9a71-8cc5b64a683d-image.png
      =>
      534dcf2f-da9e-4350-82ff-673e4afd1558-image.png

    • Fred MorantF

      "In Find, Regex Search in Current File Limited to "Find Next" Downward Direction Only"

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      5
      0 Votes
      5 Posts
      120 Views
      PeterJonesP

      @Fred-Morant said in "In Find, Regex Search in Current File Limited to "Find Next" Downward Direction Only":

      @PeterJones ,

      This solution requires a change in config.xml,

      As described in the user manual, yes.

      regexBackward4PowerUser at yes seems to be not an accepted value for my version V8.9.1.

      Nope. Works just fine for me in v8.9.1. My guess is you used your active Notepad++ to edit config.xml. But Notepad++ overwrites config.xml when it exits, so you lost your change. The user manual has a few paragraphs at Config Files Details > Editing Configuration Files which explains how to edit most of the Notepad++ configuration files, and then explains the workaround for the config.xml exception.

      Until you properly edit and save the config.xml, Notepad++ will not see your regexBackward4PowerUser="yes"

      if config.xml is detected with value not conformed at start then config.xml is not considered and default parameters are used,
      if config.xml is not conformed then config.xml is rewritten at close,

      Correct. That’s described in more detail in the user manual, where I just linked you.

      Reason for considering regexBackward4PowerUser at yes as not a accepted value :
      going backward with a regex requires more computation than going forward, and that value is not accepted in V8.9.1,

      Wrong. Don’t believe AI hallucinations. It has nothing to do with computation. Regular expressions parse characters in byte order, and when they do that but go backwards through the bytes for the start of the match, there are quirks that users don’t expect; the Developer got tired of people reporting bugs in the regex engine because they didn’t understand the implications of how backward mode interacts with regular expression parsing, so turned it off by default, but gave power users the ability to turn it back on. That ability has not been taken away, despite the lies the AI is telling you.

      Do you confirm ?

      I confirm it’s nonsense from AI that just says the most likely next words based on context. “Most likely” does not equal “true”.