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.
    • 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
                                  • jmhollaJ
                                    jmholla
                                    last edited by

                                    After updating, autohotkey doesn’t seem to work with notepad++ active anymore. With this script, F12 doesn’t cause Ctrl+` to fire:

                                    ; Translate F12 to Ctrl+`
                                    F12::
                                    Send {Ctrl Down}``{Ctrl Up}
                                    return

                                    I’m not sure what version of notepad++ I had previously installed. If someone can point me to where that might be logged, I can add the information.

                                    I’ve tried a couple of other keys to overwrite, and the problem happens consistently. Here’s the rest of my configuration if that helps:
                                    ;
                                    ; AutoHotkey Version: 1.x
                                    ; Language: English
                                    ; Platform: Win9x/NT
                                    ; Author: A.N.Other myemail@nowhere.com
                                    ;
                                    ; Script Function:
                                    ; Template script (you can customize this template by editing “ShellNew\Template.ahk” in your Windows folder)
                                    ;
                                    +Delete::Send {Delete}

                                    SetTitleMatchMode, 2
                                    #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
                                    SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
                                    SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.

                                    ; Redefine only when the active window is a console window
                                    #IfWinActive ahk_class ConsoleWindowClass

                                    ; Paste in command window wit Ctrl+v
                                    ^V::
                                    ; (Edit->Paste)
                                    Send !{Space}ep
                                    return

                                    #IfWinActive

                                    ; Hotkey to make window always on top
                                    !^SPACE::
                                    Winset, Alwaysontop, , A
                                    return

                                    ; Translate F12 to Ctrl+`
                                    F12::
                                    Send {Ctrl Down}``{Ctrl Up}
                                    return

                                    #IfWinActive WinDbg

                                    ; Go To Line with Ctrl+l
                                    $^g::
                                    Send ^l
                                    return

                                    1 Reply Last reply Reply Quote 0
                                    • Truk MeisterT
                                      Truk Meister @Phillip Mitchem
                                      last edited by

                                      @Phillip-Mitchem Did you find where/how to access the spiritual quote? I need to disable the thing

                                      Scott SumnerS 1 Reply Last reply Reply Quote 1
                                      • Scott SumnerS
                                        Scott Sumner @Truk Meister
                                        last edited by

                                        @Truk-Meister

                                        AFAIK it can’t be disabled. What’s the problem? Simply don’t do what invokes (desribed earlier) the “ghost quotes” feature…and it is in no way that I can see “spiritual”. Some of the quotes are maybe a bit questionable if Notepad++ is used in an educational environment with young children…is this the concern?

                                        Truk MeisterT 1 Reply Last reply Reply Quote 0
                                        • Truk MeisterT
                                          Truk Meister @Scott Sumner
                                          last edited by

                                          @Scott-Sumner Yes quite disturbing. Whoever typed them up is a pervert! Guess I’ll have to reinstall w/o that option checked.

                                          1 Reply Last reply Reply Quote 0
                                          • Drew zD
                                            Drew z @Phillip Mitchem
                                            last edited by

                                            @Phillip-Mitchem Best quote ever: If you try and don’t succeed, cheat. Repeat until caught. Then lie.

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