Categories

  • Announcements regarding our community
    290 Topics
    5k Posts
    Сергей 0С

    Hello. In version 8.7 and earlier (including version 8.8.5), the cursor appears out of place. Please fix this.
    https://iimg.su/i/xy7x0S

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

    @rdipardo I just ran into this when I tried pasting a webpage of emoticon codes into a new installation of Notepad++ and was very surprised and pleased to see them rendered in color! In my daily NotePad++ they always look like line drawings. I tried playing with preferences but didn’t figure it out, so I Googled it and found the AI summary told me how to enable direct write to achieve this. Apparently when I installed my NotePad++ GDI was the default, but now it’s DirectWrite that is the default! Hooray! 😀

  • 10k Topics
    54k Posts
    CoisesC

    Since you typed this message in Spanish, I guess you speak primarily Spanish.

    Since you did not get proper letters with accents or tildes in your message, I guess you are using a computer that was set up for English. What to do depends on whether this is your computer or whether you are using a computer that belongs to someone else.

    If you are using a computer that belongs to someone else, or that is controlled by your school or your employer, then you should explain your problem to them and ask for assistance.

    If it is your own computer, then you should change the language settings to use a Spanish keyboard. You should be able to find instructions by searching for something like how to install Spanish keyboard on Windows. Unfortunately, this is not the right forum for a detailed discussion of that, since it is really a Windows problem, not a Notepad++ problem. The problem can be fixed; you will get better answers by searching than anything I could just paste in here.

    Traducido del inglés con Google Translate:

    Como escribiste este mensaje en español, supongo que hablas principalmente español.

    Como no se ven las letras con acentos ni tildes correctas en tu mensaje, supongo que estás usando una computadora configurada para inglés. La solución depende de si es tuya o de si usas una computadora de otra persona.

    Si usas una computadora de otra persona, o que está controlada por tu escuela o tu empleador, deberías explicarles tu problema y pedir ayuda.

    Si es tu propia computadora, deberías cambiar la configuración de idioma para usar un teclado en español. Deberías encontrar instrucciones buscando algo como cómo instalar un teclado en español en Windows. Lamentablemente, este no es el foro adecuado para una discusión detallada sobre esto, ya que es un problema de Windows, no de Notepad++. El problema se puede solucionar; obtendrás mejores respuestas buscando que cualquier cosa que yo pueda simplemente publicar aquí.

  • Technical discussion of building or contributing to Notepad++ or Plugin codebases

    1k Topics
    9k Posts
    CoisesC

    @John-HUANG-0 said in Looking for Scintilla examples for a Notepad++ plugin:

    I want to write a Notepad++ plugin that can change the font color and background color of certain specific text.

    Depending on your needs, the first thing you should consider is whether you really need a plugin, or whether a User Defined Language could do what you want.

    However, using a method like this:

    SendMessage(hSci, SCI_STYLESETFORE, SCE_USER1, RGB(255, 0, 0));

    is not very efficient, especially when dealing with very large files.

    When making many calls to Scintilla, it is best to use Direct Access. Even better, if you are writing in C++, is to use the ScintillaCall interface. Annoyingly, that interface does not seem to be documented anywhere. You can read the relevant section in the help for my Visual Studio template and, if it makes sense, either use that template or look at the code (start here) to see how it’s done.

    I asked ChatGPT about this, and it suggested that using Lexilla could be much more efficient. I found the Lexilla source code here:
    https://github.com/notepad-plus-plus/notepad-plus-plus/tree/master/scintilla

    I have never attempted to write a lexer, so I can’t give advice there, except to say that unless you are trying to implement full syntax highlighting for a computer language that doesn’t already have a lexer, it’s probably not the way to go. The efficiency problem can be solved by using the direct access interface or ScintillaCall.

  • Security shouldn't be the privilege of rich people
    60 Topics
    274 Posts
    Jay BurstinJ

    In my opinion it is confusing to write “See malicious ads here? Help us remove them!” right under the legitimate download button. Especially for users using an adblocker, it makes it very hard to know whether the green download button is legitimate

    Can I suggest either moving it (perhaps next to the “Advertising:” text) or changing it to say “The above download button is legitimate. If you see malicious ads on this site, please help us remove them!” (with “help us remove them!” hyperlinked)?

  • All the issues (publications/questions) about binary translation
  • Say fuck to Notepad++ here, and only here
    91 Topics
    521 Posts
    Maurizio ScianM

    @dinkumoil said in The author asks to finance the war:

    ia un bugiardo. Ma ovviamente, l’intera Wikipedia è infiltrata da gente d

    Wikipedia is infiltrated by both leftists and rightists.
    But right-wing rhetoric is well known: just look at the evil coming from the left.
    If the left is divided, it’s because there’s a critical vision and different criteria for determining truth and falsehood. If the right is united, it’s because, typically, a right-winger considers anything that doesn’t confirm their cognitive biases to be false. Right-wing leaders know this and exploit this weakness to increase their number of followers.

  • 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

    58 Topics
    217 Posts
    guy038G

    Hi, All,

    As many of you are probably planning your summer vacations, here is a website that should keep you entertained while you relax on the beach. Provided, of course, that you don’t forget your cell phone at home !

    https://regexcrossword.com

    To get the general purpose of this site, go first on the https://regexcrossword.com/about page

    And to whet your appetite, here is an example of puzzle to solve, which I have transcribed below :

    https://regexcrossword.com/challenges/palindromeda/puzzles/0eef9c22-d204-4704-81b6-86c556b242b1

    (ENT|NTE|NET)+ [WEAR]+ [R-Z]E+[M-R] (T|E|N)+ N E T (.)+W+\1 E W E [LENT]+ T E N

    Visit also the https://regexcrossword.com/howtoplay page

    Enjoy and happy holidays to everyone !

    Best regards,

    guy038

  • Computer/Programming Jokes are welcome here

    56 Topics
    179 Posts
    Lycan ThropeL

    @donho ,
    I’m not sure this is humor for it’s own sake, or a veiled attempt at sarcasm. Either way, I don’t want govenment, especially the UN in anything, period. :-)