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
      12
      5 Votes
      12 Posts
      710 Views
      donhoD

      New RC4, in which the cURL security issue in WinGUp is fixed & model capacity of shortcuts.xml & contexMenu.xml for administration. is added, is available:
      https://github.com/donho/notepad-plus-plus/releases/tag/RC4

    • Troglo37T

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

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

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

      Or, since you said,

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

      - 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.

      Yes, all of the Old Large Legacy Icons are in the Current toolbar buttons box. After checking them, I decided that I might use all of them in the future.

      Well, with all of that said, thanks for being patient and hanging in there through all of this. I have everything working, including adding a new icon to the toolbar. And thanks for the updated scripts.

      I hope this thread serves many others.

    • BB

      Search accented and non-accented characters alike with one simple setting?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      8
      0 Votes
      8 Posts
      299 Views
      guy038G

      Hi, @b, @peterjones, @coises and All,

      Let’s consider the Spanish word comparación and its various forms below, pasted in a new tab :

      comparación cömparÅciõn CömꝕarÅcⓘoñ ȻOℳₚA⒭ⱯℭᴵꝊᵰ ƆºᶆⱷǞℝȺꜿᵼᴓɲ ɕƢꟽⓟǻꝝⱭƆⅈᴗN

      Note that I have deliberately exaggerated the shapes and modified the case of the possible characters !!

      If you do any of the six N++ searches, below, against the six lines in the new tab, you’ll see that ONLY the two first regexes, which refer to standard equivalence clases, can find all the lines.

      SEARCH (?=[[=c=]])\X(?=[[=o=]])\X(?=[[=m=]])\X(?=[[=p=]])\X(?=[[=a=]])\X(?=[[=r=]])\X(?=[[=a=]])\X(?=[[=c=]])\X(?=[[=i=]])\X(?=[[=ó=]])\X(?=[[=n=]])\X

      SEARCH (?=[[=c=]])\X(?=[[=o=]])\X(?=[[=m=]])\X(?=[[=p=]])\X(?=[[=a=]])\X(?=[[=r=]])\X(?=[[=Å=]])\X(?=[[=c=]])\X(?=[[=i=]])\X(?=[[=õ=]])\X(?=[[=n=]])\X

      SEARCH (?=[[=C=]])\X(?=[[=ö=]])\X(?=[[=m=]])\X(?=[[=ꝕ=]])\X(?=[[=a=]])\X(?=[[=r=]])\X(?=[[=A=]])\X(?=[[=c=]])\X(?=[[=ⓘ=]])\X(?=[[=o=]])\X(?=[[=ñ=]])\X

      SEARCH (?=[[=Ȼ=]])\X(?=[[=O=]])\X(?=[[=ℳ=]])\X(?=[[=ₚ=]])\X(?=[[=A=]])\X(?=[[=⒭=]])\X(?=[[=Ɐ=]])\X(?=[[=ℭ=]])\X(?=[[=ᴵ=]])\X(?=[[=Ꝋ=]])\X(?=[[=ᵰ=]])\X

      SEARCH (?=[[=Ɔ=]])\X(?=[[=º=]])\X(?=[[=ᶆ=]])\X(?=[[=ⱷ=]])\X(?=[[=Ǟ=]])\X(?=[[=ℝ=]])\X(?=[[=Ⱥ=]])\X(?=[[=ꜿ=]])\X(?=[[=ᵼ=]])\X(?=[[=ᴓ=]])\X(?=[[=ɲ=]])\X

      SEARCH (?=[[=ɕ=]])\X(?=[[=Ƣ=]])\X(?=[[=ꟽ=]])\X(?=[[=ⓟ=]])\X(?=[[=ǻ=]])\X(?=[[=ꝝ=]])\X(?=[[=Ɑ=]])\X(?=[[=Ɔ=]])\X(?=[[=ⅈ=]])\X(?=[[=ᴗ=]])\X(?=[[=N=]])\X

      In constrast to the last release of the Columns++ plugin, independant of Scintilla and doing true UTF-32 searches, which is able to match the six lines of our example, whatever the regex used among the six regexes above !

      This example clearly demonstrates that it’s possible to perform a search without considering case and/or accentuated characters with the v1.3.1 release of Columns++ plugin ;-))

      Best Regards,

      guy038

    • Murray Sobol 1M

      Idea of a new installation routine

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      6
      0 Votes
      6 Posts
      215 Views
      PeterJonesP

      @Murray-Sobol-1 said in Idea of a new installation routine:

      @PeterJones said in Idea of a new installation routine:

      No one should ever download a 32bit installer for modern OS. For any app. (Modern OS don’t come in 32-bit versions anymore, so I don’t understand why apps still bother distributing the 32-bit versions)

      I agree with the above statement, however when I ask for an update by clicking Downloads I see this section:
      Download 32-bit x86
      Installer | GPG Signature
      Portable (zip) | GPG Signature
      Portable (7z) | GPG Signature
      Mini-portable (7z) | GPG Signature

      Why is this even being distributed anymore??

      Because my statement was just my opinion, and not everyone agrees with it. Because there are some people who mistakenly think they need a 32-bit even though they have a 64-bit OS. And there are some people who have some unmaintained plugin that only comes in 32-bit (*). And because the developer has never decided to cut off those poor, unfortunate souls.

      (*: aside: anytime I come across someone like that, I do a bit of research to help them find an alternative, or find someone who has done an unofficial recompile of the plugin for 64-bit. there are very few public plugins that have no 64-bit version and no alternative)

      But that’s why we lobbied to put the 32-bit below the 64-bit, so the 64-bit gets the prominence it deserves – and why I rejoiced when it happened. Someone downloading N++ for the first time will see the 64-bit first, and will likely download that. Someone updating N++ should use the menu or auto-update, and never have to go back to the website.

    • J

      search-and-replace NOOB question - CR and (any number)

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      33 Views
      PeterJonesP

      @JEFerris-99999 said in search-and-replace NOOB question - CR and (any number):

      Note - I know it needs to be Extended Search Mode.

      This is the first part of the problem. If you want to match “any number”, then Extended Search Mode isn’t sufficient: you need to use Regular Expression mode, not Extended Search Mode.

      = (carriage return or line feed)(any number)(any number)(colon)(any number)(any number)(carriage return or line feed)
      and Replace:
      = (space)
      should be really simple, but the online User Manual - well, I have not been able to find any descriptors that fit, nor any examples close to my needs.

      Searching > Regular Expression > Character Escape Sequences: \d matches any digit (0-9), which is what I am interpreting your “any number” to mean Searching > Regular Expression > Special Control Escapes: \R matches a newline sequence in a FIND WHAT, whether you are in Windows (CRLF), Unix/Linux (LF), or ancient Mac (CR) line-ending mode; it will match the whole newline sequence, not just one byte from it, to make sure that your replacement works as you expect it to. (In practice, it essentially matches \r\n|\r|\n, though technically it matches (?>\r\n|\n|\x0B|\f|\r|\x85|\x{2028}|\x{2029}) )

      I am assuming that the = you show was you saying “my expression equals…” rather than meaning a literal = sign before the newline. If so, then FIND WHAT = \R\d\d:\d\d\R would match carriage return or line feed, any digit, any digit, colon, any digit, any digit, carriage return or line feed .

      For the replacement, just type the space character (or, if you want to be fancy, use \x20 to reference ASCII hex20 = decimal32 = space character)

      Putting it all together:

      FIND WHAT = \R\d\d:\d\d\R REPLACE WITH = \x20 (or just a space, but I cannot show a space character in the red text SEARCH MODE = Regular Expression

      Unfortunately, nothing I have tried works as I desired, and I’m not sure why. Could you please help me understand what went wrong and help me find the solution?

      “Extended” is the wrong mode to be able to do generic digits rather than just specific numbers If you just matched the LF of the CRLF sequence, and replaced that with a space, then you would still keep the CR, which Notepad++ would still display as a newline. Turning on View > Show Symbol > Show End of Line and Show Space and Tab would help you see exactly what’s happening with the end of line characters and spaces/tabs, where a carriage return \r shows up as CR in a black box, line feed \n as LF in a black box, and the space will be a mid-dot and the tab a right-arrow.
    • Lionel LagardeL

      C++11 raw string literal syntax hightlighting

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      1 Votes
      3 Posts
      124 Views
      Lionel LagardeL

      thank you

    • Guido ThelenG

      C# Plugin for ARM64

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      3
      1 Votes
      3 Posts
      173 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?

    • Robk BlueR

      Tidy2 or other HTM L plugins

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

      @Robk-Blue said in Tidy2 or other HTM L plugins:

      It looks like Tidy2 is a 32 bit plugin and I can’t find a x64 version. Is it able to be used still? Any other options?

      Yeah, Tidy2 hasn’t been updated in more than a decade – it’s essentially abandoned. And as far as I can tell, no one here has grabbed the source code, recompiled for 64-bit, and published it anywhere (that has happened on some other plugins that used to be only 32-bit, if someone here was interested enough in that plugin to do it for themselves and share it with others)

      XML Tools is able to make XML look pretty, and usually works on HTML files as well.

      Other than that, it’s possible to pass the current file to your favorite external command-line code-prettifier (tidy.exe, if you installed HTML Tidy utility on your computer yourself), using either the Run > Run to create a User-defined command, or using a plugin like Pork2Sausage or NppExec.

      See also the FAQ: How do I use Notepad++ to Compile my Source Code (or Convert My Text)?, which has a section on Converting text (which is what things like tidy.exe are doing), and explains how to use the plugins mentioned in the previous paragraph to accomplish conversion tasks.

    • Freon SandozF

      Unexpected match when searching files for an end-quote character (non-ASCII)

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      2
      0 Votes
      2 Posts
      48 Views
      CoisesC

      @Freon-Sandoz said in Unexpected match when searching files for an end-quote character (non-ASCII):

      The text is from a Perl script I wrote long ago. Notepad++ identifies the file as “ANSI” and it appears to be encoded as Windows-1254, although Notepad++ doesn’t identify it as such.

      When Notepad++ opens a file as ANSI, it is using the default code page for your system. Is the default code page for your system Windows-1254? (One way to tell would be to copy the Debug Info… from the ? menu. Among other useful diagnostic information, it lists the Current ANSI codepage.)

      If your code page is not 1254, then try opening the file in Notepad++ and immediately — before you do anything else! — select Encoding | Character sets | Turkish | Windows-1254. That will cause Notepad++ to reload the file and interpret it using the specified code page.

      I’m not convinced that is the problem, though. In the screen shot you included, the quotes look like straight quotes, not typographic quotes. You’ve highlighted the quote mark, but that appears to be just your selection, not the result of a search; I think the search you show in that screen shot will not (and should not) match.

      So I think it’s more likely that the problem lies in whatever led you to think that there is a non-ASCII end quote in the file. You say you didn’t expect a curly quote and it looks like you don’t have one. What sort of file search did you do that led you to think there was one?

    • Z

      NppCSharpPluginPack: how to add toolbar buttons?

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      2
      0 Votes
      2 Posts
      97 Views
      Mark OlsonM

      @ZedZipDev

      Core maintainer of NppCSharpPluginPack here.

      It’s pretty hard for me to diagnose your problem if you don’t share a link to your full codebase with me. However, it looks to me like you’re calling SetToolbarImage in the CommandMenuInit method, which I don’t think you should do. In the current version of the plugin pack, you may notice that in the beNotified method of UnmanagedExports.cs, the SetToolbarIcons method is called, which initializes all the toolbar icons for the plugin.

      Truth be told, I have never studied the relevant sections of the Notepad++ codebase well enough to fully understand what’s going on with toolbar icons. I’ve just mostly gone with what worked in the old NotepadPlusPlusPluginPack.Net in this instance.

    • Vitalii DovganV

      NppExec Manual: CHM vs. HTML version [poll]

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      6
      0 Votes
      6 Posts
      364 Views
      PeterJonesP

      @Vitalii-Dovgan said in NppExec Manual: CHM vs. HTML version [poll]:

      Somebody, stop me! It has been 2 weeks I’ve been updating and improving the HTML form of the Manual!

      Sorry, it is not possible for me to stop someone from improving documentation. ;-)

    • 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

    • Carlos SánchezC

      [New plugin] Smart Math

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      2
      1 Votes
      2 Posts
      93 Views
      PeterJonesP

      @Carlos-Sánchez said in [New plugin] Smart Math:

      I’m a bit lazy and haven’t got a clue

      I can’t solve the first part, but for the clue:

      it’s just a PR to the nppPluginList project. Since you’re working in GitHub already, I assume you know how to do the PR fork the nppPluginList repo, create your own branch in that branch, edit pl.x64.json to link to the 64-bit version, and pl.x86.json to link to the 32-bit version the id required in the JSON is just the SHA256 hash, which GitHub provides for you:
      fd4a838f-9724-477d-b755-24836141dc88-image.png once you have edited both files in your branch, submit the PR from that branch
    • dfs-D

      Dark Mode style for UDL

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      1
      0 Votes
      1 Posts
      11 Views
      No one has replied
    • donhoD

      Support for Plugins Admin & NppPluginList

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      75
      1 Votes
      75 Posts
      131k Views
      ThosRTannerT

      I’ve been footling around with my plugin a bit to try and generate a PR automatically when a new version is released. So - is the layout of the json files significant.

      Most of the entries look like

      \t\t\t{ \t\t\t"folder-name": "Linter++", \t\t\t"display-name": "Linter++", \t\t\t"version": "1.0.3.0", \t\t\t"npp-compatible-versions": "[8.7.5,]", \t\t\t"id": "F56573351010B62BFC75039725496C8687D53E82A3F47074F1F1B629A37A92C1", \t\t\t"repository": "https://github.com/ThosRTanner/notepad-pp-linter/releases/download/1.0.3/plugin_dll_ARM64.zip", \t\t\t"description": "Allows realtime code check against any checkstyle-compatible linter: jshint, eslint, jscs, phpcs, csslint, and many others.", \t\t\t"author": "Tom Tanner", \t\t\t"homepage": "https://github.com/thosrtanner/notepad-pp-linter" \t\t\t},

      So I thought i could do my updater in python, just load up the json file, modify my entry, and dump it back, then commit

      One entry (just one) uses spaces instead of tabs.

      So my question is is there an official layout for these files? Is any valid json permissible (all on one line for instance), or is it expected to be formatted as 1 line per key and indented with tabs?

      Would converting those spaces to tabs as part of my PR be frowned upon, or should I just read the file and modify the lines appropriately?

    • Błażej MuszyńskiB

      Plugin to hide/unhide (collapse/expand) lines

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      1
      0 Votes
      1 Posts
      46 Views
      No one has replied
    • donhoD

      You've a lot of reasons to hate Notepad++

      Watching Ignoring Scheduled Pinned Locked Moved Boycott Notepad++
      91
      5 Votes
      91 Posts
      155k Views
      MJKlodt747M

      @donho Hey!! Don’t ever tell me whuddafugg to-do… I’ll hate WHOEVER I feel like 🤌🏻, WHATEVER I feel like 🤌🏻, WHEN–THA-FUGGG-EVER I FEEL LIKE! 🤌🏻🤌🏻🤌🏻

      Good day sir…🫵🏻 I SAY GOOD DAY!! 🧜🏻‍♂️

    • K

      Plugins Admin gets Curl Error

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      3
      0 Votes
      3 Posts
      280 Views
      donhoD

      @KelltimeOG
      Fixed in https://github.com/notepad-plus-plus/wingup/commit/5d89e486a5cb63251b8ed0b0e9f441a9774709ff
      The fix will be in WinGUp v5.4.1, which is included in Notepad++ 8.9.3 release.

    • Robk BlueR

      Change specific tags in HTML code

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      1
      0 Votes
      1 Posts
      80 Views
      No one has replied