Community
    • Login

    Notepad++ v7.9.5 released

    Scheduled Pinned Locked Moved Announcements
    49 Posts 16 Posters 10.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.
    • ?
      A Former User @Alan Kilborn
      last edited by

      • Close and open Notepad++.
      • Type my test: “training” on line 1 and “train” on line 2.
      • With nothing selected, right-click on “train” on line 2 > Style token > Using 1st Style.

      Under these conditions, only “train” on line 2 is styled.


      • Close and open Notepad++.
      • Type my test: “training” on line 1 and “train” on line 2.
      • Open the Find dialog.
      • Clear ‘Match whole word only’.
      • With nothing selected, right-click on “train” on line 2 > Style token > Using 1st Style.

      Under these conditions, “train” on lines 1 and 2 are styled: The token will be styled within words.

      You could not reproduce my issue because Style Token will continue to match within words after opening the Find dialog once. This might also explain why I haven’t seen this issue before. I must have always used the Find dialog at least once before styling tokens.


      With regard to the user interface, I’m saying there is no logical connection between the Find dialog box and Style Token. I suggest decoupling Style Token from the Find dialog. If people still want to toggle the behavior then create a new preference.

      Alan KilbornA 1 Reply Last reply Reply Quote 0
      • Alan KilbornA
        Alan Kilborn @A Former User
        last edited by Alan Kilborn

        @Michael-Mientus-0 said in Notepad++ v7.9.5 released:

        You could not reproduce my issue because Style Token will continue to match within words after opening the Find dialog once.

        There is a similar open issue regarding Match case.
        See Applying Style Tokens is case sensitive until search is done.

        With regard to the user interface, I’m saying there is no logical connection between the Find dialog box and Style Token. I suggest decoupling Style Token from the Find dialog. If people still want to toggle the behavior then create a new preference.

        As I hinted earlier, I agree this isn’t the best design.
        But we’re not the developers here, just a user community to discuss things and help each other out.

        ? 1 Reply Last reply Reply Quote 1
        • ?
          A Former User @Alan Kilborn
          last edited by

          @Alan-Kilborn said in Notepad++ v7.9.5 released:

          There is a similar open issue regarding Match case.
          See Applying Style Tokens is case sensitive until search is done.

          I found that thread earlier but did not recognize it at the time. It seems similar.

          1 Reply Last reply Reply Quote 0
          • ?
            A Former User
            last edited by

            https://github.com/notepad-plus-plus/notepad-plus-plus/issues/9751

            1 Reply Last reply Reply Quote 0
            • Kimpa TammasK
              Kimpa Tammas
              last edited by

              It seems with this last release, the “Default Directory” preference no longer works. I always use the Default Open/Save file directory as “Remember last used directory”, but the location is always the Notepad++ installation folder (In Program Files). I tried to set manually the path, but this method worked only once. On the second test, the location returned to the Notepad++ installation folder.

              Alan KilbornA 1 Reply Last reply Reply Quote 2
              • Alan KilbornA
                Alan Kilborn @Kimpa Tammas
                last edited by Alan Kilborn

                @Jean-Michel-Coinus said in Notepad++ v7.9.5 released:

                Default Open/Save file directory as “Remember last used directory

                but this method worked only once. On the second test, the location returned to the Notepad++ installation folder.

                I also see this behavior, when I set to “Remember last used directory” (which I don’t normally use).
                Perhaps opening an issue on it (see FAQ) is the way to proceed?

                1 Reply Last reply Reply Quote 1
                • Nazar Grynko 0N
                  Nazar Grynko 0
                  last edited by Nazar Grynko 0

                  I have updated to this version and now the documents I have opened including the newly created one being closed and do not reopen on restart.
                  I’m so used to this, I’m kindly asking you, please suggest to me the oldest version where this functionality persists, I’d like to downgrade. Thanks!
                  (edited)
                  Even tho I have <GUIConfig name="RememberLastSession">yes</GUIConfig> in Config.xml

                  NippurDeLagashN 1 Reply Last reply Reply Quote 0
                  • NippurDeLagashN
                    NippurDeLagash @Nazar Grynko 0
                    last edited by

                    @Nazar-Grynko-0

                    I am using version 7.9.5, and it does remember the last session, with all the previously opened files.

                    Check in “Preferences”, “Backup”, in the panel “Session snapshot and periodic backup”, that the checkbox “Remember current session for next launch” is checked.

                    Nazar Grynko 0N 1 Reply Last reply Reply Quote 0
                    • Nazar Grynko 0N
                      Nazar Grynko 0 @NippurDeLagash
                      last edited by

                      @NippurDeLagash Thanks!
                      I have that option checked.
                      I tried unchecking it, restarting the notepad, checking it again, but regardless of whether I have it enabled or not Notepad++ on exit still prompts me do I want to save my files and does not save the session.

                      1 Reply Last reply Reply Quote 0
                      • Nazar Grynko 0N
                        Nazar Grynko 0
                        last edited by

                        Update
                        I have reinstalled the app without saving my custom setting on uninstall and it worked.
                        Thanks!

                        1 Reply Last reply Reply Quote 0
                        • xagabaX
                          xagaba
                          last edited by

                          I have a weird problem with some Unicode files with Chinese chars not loaded or recognized properly.
                          If I load the file in windows notepad and save it, the Notepad++ shows and recognize perfectly…
                          I leave a little test file in my server for you to test…
                          Test file

                          Alan KilbornA 1 Reply Last reply Reply Quote 0
                          • Alan KilbornA
                            Alan Kilborn @xagaba
                            last edited by

                            @xagaba said in Notepad++ v7.9.5 released:

                            I have a weird problem with some Unicode files with Chinese chars not loaded or recognized properly.

                            Suggest looking at THIS and seeing if that has any impact.

                            xagabaX 1 Reply Last reply Reply Quote 0
                            • guy038G
                              guy038
                              last edited by guy038

                              Hello, @xagaba, @alan-kilborn and All,

                              I downloaded your Test.txt file and, after numerous tests, I’ve got the solution ! I even think that I’m going to create a GitHub issue in order to improve the N++ auto-detection of the right encoding ;-))

                              But first, to correctly answer you, I need three additional pieces of information :

                              • When you’ve just opened the Test.txt file, what encoding do you see, in the right part of the status bar ?

                              • Could your provide the Debug Info... information of your Notepad++ configuration ( Menu option ? > Debug Info... )

                              • Could you also specifiy what is your current N++ font ?

                                • In Settings > Style Configurator > Global styles > Global override > Font Style > Font Name ( IF the Enable global font option is tiched )

                                OR

                                • In Settings > Style Configurator > Global styles > Default Style > Font Style > Font Name ( IF the Enable global font option is NOT tiched )

                              TIA

                              Best Regards,

                              guy038

                              xagabaX 1 Reply Last reply Reply Quote 0
                              • xagabaX
                                xagaba @Alan Kilborn
                                last edited by

                                @Alan-Kilborn

                                Sorry, I try it but no luck with that…
                                Seems to me that it’s not a rendering issue here…
                                Thanks anyway !

                                1 Reply Last reply Reply Quote 0
                                • xagabaX
                                  xagaba @guy038
                                  last edited by

                                  @guy038 said in Notepad++ v7.9.5 released:

                                  When you’ve just opened the Test.txt file, what encoding do you see, in the right part of the status bar ?

                                  Unix (LF) ANSI

                                  Could your provide the Debug Info… information of your Notepad++ configuration ( Menu option ? > Debug Info… )

                                  Notepad++ v7.9.5 (64-bit)
                                  Build time : Mar 21 2021 - 02:13:17
                                  Path : C:\Program Files\Notepad++\notepad++.exe
                                  Admin mode : OFF
                                  Local Conf mode : OFF
                                  OS Name : Windows 10 Pro (64-bit)
                                  OS Version : 2009
                                  OS Build : 19042.928
                                  Current ANSI codepage : 1252
                                  Plugins : DSpellCheck.dll mimeTools.dll NppConverter.dll NppExport.dll

                                  Could you also specifiy what is your current N++ font ?

                                  2d1dd923-f277-4cde-9510-62513ccddd62-imatge.png

                                  e68901a9-b0e6-43df-a5aa-bd951913fcac-imatge.png

                                  Let me know if you need anything else…

                                  Regards !

                                  1 Reply Last reply Reply Quote 1
                                  • guy038G
                                    guy038
                                    last edited by guy038

                                    Hi, @xagaba, @alan-kilborn and All,

                                    Thanks ! No, I don’t need anything else. I just wanted to know your current font and your default ANSI codepage :-)

                                    After downloading your file, I realized that it contains some parts with 1 null byte, EVERY 2 bytes. So, I supposed that it was, initially, a Windows Unicode encoded file !

                                    However, in that case, looking at its contents, with an hexadecimal editor, an invisible Byte Order Mark ( the two bytes FF and FE ) should had been at its very beginning ! As these two bytes are absent, just follow this quick method to get the things right :

                                    • Open your file Test.txt in Notepad++ ( 174 bytes )

                                    • Move to the very beginning of the file ( Ctrl + Home )

                                    • Hold down the ALT key and hit, successively, the 0, 2, 5 and 5 keys of the numeric keypad

                                    • Release the Alt key

                                    => The ÿ character, of ANSI code \xFF, should have been inserted at the very beginning

                                    Again :

                                    • Hold down the ALT key and hit, successively, the 0, 2, 5 and 4 keys of the numeric keypad

                                    • Release the Alt key

                                    => The þ character, of ANSI code \xFE, should have been inserted, right after the ÿ character

                                    • Save the modifications of the Test.txt file ( Ctrl + S )

                                    As specified above, the insertion of the ÿþ string at the very beginning of file, so the two bytes \xFF\xFE, represents the Byte Order Mark ( BOM ) of an UCS-2 LE BOM / UTF-16 LE encoded file, named Unicode in the Microsoft terminology !

                                    • Reload your Test.txt file ( Ctrl + R )

                                    Et voilà, done ;-))


                                    This time, the ÿþ string, added at the very beginning of your file is correctly detected as the invisible BOM.So, Notepad++ re-opens this file with the right encoding, displayed at the bottom of the status bar ( UCS-2 LE BOM )

                                    Note that all the characters and, specifically, all the Chinese characters, are normally displayed, if you’re using, for instance, a current monospaced font, like Courier New, Consolas or Lucida Console !

                                    Note also that your file has Unix line-endings ( LF = \x0a)

                                    Best regards,

                                    guy038

                                    1 Reply Last reply Reply Quote 2
                                    • guy038G
                                      guy038
                                      last edited by guy038

                                      Hi, @xagaba, @alan-kilborn and All,

                                      Below, a view of your file, with the correct appearance !

                                      May be, it’s worth to add that I installed, on my old XP SP3 laptop, since a long time, some services to see Far Eastern languages !

                                      17e00967-0e7d-48da-ae3c-61f903ce5aad-image.png


                                      Here is the English/American translation of this French windows, after using Start > Parameters > Regional and language options entry :

                                      Title : Regional and language options
                                      
                                      TABS : Regional options | Languages | Advanced Options
                                      
                                      Text services and input languages
                                      
                                      To view or change the languages and methods you can use to enter text, click on Details
                                                                                                                                        | Details |
                                      
                                      Support for additional languages
                                      
                                      Most languages are installed by default. To install additional languages select the corresponding options below.
                                      
                                        | |   Install files for languages with complex scripts and writing from right to left (this includes Thai)
                                      
                                        |x|   Install the files for the Far Eastern languages
                                      

                                      So, may be you’ll correctly see the #./Localization/Description and #./Localization/Name headers but you won’t be able to get the correct displaying of all the Chinese characters : !?

                                      BR

                                      guy038

                                      1 Reply Last reply Reply Quote 2
                                      • xagabaX
                                        xagaba
                                        last edited by

                                        Thanks for the explanation.
                                        When the BOM it’s present I can see the Chinese chars correctly.

                                        My problem was that windows notepad loads the file fine (also without the BOM) and notepad++ doesn’t.

                                        1 Reply Last reply Reply Quote 1
                                        • Ayansh VardhanA
                                          Ayansh Vardhan
                                          last edited by

                                          i install notepad and then something went wrong

                                          PeterJonesP 1 Reply Last reply Reply Quote -1
                                          • Ayansh VardhanA
                                            Ayansh Vardhan
                                            last edited by

                                            @xagaba please help me fix the notpad++ cause something went wrong

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