Community
    • Login

    Notepad++ v8.4.9 Release

    Scheduled Pinned Locked Moved Announcements
    58 Posts 19 Posters 18.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.
    • Alan KilbornA
      Alan Kilborn @wallobit
      last edited by

      @wallobit said in Notepad++ v8.4.9 Release:

      -notepadStyleCmdline -z no longer seems to interpret the complete file path and file name as a whole.

      Fixed, and fix will be in 8.5.

      1 Reply Last reply Reply Quote 1
      • Register NonameR
        Register Noname
        last edited by

        There is display bug on NPP, related to UTF-8 graphical symbols.
        Here example of the text:
        šŸž‚ ā—·Ā ā—“ ā—µ ā—¶ - clock
        ā—·Ā ā—“ ā—µ ā—¶ - clock
        This is how it looks in NPP
        94a79c23-f9df-4751-8d75-59c6053d176a-image.png
        The bug is not limited to above symbols, there are quite a few that have similar issue.
        Somehow putting that specific triangle symbol in the beginning of line suddenly makes all subsequent symbols also appear correctly.

        PeterJonesP 1 Reply Last reply Reply Quote 0
        • PeterJonesP
          PeterJones @Register Noname
          last edited by PeterJones

          @Register-Noname said in Notepad++ v8.4.9 Release:

          šŸž‚ ā—·Ā ā—“ ā—µ ā—¶ - clock
          ā—·Ā ā—“ ā—µ ā—¶ - clock

          It appears that you want DirectWrite enabled; see Settings > Preferences > MISC. As the Preferences dialog says, turning it on ā€œmay improve rendering special charactersā€.

          I confirmed in v8.4.9 with my settings, DirectWrite off will have display problems like you showed, whereas DirectWrite on will show all the characters correctly:
          0544b2fb-361b-466d-8cd8-6fce2d0fcf5c-image.png

          But the same has been true for many versions, not just v8.4.9, so this really should have been a separate topic, since it’s not specific to v8.4.9.

          @donho: BTW, we frequently get questions here that are solved by DirectWrite being on. Is there a reason that we cannot have that setting enabled by default – that way, new users will just see Notepad++ work great with Unicode characters, rather than having to come complain about poor Unicode behavior and then be told that they need to change a setting. Let me know if you want me to create an issue.

          Register NonameR 1 Reply Last reply Reply Quote 4
          • Register NonameR
            Register Noname @PeterJones
            last edited by Register Noname

            @PeterJones I agree this was true for very long time. Sorry I’m new here didn’t want go with opening tickets right away :)
            DirectWrite (whatever it is) indeed helped. Thank you!
            I also agree that this setting should be enabled by default if the ā€˜standard behavior’ cannot be fixed.

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

              Hello, @register-noname, @peterjones and All,

              I did some tests and, indeed, the use of DirectWrite insrease rendering of characters !

              I verified that, if the DirectWrite option is not checked, the four Unicode characters, provided by @register-noname, are properly displayed ONLY IF the current line contains a character with codepoint over the BMP, so with codepoint above FFFF !

              Compare these two screen-shoots below :

              0ad5f019-5ff1-43e3-b503-c49e8f04398d-Without_DirectWrite.png

              WITHOUT Direct Write

              And :

              27f5dc38-0abb-47d7-b442-6aa2235cb64f-With_DirectWrite.png

              WITH Direct Write

              Note, particularly, the differences in lines 1 , 2 , 15 and 16 ;-))

              Best Regards,

              guy038

              1 Reply Last reply Reply Quote 3
              • makuhlmannM
                makuhlmann
                last edited by

                Hi there, found a regression: the software does not launch anymore on Windows Vista and Windows Server 2008 systems (NT 6.0). The application quits with the error message

                ā€œThe procedure entry point CoGetApartmentType could not be located in the dynamic link library ole32.dll.ā€

                This issue seems to be present since 8.4.7 already, 8.4.6 is the last version that launches fine.

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

                  @makuhlmann

                  This was noted HERE as well.
                  Perhaps the SUPPORTED_SYSTEM.md file is in need of updating.

                  donhoD 1 Reply Last reply Reply Quote 0
                  • donhoD
                    donho @Alan Kilborn
                    last edited by

                    @makuhlmann

                    This issue seems to be present since 8.4.7 already, 8.4.6 is the last version that launches fine.

                    Could you help us to identify the problem please:
                    https://github.com/notepad-plus-plus/notepad-plus-plus/issues/13074#issuecomment-1445398398

                    1 Reply Last reply Reply Quote 0
                    • donhoD donho unpinned this topic on
                    • Ann WitbrockA
                      Ann Witbrock @donho
                      last edited by Ann Witbrock

                      @donho
                      Using 8.4.9 for Python.
                      Notepadplusplus spacetab 2023-05-03 200052.jpg

                      When inserting a tab in an existing Python file, the editor does not respect the setting preference flag for converting tabs to spaces. That is, it always uses spaces whether ā€œReplace by spaceā€ is checked or unchecked.
                      The line with 3 columns in the image has just had a tab inserted.

                      Obviously this is dreadful for Python. It means that misalignment of new code can only be corrected by turning everything into spaces (not desirable) via unindent/indent of blocks.

                      NB it works ok for a new file (prior to save).

                      I will install the latest version to see if it is better and update here as appropriate.

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

                        @Ann-Witbrock said in Notepad++ v8.4.9 Release:

                        turning everything into spaces (not desirable)

                        Did you know that the recommended standard for Python is to use spaces for indentation and NOT tab characters?

                        the editor does not respect the setting preference flag for converting tabs to spaces.

                        You aren’t showing the setting for Python in your screenshot. Scroll the listbox in the Tab Settings groupbox down to where the python item is shown and make it active, and then post THAT screenshot. Only then will we know what the setting for Python files is.

                        Ann WitbrockA 1 Reply Last reply Reply Quote 0
                        • Ann WitbrockA
                          Ann Witbrock @Alan Kilborn
                          last edited by Ann Witbrock

                          @Alan-Kilborn Unfortunately we can not always work in our own files. We can still expect our editor to work as expected. I discovered this glitch while working in such a file, when I added some print lines to see the workings. It would have been fine if I could have set the compatibility at all.

                          The same behaviour is still present in 8.5.2 (see detailed progression of test), including fully setting Python as you pointed out, thanks :-)
                          (The label ā€œDisabled itemsā€ was a bit confusing there, and it’s been a while since I used this editor often so I misinterpreted the highlight).

                          I think we can probably conclude this is also true for other languages, but it’s vital for Python.

                          Notepadpp 8_5_2 spacetab 2023-05-03 204039.jpg

                          Alan KilbornA Mark OlsonM 2 Replies Last reply Reply Quote 0
                          • Alan KilbornA
                            Alan Kilborn @Ann Witbrock
                            last edited by Alan Kilborn

                            @Ann-Witbrock said in Notepad++ v8.4.9 Release:

                            including fully setting Python as you pointed out

                            How come you aren’t showing this to us here, in a screenshot, like I asked?

                            The label ā€œDisabled itemsā€ was a bit confusing

                            Disabled items has nothing to do with what we’re discussing.

                            Show us your setting like this, with python in view and selected:

                            a99da0a7-f513-45ca-a2b6-2c9dd49ea58b-image.png

                            Ann WitbrockA 1 Reply Last reply Reply Quote 1
                            • Mark OlsonM
                              Mark Olson @Ann Witbrock
                              last edited by

                              @Ann-Witbrock
                              before:
                              9adf707d-b3d4-4d25-9301-e21010c723b3-image.png
                              use Edit->Blank Operations->TAB to SPACE
                              e4a51f79-c327-4bd6-aed9-43b7315e1bf7-image.png
                              after:
                              ff927e40-bf21-4ac0-83ba-99df37a2c934-image.png

                              1 Reply Last reply Reply Quote 1
                              • Ann WitbrockA
                                Ann Witbrock @Alan Kilborn
                                last edited by

                                @Alan-Kilborn I’m sorry you are not making yourself at all clear.

                                I see in the thread below that there is a new, additional place to set this. I had not noticed this in the menu. Perhaps the word Blank is not so obvious if you aren’t expecting it.

                                I’ll try again with that setting. Not sure how that should interact with the global setting.

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

                                  @Ann-Witbrock said in Notepad++ v8.4.9 Release:

                                  I’m sorry you are not making yourself at all clear.

                                  I think I’m pretty clear, if you’d just read and provide what I’m asking for.
                                  You are probably referring to Mark’s posting, which isn’t going to help you solve the root of your problem (which is, what you get [spaces or tab character] when you press the Tab key).

                                  Ann WitbrockA 1 Reply Last reply Reply Quote 1
                                  • Ann WitbrockA
                                    Ann Witbrock @Alan Kilborn
                                    last edited by Ann Witbrock

                                    @Alan-Kilborn It’s OK I see it now, I was attempting setting the language in the main panel rather than the tab settings panel. I’m sorry. I’ve been using other editors more recently and missed the labelling. It’s really quite obvious ONCE YOU SEE IT!
                                    And it does resolve my problem, indeed.

                                    To avoid confusion, it might be useful to have it obey the default when no language is set.

                                    I’ve tried out the edit menu settings as well now (thanks Mark for pointing me in the right direction) and although it’s a little confusing it seems to be quite useful :-) This actually would have saved me all the trouble if I’d noticed in advance and changed all the tabs to spaces as normal.

                                    Hopefully this discussion will help others if they come across this. Thanks.

                                    CoisesC 1 Reply Last reply Reply Quote 3
                                    • CoisesC
                                      Coises @Ann Witbrock
                                      last edited by

                                      @Ann-Witbrock said in Notepad++ v8.4.9 Release:

                                      To avoid confusion, it might be useful to have it obey the default when no language is set.

                                      I’m pretty sure Notepad++ does that, but it sets ā€œlanguageā€ automatically based on the file extension. Normally that’s a good thing, but…

                                      Does it seem to anyone else that when you open Settings… | Preferences | Language, the language selector in the Tab Settings box ought to start off with the language currently applied to the active file highlighted? I’m fairly sure at least some of the ones I see that are not set to Use default value — like python and yaml — were not set that way by me. I’m not sure it would even occur to me, if I were editing a *.yaml file (if that is what triggers yaml) that it was a language and not just an unknown file extension (which it is to me). So I might be thrashing about the same way, wondering why my settings weren’t effective.

                                      Side note: Is there a reason the language names there aren’t the same as the ones in the Language Menu list just to the left (e.g., C++ in the Language Menu, but cpp in the Tab Settings?

                                      rdipardoR 1 Reply Last reply Reply Quote 0
                                      • rdipardoR
                                        rdipardo @Coises
                                        last edited by

                                        @Coises said in Notepad/+/+ v8/.4/.9 Release:

                                        Side note: Is there a reason the language names there aren’t the same as the ones in the Language Menu list just to the left (e.g., C++ in the Language Menu, but cpp in the Tab Settings?

                                        The latter is populated by simply iterating Lexilla’s module identifiers (*1): https://github.com/notepad-plus-plus/notepad-plus-plus/blob/7e6c4b3c6bb08ccd9da4ef09c3361ea16f0409bb/PowerEditor/src/WinControls/Preference/preferenceDlg.cpp#L2884-L2887


                                        (*1)

                                        $ git clone https://github.com/ScintillaOrg/lexilla.git
                                        $ cd lexilla/examples/CheckLexilla
                                        $ CFLAGS=-Wno-deprecated-declarations make check
                                        gcc -I ../../include  -Wno-deprecated-declarations CheckLexilla.c   -o CheckLexilla.exe
                                        ./CheckLexilla.exe
                                        Opened ../../bin/lexilla.dll -> 00007ff9c2350000.
                                        There are 132 lexers.
                                        a68k abaqus ada apdl as asciidoc asm asn1 asy au3 ave avs baan bash batch bib blitzbasic bullant caml cil clarion clarionnocase cmake COBOL coffeescript conf cpp cppnocase csound css d dataflex diff DMAP DMIS ecl edifact eiffel eiffelkw erlang errorlist escript f77 flagship forth fortran freebasic fsharp gap gdscript gui4cli haskell hollywood hypertext ihex indent inno json julia kix kvirc latex lisp literatehaskell lot lout lua magiksf makefile markdown matlab maxima metapost mmixal modula mssql mysql nim nimrod nncrontab nsis null octave opal oscript pascal powerbasic perl phpscript PL/M po pov powerpro powershell abl props ps purebasic python r raku rebol registry ruby rust sas scriptol smalltalk SML sorcins specman spice sql srec stata fcST TACL tads3 TAL tcl tcmd tehex tex txt2tags vb vbscript verilog vhdl visualprolog x12 xml yaml
                                        Lexer factory 4 -> 00007ff9c236fe30.
                                        Created cpp lexer -> 0000016796a00000.
                                        Lexer name 3 -> cpp.
                                        Property names ''.
                                        Name space 'lexilla'.
                                        
                                        CoisesC 1 Reply Last reply Reply Quote 1
                                        • CoisesC
                                          Coises @rdipardo
                                          last edited by

                                          @rdipardo said in Notepad++ v8.4.9 Release:

                                          @Coises said in Notepad/+/+ v8/.4/.9 Release:

                                          Side note: Is there a reason the language names there aren’t the same as the ones in the Language Menu list just to the left (e.g., C++ in the Language Menu, but cpp in the Tab Settings?

                                          The latter is populated by simply iterating Lexilla’s module identifiers (*1): https://github.com/notepad-plus-plus/notepad-plus-plus/blob/7e6c4b3c6bb08ccd9da4ef09c3361ea16f0409bb/PowerEditor/src/WinControls/Preference/preferenceDlg.cpp#L2884-L2887

                                          Forgive me, but I’m now more confused than I thought I was before. I see that languages in the Language Menu box appear to match up with the languages that are, in fact, on the Language menu (though for some reason I can’t guess, they’re in some apparently random order), but are the languages in the Tab Settings in fact the same languages, just using different identifiers? I can’t make out from the code you linked and the code above it what, if anything, is the connection between the two. (Hmmm… I count 88 entries in the Language Menu box and 85 in the Tab Settings box, so I guess they can’t be quite the same… but nothing in the documentation clarifies to me what is the connection.)

                                          All this even more makes me think it really would be best to highlight the entry that’s actually in control of the current document; otherwise situations like @Ann-Witbrock encountered seem inevitable.

                                          Alan KilbornA PeterJonesP 2 Replies Last reply Reply Quote 1
                                          • Alan KilbornA
                                            Alan Kilborn @Coises
                                            last edited by

                                            @Coises said in Notepad++ v8.4.9 Release:

                                            …otherwise situations like @Ann-Witbrock encountered seem inevitable.

                                            My first thought was putting some static text in the Tab Settings groupbox that says ā€œ[Default] setting is in effect unless overridden by setting for specific languageā€. My second thought was that that is pointless because that’s pretty much the definition of ā€œdefaultā€.

                                            best to highlight the entry that’s actually in control of the current document

                                            I don’t see any problem with this; are you going to make it a real feature request?

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