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
    • donhoD

      Notepad++ v8.9.3 Release Candidate

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      7
      2 Votes
      7 Posts
      65 Views
      xomxX

      @Xuân-Thơ-HOÀNG said in Notepad++ v8.9.3 Release Candidate:

      Windows 10 Insider Preview(Build 26100)

      Should be Win11, right? If so, it’s a very old RTM (Release to Manufacturing) Canary/Dev-channel candidate for the 24H2. Such Win builds are often source of problems.

      (Virus Name TROJ.Win32.TRX.XXPE50FFF103E0002)

      Than TRX means it’s from their predictive Machine Learning (i.e. most likely a complete junk - it’s AI-driven analysis to detect emerging or up-to-date unknown 0-day threats based only on file behavior and characteristics rather than just known signatures…).

    • Troglo37T

      Is There a Way to Prevent Pasted Text from Spreading Out with Rows of Spaces?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      19
      0 Votes
      19 Posts
      1k Views
      PeterJonesP

      @Troglo37 said in Is There a Way to Prevent Pasted Text from Spreading Out with Rows of Spaces?:

      I don’t see anywhere in the FAQ how to apply an icon to the script.

      Reading the manual yourself would be more beneficial. But, to help you:

      Plugins > Python Script > Configuration… Choose either Machine Scripts (if your script is in c:\program files\notepad++\plugins\PythonScript\scripts hierarchy) or User Scripts (if your script is in %AppData%\Notepad++\plugins\Config\PythonScript\scripts hierarchy, where it should be for normal usage) Click on your script The Add button above the Toolbar icons panel at the right should be available now; click Add, and the script will be added Click the script in that panel, and click Set Icon…, and navigate to whatever 32x32 BMP or ICO you want to use If you exit Notepad++ and run it again, that script will have an button on the toolbar, using whatever icon you chose (or the Python icon if you didn’t choose one)

      Or, since you said,

      there aren’t any unused ones available under Plugins > Customize Toolbar

      If you prefer using the Customize Toolbar, you can. However, there’s probably confusion that you need cleared up. Customize Toolbar has two separate ways of customizing the toolbar

      It can manipulate the icon for tools that are already on the toolbar, or a few other builtin commands, using Plugins > Customize Toolbar > Customize Toolbar… interface, which you are likely familiar with I assume this is the one where you say, “there aren’t any unused ones available”. I cannot imagine that you’ve actually enabled another couple-dozen buttons from its list, so that there are no other “available toolbar buttons”, as that toolbar would be so full as to be unusable. On the other hand, that’s the only thing I imagine that you could mean by such a sentence. It can add an icon for other builtin or plugin tools using its Custom Buttons Use Plugins > Customize Toolbar > Custom Buttons to add a checkmark to that option. It will tell you that it will take effect the next time you start Notepad++. You can use Plugins > Customize Toolbar > Help - Custom Buttons to read more about the syntax of the file, though the file itself will have comments that help you set things up exit Notepad++ open Notepad++ File > Open %AppData%\Notepad++\plugins\config\CustomizeToolbar.btn, which was created automatically when you checkmarked the option in the earlier step Use something akin to the followingPlugins,Python Script,Scripts,No New Lines,*R:PN,*R:PN,*R:PN That setup assumes you named your script No New Lines, and that you want it to show up as a pseudo-icon with red background, with the text “PN” for “Paste: No New Lines”: d2e3ec03-e741-4d7f-a0f5-e92ca710deb1-image.png If you actually want icons, put NoNewLines.bmp, NoNewLines_light.ico, and NoNewLines_dark.ico in the same directory as CustomizeToolbar.btn Important Things To Note To add to toolbar, pick one of the two methods – either use the PythonScript Configuration… dialog, or use the Customize Toolbar’s Custom Buttons feature. DON’T USE BOTH AT THE SAME TIME If you use the script I suggested, using a button makes sense. If you use the script @mpheath suggested, it just needs to be run ATSTARTUP, and you won’t need a button at all, because it will intercept the normal paste command.
    • Michael PiscoM

      Notepadd++ now seems to hang frequently.

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      9
      0 Votes
      9 Posts
      3k Views
      Terry RT

      @Deepa-Asthana
      Before anyone can offer some ideas you will need to expand your description of the problem.

      Like how many tabs open. How big are some of the files/tabs. What are your backup settings. It seems that your problem has existed before the latest update, correct? Provide the details of your installation using the ? menu option, copy and paste here. There is a FAQ post to help you. Sorry writing on phone so can’t easily provide the link.

      Terry

    • Guido ThelenG

      C# Plugin for ARM64

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      3
      1 Votes
      3 Posts
      124 Views
      Guido ThelenG

      @rdipardo ,
      Thanks for pointing out the Native AOT template — I wasn’t aware of it when I started the ARM64 migration.

      I did actually try Native AOT early on, but ran into two issues: the export limitations you mentioned, and the resulting DLL size (~57 MB), which felt way too large for a Notepad++ plugin. That’s why I ended up going with DNNE — the plugin DLL stays small (~1 MB), though it comes with the .NET 8 runtime dependency.

      How large are the DLLs you’re getting with the Native AOT template? Has trimming improved enough to bring the size down to something reasonable for a plugin?