Categories

  • Announcements regarding our community
    299 Topics
    5k Posts
    donhoD

    Notepad++ 8.8.9 RC is available here:
    https://download.notepad-plus-plus.org/repository/8.x/8.8.9.RC/

    Notepad++ v8.8.9 new security enhancement, new features, regression fixes & bug-fixes:

    Security Enhancement: verify certificate & signature on update installer. (Implement Notepad++ commit, WinGUp commit) Fix corrupted file loading on Windows system using the full UTF-8 code page. (Fix #17234) Fix crashing when hashing SHA-256 for large files. (Fix #17243) Fix “Select & Find Next” command not working regression. (Fix #17200) MSI improvement: Suppress REBOOT & add NOUPDATER option. (Fix #ref1, #ref2) Fix Perl Function List causes Notepad++ to freeze on tab switch regression. (Fix #17152) Fix context menu truncated regression on localization change. (Fix #17249) Add ability to update users’ langs.xml & stylers.xml from model XML files. (Fix #17128) Update to Scintilla 5.5.8 & Lexilla 5.4.6. (Update #17191) Add feature to sort lines in a document by length. (Fix #15615, #17186) Undo & redo enhancement: restore vertical scroll position after undo & redo. (Fix #17194) Fix mouse wheel horizontal scrolling amount not respecting Windows setting. (Fix #9480) Fix document map regression with keyboard input. (Fix #17224) Fix wrong system font scaling on Windows 7. (Fix #17066) Update to nlohman json 3.11.3. (Update #15041)

    Thank you in advance for your test. The official v8.8.9 release will be available on 9th Dec. (Paris time) if no regressions are found.

  • Frequently Asked Questions and Guides (about Notepad++ and this Forum)

    37 Topics
    62 Posts
    PeterJonesP

    You have likely found this page, or been directed to this page, because you were wondering about how to

    The list of Operating Systems (OS) that Notepad++ supports is published at https://github.com/notepad-plus-plus/notepad-plus-plus/blob/master/SUPPORTED_SYSTEM.md

    There is a footnote regarding Windows Vista and Windows Server 2008, both of which are officially unsupported: The last release of Notepad++ that worked on those ancient OS versions was Notepad++ v8.4.6. However, the footnote indicates, “The current version of Notepad++ built by GCC can be run under Vista & Server 2008”. Some users, who are interested in preserving historic computing, or have working hardware that is old enough to only be able to run such old OS, are confused by that statement, or wonder how they can get “the current version of Notepad++ built by GCC”. (Two examples of such posts are here and here.)

    When updates are pushed to the Notepad++ repository, a slew of versions are built, including some built by the GCC compiler instead of Microsoft’s compiler used by Visual Studio. Those versions are not used in the published releases of Notpead++, however, they are built from the same source code, so have all the same functionality.

    Main Steps

    The steps for installing the newest Notepad++ onto Vista or Server 2008 are as follows:

    Install the newest Notpead++ normally, or unzip the newest portable edition of Notepad++, noting whether you are using the 32-bit or 64-bit Notepad++. Verify that notepad++.exe doesn’t run on your computer. (If it does, you don’t need to follow the remaining steps.) Obtain the notepad++.exe built by GCC using one of the two sections below: Recent Release or Older Release Replace your installed or portable notepad++.exe with the executable downloaded in step 3. Run the replaced notepad++.exe, and verify it does run on your computer. Artifacts

    When the GCC builds are automatically run on the GitHub servers, the executables are kept for up to 90 days from the time of the build; however, that retention period is also influenced by how many artifacts a project generates: Notepad++ generates a lot of artifacts, so sometimes the artifacts for a release are not available for the full 90-day period.

    If the artifacts are still retained for the most recent release, then you can follow the procedure in Recent Release (below) to obtain the GCC-built executable. If those artifacts are gone, you will have to use the similar procedure in Older Release, though make sure you read that section thoroughly for unique .

    Recent Release Go to https://github.com/notepad-plus-plus/notepad-plus-plus/releases/latest where it has the little -o- icon and 7-9 hex digits, click on that hex number
    2c11d2fe-18e2-4f48-b7d2-50e3ff54dc41-image.png It should have a green checkmark (or less likely, a red X): click it
    82185f3a-d05b-47c9-893c-1d2cfbac6305-image.png In the popup, click any of the Details links (it doesn’t matter which one)
    b116fae8-972b-4796-a0db-c3f4c3d97b88-image.png Click on the Summary button
    c5d81331-849f-4c5e-82aa-e57d54f088ce-image.png Scroll down to the Artifacts at the bottom of that Summary page, and pick the …GCC.i686.Release if you want 32-bit Notepad++, or …GCC.x86_64.Release if you want the 64-bit Notepad++
    0d0757f8-b8a1-4709-8c8b-05e5a237afe8-image.png That downloaded artifact will be a zipfile containing a single (unsigned) notepad++.exe

    Once you have unzipped the artifact, you can continue with step 4 in the Main Steps

    Older Release

    If the artifact from the most recent release is no longer stored in GitHub, you can instead grab the most-recent build. However, you need to understand that builds made since the most recent release have code in them that has never gone through the Release Candidate verification: it passes all the automated testing, but there may be edge cases that have not yet been found or fixed. One should only use the most-recent build instead of a release build when those risks are understood.

    Go to https://github.com/notepad-plus-plus/notepad-plus-plus/actions and find the most-recent commit to the master, and click on that row. Look for the Artifacts at the bottom. Find the link with “GCC” in the name with the right version (64-bit is x86_64, 32-bit is i686, or ARM64) – assuming you have 64-bit Vista, then it would be Notepad++.GCC.x86_64.Release. Click the appropriate artifact, which will download a zipfile. Open the zipfile and extract the executable from it

    Once you have unzipped the artifact, you can continue with step 4 in the Main Steps

    Build Your Own

    The Notepad++ repository includes BUILD instructions for GCC, so if you follow those instructions, you can build your own GCC-based Notepad++ from the source code. You will obviously need the GCC compiler (you will have to find and install that on your own, as such a procedure is beyond the scope of this FAQ or this Forum).

    Once you have the GCC compiler ready, you can download the source code for Notepad++: it is up to you whether you want to download the source code from the latest release, which will give you a snapshot of the code at the time it was released; or whether you want to grab the most recent commit from the main development branch of the repo which can have code/features that have been added since the last release.

    Building your own copy of Notepad++ using GCC is intended for people with coding experience, and experience with GCC in particular, and who know how to use GitHub and git – if this doesn’t describe you, you may wish to gain experience before trying to build your own using GCC.

    Caveat: This is Unsupported

    Rememeber: using Notepad++ on Windows Vista or Windows Server 2008 is not officially supported for new Notepad++ versions. If you can happen to get newer Notepad++ to work on those OS versions by following these instructions, that’s great for you.

    Otherwise, the best recommendation is to use an older version of Notepad++ that was officially tested on those operating systems – with v8.4.6 being the newest Notepad++ to be verified with those OS. Having been verified, it should work for you; however, there will never be any updates to the v8.4.6 code, so any bugs or security issues present in v8.4.6 will remain unfixed for you. (The same is true for most applications that stop supporting older OS, so this is not unique to Notepad++.)

  • Notepad++ discussions that don’t fit in other Categories

    4k Topics
    22k Posts
    PeterJonesP

    @Todd-Marshall ,

    Some comments, based on your two most recent posts:

    We had no way to know how exactly you used the AI – it could have been either of the following: you prompted it to “take a common problem found in Notepad++ and propose a solution” This version was why I suggested it might have been hallucination Since you didn’t say earlier, I had no way to know this wasn’t what had happened. you prompted it with "brace matching is not working for me in Notepad++, with details X, Y, Z. could you re-write this as a “proposal for improvement” This version was why I suggested that it was bad data fed into the prompt (ie, that you were wrong) This turned out to be closer to the truth, as you described. Both in regards to what you actually asked the AI to do, and with regard to the fact that you were wrong or incomplete in your description to the AI This was a lot of extra effort on your part. Instead of explaining to the AI what you wanted to say, and then have it re-write your text in its own words, you could have just explained it to us in your own words. And it would have been better, because it wouldn’t have introduced the AI-garbage uncertainty. And you wouldn’t have been violating the forums rules for posting. So it would have been better all around. Your posts don’t even match the AI text you posted. In your two most-recent posts, you claim you suggested Ctrl+D, but your AI text actually suggested Ctrl+] … that’s two different keystrokes. So by going through the AI intermediary, you didn’t even know what you posted. Re: Documentation: I have no idea what you mean by “mired in COIK” As the primary maintainer of the Notepad++ documentation, if you have concrete examples of how the Online User Manual is “poorly organized”, feel free to create an issue in the user manual repo with concrete descriptions… but understand that the basic structure is pretty set-in-stone at this point. But if you really meant, “I have been burned by other documentation before, so I don’t bother reading any documentation”, the onus is still on you to give each new application’s documentation a chance before rejecting it out-of-hand. I really don’t care about how good or bad the documentation for a major corporation’s huge flagship product is, and you basing your decision on whether or not to read any documentation based on a bad experience with a huge, gigantic application like that is rather unfair of you to any other documentation Re: the root cause being mismatched braces: you cannot really expect a feature that says “go to matching brace” to work as you described you wanted when the braces aren’t matching. And, in fact, the way that Notepad++ does work helps to indicate that the braces are mismatched, now that you know what that symptom means.

    To sum up: don’t post AI-generated content in a Community of human Users of Notepad++; it’s not allowed, and it didn’t work well for you when you did.

  • 10k Topics
    54k Posts
    PeterJonesP

    I think what is really needed, are 2 new keyboard shortcuts to:
    (a) move to/from 1st and last tab

    View > Tab > 1st Tab already has a default shortcut of Ctrl + Numpad1 View > Tab > Last Tab doesn’t have a default shortcut, but Shortcut Mapper can assign one quite easily (Settings > Shortcut Mapper > Main menu, Filter = last, click on Last Tab and Modify to set to whatever keyboard shortcut you would prefer) Notepad++ has hundreds of menu commands (a thousand? probably pretty close). They cannot all come with default keyboard shortcuts, and the user is expected and encouraged to customize the shortcuts to match their individual needs.

    (b) move to/from previously selected tab.

    If Settings > Preferences > MISC page’s Document Switcher section has both ☑ Enable and ☑ Enable MRU behavior turned on, that’s exactly what Ctrl+TAB does. If you don’t hold down the Ctrl, it just toggles between the current tab and the previously-used tab. And if you hold down the Ctrl, it allows you to navigate through in order from most recent (top of list) to least recent (bottom of list).

    So all three features you mentioned already exist, and 2 out of the 3 have default keyboard shortcuts already defined. So to get everything you want, you just have to use the Shortcut Mapper to assign a key to the Last Tab command (which might naturally go to Ctrl + Numpad0, to align with the the Ctrl + Numpad1 for the 1st Tab).

    Useful References Document Switcher feature: https://npp-user-manual.org/docs/user-interface/#document-switcher Document Switcher preferences: https://npp-user-manual.org/docs/preferences/#misc
  • Technical discussion of building or contributing to Notepad++ or Plugin codebases

    1k Topics
    9k Posts
    EkopalypseE

    @h-jangra

    It could be, yes, because I downloaded it and ran setup_arm64.bat in a normal cmd shell, and it worked.
    But it could also be due to how you originally set up Rust. I also played around with this a bit, but couldn’t reproduce your problem.
    I had MSVC installed via the Visual Studio installer, and then I installed the Rust toolchain. Some weeks later I add the arm extensions for VS and added the target to Rust, and it works for me.

  • Security shouldn't be the privilege of rich people
    62 Topics
    298 Posts
    donhoD

    @SammyBolt said in autoupdater and connection temp.sh:

    Regarding the WinGup fix in v8.8.8, Was the temp.sh (or similar) exfiltration vector reported in v8.8.4 possible on a clean, official installation of Notepad++?

    The temporary fix prevents the hijacking attempts that redirect to the domain other than github.com. However, it cannot protect against malware that is hosted on github.com.

    The full fix will be included in the upcoming version, as mentioned below.

    You mentioned the fix landed in v8.8.8, but can you confirm if this vulnerability was introduced specifically in v8.8.4 (due to changes in the updater), or were versions prior to 8.8.4 (like 8.8.2/8.8.3) also susceptible to this specific gup.exe hijacking technique? What about 8.8.5-8.8.7?

    We still cannot determine the exact method used by the attacker. But it is not a case of “a vulnerability introduced in version X”.

    For users currently running v8.8.4 who want to verify they haven’t been impacted before updating: Aside from monitoring network traffic for temp.sh, are there specific things we can check for, like modifications to the update xml file or other modified files/logs in the program directory?

    I do not have complete information to provide specific advice. However, here’s an article from a security expert who appears to have investigated this issue:
    https://doublepulsar.com/small-numbers-of-notepad-users-reporting-security-woes-371d7a3fd2d9

    My suggestion is download & install v8.8.8 manually from the official website.
    The upcoming release v8.8.9 will be available in a few days. In this release the code signing certificates will be verified on the downloaded binary before update installation.
    Then please update to v8.8.9, in which the vulnerability is fully addressed.

  • All the issues (publications/questions) about binary translation
  • Say fuck to Notepad++ here, and only here
    91 Topics
    522 Posts
    James Burke 0J

    @Maurizio-Scian The real problem is that most Americans don’t know left from right. True right wingers wear BLUE ball hats. American right wingers wear RED ball hats. Now is that fucked-up or what? And what’s more, real communists restore old American cars and put diesel engines in them without catalytic converters. America communists ride electric bicycles and believe in climate change. Lets try to keep this in mind when discussing politics.

  • No support request and bug report here, only unconditional praise and worship

    1 Topics
    4 Posts
    Aubin HeroutA

    salut les petits gwerrrr

  • Share personal tips and cool uses for Notepad++, and similar

    59 Topics
    220 Posts
    Tomas VirginT

    Talking about “the game of the summer,” it’s always interesting to see how different communities interpret “fun” — for some that’s about building an in‑game world, for others it’s just kicking back and enjoying downtime.

  • Computer/Programming Jokes are welcome here

    57 Topics
    186 Posts
    jabcreationsJ

    @Lycan-Thrope One of the biggest secrets because people believe their beliefs are knowledge when no, they’re beliefs. I also reject the petty thoughtless “I don’t comprehend so it can’t be true” nonsense so I’ll ignore any trolling from anyone.

    Also some basic psychology for anyone reading: do I know your life? No. I didn’t grow up in your life, know your people, your places, your experiences. The same holds true in reverse. So everyone knows something that other people do not know. So never make the severe massive psychological mistakes of thinking you’re an all-knowing deity because most people make this mistake and remaining ignorantly willing slaves!

    There is no government.

    Whenever you see ALL CAPITAL LETTERS (and no, not screaming on the Internet context) that is a CORPORATE ENTITY. UNITED STATES OF AMERICA, STATE OF MAINE, MAINE STATE, COUNTY OF, CITY OF - extra, those are all CORPORATE ENTITIES.

    However what is a CORPORATION? It’s suppose to be a form of business.

    What is a business? A group of people who work together to create profit.

    Well, that isn’t good enough, we need contrast. What is a business not?

    A business does not impose on the natural rights of others because then it is a criminal organization. What else is a business not?

    A business is not neutral due to the inherent right of discrimination. The political extremists like to demonize rights. Anyone who thinks discrimination is a bad thing now suddenly doesn’t have the right to appeal being forced to marry a volcano. Have fun on your wedding night! Discrimination is one of many critical sovereign rights.

    When you discriminate you are not neutral. So that brings us back to CORPORATIONS acting as “government”. What is the role of government? To protect it’s nation or country and play a neutral role of lawful (never LEGAL) courts of law.

    So if a CORPORATION is supposed to be a form of business that is for-profit and therefore not neutral it has zero right to conduct itself as a “neutral” entity therefore any CORPORATE entity that represents itself as a “government” entity of any kind is instantly and irrevocably a criminal organization!

    Go look up “government” signs across the world like in marxist occupied China. You will always see Latin characters as a secondary way as not all alphabets have upper and lower case characters. Suddenly you’re seeing fake governments everywhere because the criminal conspiracy has long been global for well over a century. The sovereign country of the United States of America became an anarchist state with the Act of 1871.

    So that is all part of fascism, CORPORATISM which has two levels of foundation beneath it. The direct next lower foundation is FRAUD BY COMMERCE. Commerce is not business, it is criminal activity masquerading as “business”. Example: I was attacked by CORPORATE POLICY ENFORCERS (the “police”) and one of the criminals said it was “nothing persona, just business”. That is the criminal manipulation of language.

    What is a good example of a manipulation of language? A dude puts on a wig, dress, high heels, pads a bra and he’s suddenly a woman? Oh hell no! He’s got severe mental issues! The criminals pretend like they’re protecting freedom of freedom and expression but that part is marxism: slavery. Karl Marx the author of the communist manifesto can be quoted simply: “…the abolishment of private property”. Who does not own private property? SLAVES! So marxism and fascism are like the left and right wing: they are attached to the same bird! You are intended to think they are the opposite of each other when in fact those groups are working together for literal global slavery. The more pressure and social destruction there is the easier it is to conquer people! They literally want global slavery!

    So that is why subjective use of language must always be absolutely rejected! LEGALISM is the explicit manipulation of language! The police are trained to convince you that you are “driving” a “vehicle” when, by LEGALESE criminal language you are “traveling” in your “car” (or “truck”). They are not law enforcement because they are literal criminals! Some do not know it and did not join the police with criminal intentions but many do know that they’re criminals and explicitly like being criminals.

    So the goal for every ethically sound individual is to disengage from commerce and remove their ignorance on how to punish the criminals for their attacks on us. In example when you are abducted (because criminals never have the right to arrest) you reject the fake court’s notion that they have jurisdiction. I have several videos now of people holding their ground with the fake “judges” fleeing the fake “courts” and one even admitting they work for “the CORPORATION”. Literally all criminal! All legitimate businesses that were tricked in to registering (LEGALESE for surrender!) have the full right to disavowal the CORPORATE entity that they were coerced to register in bad faith! It is a straw man misrepresentation because the criminals are required to only interact with other CORPORATE ENTITIES while in “contract” with them. Any criminal that says you can’t is, big surprise: lying!

    Individuals are also targeted with CORPORATE ENTITIES by the next foundation below that of FRAUD BY COMMERCE. That is FRAUD BY PERSONAGE. To personify a CORPORATE ENTITY (straw man) to intentionally misrepresent a living human being as CORPORATE ENTITY so the criminals can “contract” with you.

    Do you have a driver’s license?

    Yes? Criminal!

    No one has the right to suggest or dictate that you have to ask permission to act on your natural sovereign rights such as the right to travel!

    Is your name on the driver’s license?

    No! JOHN SMITH is a fictitious CORPORATE ENTITY criminally made in John Smith’s name without his explicit consent! Consent is only lawfully (never LEGALLY!) full and explicit comprehension (never “understanding” which means willing slavery).

    Example: “hey bro, she’s knocked out drunk, she can’t say no!” is still rape because the lack of capacity to consent is explicitly not consent! So rapes and when fake judges make a decision (because you don’t know how to disengage from fake courts or that they’re even fake to begin with) the fake “judge” will imply a decision on your behalf, that is called FRAUD BY TACIT CONSENT! Tacit means implied however you can not imply consent as consent is irrevocably always and in absolutely always explicit. If you don’t comprehend and agree then you literally have zero capacity to consent. To imply you’ve consented is fraud by tacit consent!

    Back to the primary topic: the UNITED NATIONS INCORPORATED criminal organization has zero rights. These are non-elected people and while many people involved in fake government and government-like fake organizations have legitimate intentions on helping others we can see for example when the pro-German candidates were all clearly murdered so the globalists could keep destroying Germany (I am Polish, that should hold some weight). These criminal organizations need to be dismantled, to say the least.

    Everyone literally has the lawful right to shoot to kill criminals literally and ironically working to enslave all of humanity. I don’t recommend doing so however until you know how to nullify all aspects of the criminal organizations.

    For now people need to learn how to disengage from COMMERCE for starters. Everyone needs to file their UCC1 which gives them access to a bank account with large amounts of money that misrepresents each person as a “common stock”. Any time. All CORPORATIONS engaged in COMMERCE use social security numbers and that means any bill they send you is already paid! You have to learn how to “endorse the coupon” because when you “pay a bill” you’re giving those criminals double the money! A traffic ticket at the state level of the 37 lawfully joined states and the rest of the territories like Montanan make over a million dollars from a a single speeding ticket! Never endorse criminal tickets and everything with JOHN SMITH fraud by personage on it that they give you is literal evidence of their crimes!

    The next bit is to learn how to force criminals to pay you for their crimes via TORT POLICY! Since COMMERCE is explicitly criminal that means anyone for any reason trying to trick/force/coerce/etc you is guilty of numerous crimes. TORT POLICY is per their fake jurisdictions. You need to look it up for your state/providence/county and it’s all there!

    The biggest part of TORT POLICY that is wonderfully subjective is that these criminals literally steal your time. But people are not equal in anything except rights. Well guess what? I’m the developer of an entire web platform written entirely from scratch by myself. My time is very valuable and I set my own rates. That means when I redeem damages to my literally unrecoverable time from criminals I set my rates high, like $20 million an hour. If a criminal is that stupid I will very quickly bankrupt them. You just have to get your mentality in the right place and figure out how that paper works in your region.

    We can and will win but there will be loses because we can’t help stupid people. Reality is absolute, your perception is relative. We hear only between the 20 to 20,000 Hz. We see only between 400–790 terahertz. That is trillions of hertz. What can’t you see or hear between 20,001 and 399,999,999,999,999 hertz? So no, again, no one is an all-knowing deity. Stop trusting false believe as knowledge! *Verify& things otherwise you’re building your entire perception of reality based on false belief! Otherwise you risk doing worse than marrying a “woman” named Tammy who was once a dude named Timmy.