Community
    • Login

    Just another ordinary release - 7.5.1

    Scheduled Pinned Locked Moved Announcements
    48 Posts 30 Posters 84.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Samandra KhandrS
      Samandra Khandr @ImSpecial
      last edited by

      @ImSpecial “C:\Programs” is generally reserved for special installs AFIK and is usually NOT where you should install ANY software yourself. This could be the whole source of your problem. I highly recommend getting used to installing to “C:\Program Files” (for 64 bit software on a 64 bit version of Windows, or for 32 bit software on 32 bit Windows, for 32 bit software on Windows use “C:\Program Files (x86)”. If you want a specific non-protected install folder use a path other than “C:\Programs” (“C:\Programs” AND “C:\Program Files” both have special permissions. Under normal circumstances installing to “C:\Progam Files” should work fine, the only real drawback (that I know of) is that if you want to modify files in any of its subfolders you need to have Administrator privileges, using a folder other than “C:\Program Files” OR “C:\Programs” should remove that limitation, but as I said “C:\Programs” is not where you should install your software because that’s where Windows puts special files related to things like Windows Store Apps and such).

      ImSpecialI 1 Reply Last reply Reply Quote 0
      • Phillip MitchemP
        Phillip Mitchem
        last edited by

        1. Add a spiritual quote.

        Where would I find the spiritual quote in this update? :D

        Scott SumnerS Truk MeisterT Drew zD 3 Replies Last reply Reply Quote 2
        • David CiaffaD
          David Ciaffa
          last edited by

          Past versions of NPP have allowed a file to be saved using the “Save As…” command without changing its file name (i.e. works identically to the “Save” command but with the confirm file save dialog box, which is consistent with every other Windows app). In NPP 7.5.1, doing a “Save As…” without changing the file name gives an error that the file is already open in NPP and does not allow the file to be saved.

          Please fix. Thanks.

          1 Reply Last reply Reply Quote 0
          • Meta ChuhM
            Meta Chuh moderator
            last edited by

            @Phillip-Mitchem
            start np++ with the argument -qnrandom to get a random quote every time you launch np++

            eg:
            notepad++.exe -qnrandom

            1 Reply Last reply Reply Quote 1
            • Chris DidamoC
              Chris Didamo
              last edited by

              Just upgraded to latestest release, now when I try to do a regex replace with find of ^ (start of row) and replace with (, and hit replace all, it says It replaced 39 rows, which is the correct number, but the document does not get edited. No changes occur, tried refreshing window, shut down np++, still the same, no changes. Any ideas?
              Thanks,
              Chris

              Meta ChuhM 1 Reply Last reply Reply Quote 0
              • vikki2017V
                vikki2017
                last edited by

                Hi
                Where can I report a bug in 7.5.1.
                when I first open the Notepad++ (where different files were open in last session), the color of the code gets changed and to force it to correct language color I have to switch the language to something else and then come back to the one I wanted. I also can share screenshot but don’t know where and how…this is my first time here…

                Thanks,
                Vik

                1 Reply Last reply Reply Quote 0
                • Scott SumnerS
                  Scott Sumner @Phillip Mitchem
                  last edited by

                  @Phillip-Mitchem

                  To be more specific than @Meta-Chuh was:

                  The easiest way to see this (the new “spritual” quote) is to type Notepad++ #3 in an editor window, select that text in-full, and then choose **About Notepad++…" from the ? menu. After you do this, Notepad++ will open a New document window and SLOWLY type something for you.

                  You could also start Notepad++ running with the following command line to see the same thing (but this is harder to do):
                  your_path_to_notepad_plus_plus\notepad++.exe -qnNotepad++%20#3

                  SPOILER ALERT: For those that don’t want to go to the effort to try it, but still want to know what the new and exciting quote is, here it is:

                  The best things in life are free.
                  Notepad++ is free.
                  So Notepad++ is the best.
                  
                  - Notepad++ #3
                  

                  Interestingly, this quote is typed by Notepad++ with full ignorance of the selected line-ending type. For example, with Windows CRLF endings selected, the text is typed and Linux LF endings appear:

                  Imgur

                  donhoD 1 Reply Last reply Reply Quote 1
                  • tomodea7T
                    tomodea7
                    last edited by

                    The Notepad++ Installer 32-bit x86 does not include plugin manager.

                    1 Reply Last reply Reply Quote 0
                    • Sridar SaraS
                      Sridar Sara
                      last edited by

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • ImSpecialI
                        ImSpecial @Samandra Khandr
                        last edited by

                        @Samandra-Khandr

                        “C:\Programs” is fine and has nothing to do with windows, it’s where I put all my portable programs, the name of the folder has nothing to do with this, It could be named “C:\TEMPFOLDER” for all I care and the same thing would happen, this is not “C:\Programs Files” or “C:\Programs Files (x86)”.

                        Still waiting for @donho to acknowledge what “%APPDATA%\local\notepad++” folder is used for, the one in Roaming is used for settings, Local? it’s empty.

                        1 Reply Last reply Reply Quote 0
                        • Meta ChuhM
                          Meta Chuh moderator @Chris Didamo
                          last edited by

                          @Chris-Didamo

                          i’ve just tested regex-replace-all on 7.5.1 installer and zip release versions, because i also use this often.
                          both notepad++ releases work perfectly.

                          did you recheck your search wildcards (.*?) and $x variables in your replace string for any syntax error ?
                          maybe … just maybe … they replace the same content back ?

                          here’s a little working regex replace example you can try:

                          test code:
                          <style type=“text/css”></style>
                          <a href=“url”>1</a><br>
                          <a href=“url”>2</a><br>
                          <a href=“url”>3</a><br>
                          <img=“img1”/>

                          replace:
                          regex search string: ^<a href(.?)>(.?)<(.*?$)
                          regex replace string: <a id=“link$2” href$1>$2<$3

                          result:
                          <style type=“text/css”></style>
                          <a id=“link1” href=“url”>1</a><br>
                          <a id=“link2” href=“url”>2</a><br>
                          <a id=“link3” href=“url”>3</a><br>
                          <img=“img1”/>

                          1 Reply Last reply Reply Quote 1
                          • Meta ChuhM
                            Meta Chuh moderator
                            last edited by Meta Chuh

                            @Chris-Didamo

                            edit: i forgot the code marker, so the above example reformats the * in the code text.

                            THIS is the working regex replace example you can try:

                            test code:
                            <style type="text/css"></style>
                            <a href="url">1</a><br>
                            <a href="url">2</a><br>
                            <a href="url">3</a><br>
                            <img="img1"/>
                            
                            replace:
                            regex search string: ^<a href(.*?)>(.*?)<(.*?$)
                            regex replace string: <a id="link$2" href$1>$2<$3
                            
                            result:
                            <style type="text/css"></style>
                            <a id="link1" href="url">1</a><br>
                            <a id="link2" href="url">2</a><br>
                            <a id="link3" href="url">3</a><br>
                            <img="img1"/>
                            
                            1 Reply Last reply Reply Quote 0
                            • Chris DidamoC
                              Chris Didamo
                              last edited by

                              Strange, I used your example and it works fine. So retested my on my data, and it doesn’t work.
                              I am copying some text straight from Microsoft SQL Server Management studio result page, and pasting into np++, and running the search/replace, when I press replace all, it says Replace All 38 occurrences were replaced at bottom of replace dialog box, but nothing changes on screen.
                              All I am trying to do is put a ( at beginning of line, using search ^, and replace (.
                              I thought I had done that previously, but tested with (, and it finally put the ( at beginning of line.
                              Thanks for the reply

                              1 Reply Last reply Reply Quote 0
                              • NiegN
                                Nieg
                                last edited by

                                Something about Encoding.
                                Encoding->Convert to UTF-8 without BOM
                                Encoding->Convert to UTF-8
                                It should be the other way around.

                                1 Reply Last reply Reply Quote 0
                                • donhoD
                                  donho @Scott Sumner
                                  last edited by

                                  @Scott-Sumner This is too, the part of easter egg :)

                                  1 Reply Last reply Reply Quote 1
                                  • David BaileyD
                                    David Bailey
                                    last edited by David Bailey

                                    @donho

                                    I was sorry to find that the new Find box (with a find up and a find down button) has reverted to the old style. Is there an option to obtain the new Find box?

                                    David

                                    1 Reply Last reply Reply Quote 1
                                    • xhdixX
                                      xhdix
                                      last edited by xhdix

                                      after few days my Find box has reverted to the old style. but without up/down search.

                                      screen shot

                                      1 Reply Last reply Reply Quote 0
                                      • Ohad SchneiderO
                                        Ohad Schneider
                                        last edited by

                                        @Scott-Sumner said:

                                        The best things in life are free.
                                        Notepad++ is free.
                                        So Notepad++ is the best.

                                        I must point out a fatal flaw in this reasoning.
                                        The only thing the first two lines prove is that Notepad++ might be the best (of course we all know it is regardless).

                                        Also, I could get Notepad++ #2 to work but not Notepad++ #1 🤔

                                        Richard MeanaR 1 Reply Last reply Reply Quote 0
                                        • Richard MeanaR
                                          Richard Meana @Ohad Schneider
                                          last edited by

                                          @Ohad-Schneider
                                          the text to trigger the first message is just Notepad++

                                          1 Reply Last reply Reply Quote 0
                                          • Jonas AnderssonJ
                                            Jonas Andersson
                                            last edited by

                                            Today when I started Notepad++ (after a reboot) my user defined languages were not working. I open the editor and the keywords are still there but all ‘Styler’ settings had been reset to the default font with black color.

                                            I was using 7.5 and I don’t know if it’s connected but this morning I also got the popup if I wanted to download 7.5.1, I declined.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            The Community of users of the Notepad++ text editor.
                                            Powered by NodeBB | Contributors