Categories

  • Announcements regarding our community
    261 Topics
    5k Posts
    donhoD

    FYI, auto-update has been triggered for v8.7.5

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

    36 Topics
    56 Posts
    PeterJonesP

    Hello. You’ve likely been directed here for one of two main reasons: First, because you claimed “I use the most recent version”, and someone asked for more specifics on which version. Or second, because you asked something like “why does Notepad++ say there’s no newer version, when the downloads page clearly shows a newer version”

    One Answer, Two FAQs

    Those two questions seem to be completely separate. But the numbered points below actually explain both why “Most Recent Version” isn’t enough, and why Update Notepad++ and the Downloads page seem to not be in sync.

    FAQ 1: “I use the Most Recent Version”

    Despite what you might think, saying “most recent version” is not actually enough to tell us what version of Notepad++ you are using. The sections below explain in more detail, but the quick answer is to always look at the ?-menu’s Debug Info, copy that to clipboard, and paste it into your post in the Forum. This is best practice, rather than saying “I use the most recent version”.

    FAQ 2: “No Update Is Available” vs “Downloads Plainly Shows Newer Version”

    If you noticed that Update Notepad++ claimed there were no updates available, when the Downloads page has a newer version, read the “The Update System May Intentionally Lag Behind The Most Recent Release” section below, focusing on points #2 and #3.

    Details

    Both questions have the same details, as shown in this section.

    “Most Recent Version” is Ambiguous, aka “The Update System May Intentionally Lag Behind The Most Recent Release”

    If you used the phrase “the most recent version”, you need to understand that there are actually multiple versions at a time that can be reasonably considered “the most recent”, and we don’t know which you are talking about. If you asked about Update Notepad++ vs the Downloads page, these notes explain why they don’t always match.

    If you have automatic updates turned on, Notepad++ only polls every couple of weeks, to avoid overloading the server with “do I have the most recent version” request. So if a version was released and triggered for automatic updates between the time Notepad++ last polled for automatic updates and now, you might not have the most recently released and triggered version, even though you have automatic updates enabled. Thus, having automatic updates turned on is not a guarantee you have the most recent version, despite what some people think. There is the version available using ?-menu’s Update Notepad++ action. This can be “most recent”, but isn’t necessarily the “most recent”. This forces checking the server for a new version, so can be more recent than just having automatic updates turned on. However, per the User Manual’s description of Upgrading, new versions aren’t triggered for update immediately, and not all versions are ever triggered for auto-update. As described there, if a released version is in the 1-2 week buffer between initial release and triggering auto-update, or if a released version is discovered to have critical regressions or bugs, a given version might have been released, but not triggered for automatic update, so ? > Update Notepad++ won’t show it. There is the newest version available on the official Notepad++ downloads page. This is normally the most recent official release, whether or not is has been triggered for automatic update. However, for some critical bugs found, the Developer may remove a version from that page, even though it used to be there. So someone who downloaded the version before it was removed would disagree as to what version is “most recent”. There are sometimes “Release Candidate” versions, which have been publicly linked Community Forum “Announcements” section by the Developer. These are similar to “beta” versions, and are announced before they are uploaded to the official Notepad++ downloads page, so that readers of the Forum can check the Release Candidate for major regressions or new bugs that the Developer didn’t notice.

    All three of those can be validly considered “most recent”. If you don’t tell us an exact version number, we cannot know which of those three meanings is your meaning. (And to be blunt, some people occasionally haven’t actually checked recently, and so they think it’s the most

    More on why “Most Recent” and similar is not enough

    Okay, but I said “I have vX.Y.Z” instead of “I have the most recent version”. Why did you still direct me here?

    “vX.Y.Z” is Still Ambiguous

    Even if you tell us “I am using vX.Y.Z”, that is not sufficient. Notepad++ has three different executables for a given release version: 32-bit, normal 64-bit, and 64-bit ARM – referred to as “bitness”. Some bugs show up in only one of those three variants of the same version. Thus, it’s actually necessary for you to specify which executable you are using for a given version.

    “vX.Y.Z NN-bit” is Still Not Sufficient

    Even if you tell us “I am using vX.Y.Z with bitness B”, that is not sufficient. For many issues, it’s actually a plugin’s fault, and isn’t solely dependent on the version and bitness of Notepad++. Thus, you need to list all the plugins. These are listed in the Debug Info.

    And sometimes, there are other settings or environmental factors which are shared in Debug Info that will help us to help you.

    Thus, the easiest way to give all this information is to share your ? > Debug Info instead of just saying “most recent version”.

    Saying “Most Recent” is Not Future-Proof

    Finally, without being explicit about version, your question and our replies are not future proof. Someone who comes a week or a month or a year later and reads your question cannot easily know which version was “the newest version” at the time you asked your question; they only have a reasonable idea of what they think the “most recent version” is when they are reading your discussion, and thus it means something different to them than it did to you. Thus, if they see that you had a problem with “the most recent version”, they have no idea whether they are using the same version, and whether any fixes or workarounds described in the continued discussion will apply to them.

    Conclusion

    ? > Debug Info is not ambiguous. ? > Debug Info contains bitness information and plugin information and system information. ? > Debug Info is future-proof. Thus, the best idea is to share ? > Debug Info when you need to supply us with what version you are using. Anything less, and you are likely to be pointed to this FAQ.

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

    4k Topics
    21k Posts
    PeterJonesP

    @Almighty1 said in How to Upload/Change Avatar:

    @PeterJones - Thanks! When I posted the message as I used the instructions from link text, I did get up to the pick Edit except it did not have the Change Picture, only the following: …

    Changing your avatar is a privilege earned once you have a small amount of upvotes – probably, at the time, no one had upvoted any of your posts yet, but since then, you have received upvotes. (However, if your Google account had an avatar when you created your Community account, I believe it does allow it to be immediately set from that one, though it’s still not changeable until you have sufficient reputation/upvotes)

    I thought that function had been removed/disabled or it was because I am a new user.

    New user

    Is there a trick to get the entire image to be within the inside dimensions of the circle?

    The image is a square that’s 128x128, but the forum only shows the circle centered on the middle of that. So, any pixels that you want to be visible need to be within a circle that’s diameter=128 or radius=64 centered at (63,63) in the image. (So, for example, the pixel at (15,113) [which is part of your Avatar’s “tail” that is not shown] is 48 in the X direction and 48 in the Y direction from the center, so a distance of √(48²+48²) = 67.9 pixels, which is more than 64 units from the center. [Also proving that anyone who said during algebra class that you’d never use Pythagoras in “real life” was lying to you.])

  • 10k Topics
    51k Posts
    Robert JablkoR

    @Alan-Kilborn

    Thank you so much. It works.

    If anybody is interested, here is the full python script. It’s NOT python standard, but it really helps me read code.

    text=editor.getText() ################################################################################ ''' compress operators, removes trailing and following space from operators ''' operators=[ '+', '-', '*', ':', '/' '//', '%', '**', ] assigners=[ '=', '+=', '-=', '*=', ':=', ] comparators=[ '==', '!=', '<', '>', '<=', '>=', ] for character in operators+assigners+comparators: if ' '+character+' ' in text: editor.replace( ' '+character+' ', character ) ################################################################################ ''' padd brackets, adds space to brackets right of open, left of close ''' brackets_open='([{' brackets_close=')]}' for index, character in enumerate( text ): ''' searching edge cases ''' if index==0: # first character trailing_character=" " if len( text )>1: following_character=text[ index+1 ] else: following_character=" " elif index==len( text )-1: # last character trailing_character=text[ index-1 ] following_character=" " else: trailing_character=text[ index-1 ] following_character=text[ index+1 ] ''' replacing ''' if character in brackets_open and following_character!=' ': if character=='(': editor.replace( character, '\('+' ' ) # '(' needs escape '\(' else: editor.replace( character, character+' ' ) elif character in brackets_close and trailing_character!=' ': if character=='\)': editor.replace( character, ' '+'\)' ) # '(' needs escape '\)' else: editor.replace( character, ' '+character ) ################################################################################
  • Technical discussion of building or contributing to Notepad++ or Plugin codebases

    1k Topics
    8k Posts
    PeterJonesP

    However, that same theme is applied to ALL other languages, I thought that the theme should be specific to a particular language, not a “global” language.
    Any thoughts?
    Murray

    The “theme” is for Notepad++ as a whole. Inside any theme, there are settings for each language and each of the styles within that language, and if you don’t like the colors for a given language, you can customize them – but it’s still saved as part of your active theme.

    The purpose of a pre-built theme is to give you a starting point that’s reasonably-consistent among all the languages within a given theme, so that you just have to choose the theme once, and then all languages will use similar colors.

    https://npp-user-manual.org/docs/themes/

  • Security shouldn't be the privilege of rich people
    49 Topics
    195 Posts
    dinkumoilD

    @Emmanuel-Meekers
    AFAIK there is no technical means to limit the number of plugins a user is able to install. You can only remove the capability to install plugins at all.

    You could do a survey which plugins your employees need. There can be different needs, e.g. technical staff likely needs other plugins than employees that ar more involved in administrative tasks. Then you can install these plugins on the employee’s machines.

    After that you need to rename or delete <install-directory>\updater\GUP.exe to prevent users from installing any other plugins. As long as your employees don’t have admin access to Notepad++'s install directory, they are not able to revert these changes.

    The disadvantage is that your users neither will be able to update Notepad++ itself nor the installed plugins. This is something your ICT department has to do.

  • All the issues (publications/questions) about binary translation
    72 Topics
    457 Posts
    Richárd StockingerR

    Hi!

    I’ve updated the Hungarian language file to be compatible with the latest version (8.7.1) of Notepad++.

    This is a major, complete and up-to-date re-translation of this file, including:

    Translating the missing terms Adding missing accelerator letters (also for dialogs) Correcting the previous spelling errors (e.g. capitalization) Re-translating the inaccurate expressions more accurate Re-translating the outdated terms

    Pull request: #15824

  • Say fuck to Notepad++ here, and only here
    81 Topics
    502 Posts
    Fortunato Henrique CavalcantiF

    I just came across the same issue a few minutes ago. Tried exploring the options but still couldn’t get my unsaved but open texts after the latest update from January 13th 2025…

  • Blog posts from individual members
    56 Topics
    211 Posts
    barisusakliB

    Should be fixed now, thanks for reporting!

  • Computer/Programming Jokes are welcome here

    46 Topics
    141 Posts
    Terry RT

    my-code-doesnt-work-lets-change-nothing-and-runit-again.png

    9999.jpeg