Community
    • Login

    Notepad++ 7.8 Release

    Scheduled Pinned Locked Moved Announcements
    66 Posts 19 Posters 19.9k 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.
    • geminorumG
      geminorum @geminorum
      last edited by

      @geminorum said in Notepad++ 7.8 Release:

      I can confirm is caused by one of the plugins:

      DSpellCheck x64 v1.4.15 is causing the problem.

      there are other minor (compare to this one) issues on rtl, but this one prevents me from using npp.

      thank you

      1 Reply Last reply Reply Quote 1
      • PeterJonesP
        PeterJones
        last edited by PeterJones

        @geminorum said in Notepad++ 7.8 Release:

        this one prevents me from using npp.

        Unfortunately, if the plugin is causing the problem, I don’t know whether there’s anything that can be done in the main Notepad++ application; and if you reported that in the bug area, I would be very surprised if it weren’t rejected as “problem caused by plugin”.

        You might try either living with v7.7.1, which works for you, or not using DSpellCheck. Or you might see if you can work with the DSpellCheck issues to see if they can help figure out what part of their plugin causes Notepad++ to mess up this fundamental issue in RTL.

        geminorumG 1 Reply Last reply Reply Quote 0
        • geminorumG
          geminorum @PeterJones
          last edited by

          @PeterJones said in Notepad++ 7.8 Release:

          Or you might see if you can work with the DSpellCheck issues to see if they can help figure out what part of their plugin causes Notepad++ to mess up this fundamental issue in RTL.

          disabled the plugin and I will try to the DSpellCheck issues.

          1 Reply Last reply Reply Quote 0
          • geminorumG
            geminorum @PeterJones
            last edited by geminorum

            @PeterJones said in Notepad++ 7.8 Release:

            Okay, I grabbed the first two lines from the section in https://ganjoor.net/bidel/ghazalbi/sh1968/ (the link from your screenshot), whcih seemed to match lines 38-39 in your screenshots. Giving us the text, or the base64-encoded version of the text so that the forum doesn’t mangle it, would have really helped.

            نور جان در ظلمت آباد بدن گم کرده‌ام
            آه ازین یوسف‌ که من در پیرهن ‌گم‌کرده‌ام
            

            since you have the text, please try another issues:

            • in RTL mode, use left and right key to change the pointer on the text. this will be reversed on RTL for many years now. (reported issue here, here and here)

            • another is the wrong selection of unicode strings. (reported here, here and here)

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

              @geminorum said in Notepad++ 7.8 Release:

              since you have the text, please try another issues:
              in RTL mode, use left and right key to change the pointer on the text. this will be reversed on RTL for many years now. (reported issue here, here and here)

              Confirmed

              another is the wrong selection of unicode strings. (reported here, here and here)

              Not tried, but I assume that the bug reports were describing real behavior.

              The next step, if you want these issues fixed, is to download SciTE, which is the Scintilla-group’s testbed editor. If SciTE (with the same version of Scintilla that Notepad++ has) shows the same bug (whether it is arrow direction or problems with other unicode strings), then the problem is with the Scintilla component, and there is nothing that the Notepad++ development team can do.

              • If you can show that a SciTE and a Notepad++ with the same scintilla version (since NPP 7.8.2 uses Scintilla 4.2.0, you would want to compare to SciTE v4.2.0) behave differently – that SciTE does the right thing, and Notepad++ does the wrong thing – then the problem is with Notepad++, and if you present your data which proves that it’s NPP’s fault in a new NPP issue, it might be taken more seriously than the previous issues that you’ve linked to; I’d highly suggest methodical and thoroughly documented (screenshots for sure; video screencaptures recommended, for example using ScreenToGif), with example text that the developers can easily access without having to read a URL from an image, or to beg you for extra information.

              • OTOH, if it behaves wrongly in SciTE v4.2.0 as well, then it’s the fault of the Scintilla component, and there’s nothing that Notepad++ developers can do, and the bug report would have to be made through Scintilla’s bug and feature request interface. Assuming it gets fixed in Scintilla, then once that’s released, you can lobby the Notepad++ team to incorporate the fixed Scintilla component into the next release of Notepad++.

              geminorumG 1 Reply Last reply Reply Quote 0
              • geminorumG
                geminorum @PeterJones
                last edited by geminorum

                @PeterJones said in Notepad++ 7.8 Release:

                The next step, if you want these issues fixed, is to download SciTE, which is the Scintilla-group’s testbed editor. If SciTE (with the same version of Scintilla that Notepad++ has) shows the same bug (whether it is arrow direction or problems with other unicode strings), then the problem is with the Scintilla component, and there is nothing that the Notepad++ development team can do.

                apparently, SciTE (v4.2.0, v.4.2.3) does not support text direction:

                SciTE_2019-12-11_04-22-47.png

                maybe I’m wrong, but seems to me that the RTL layout is NPP feature.

                PeterJonesP geminorumG 3 Replies Last reply Reply Quote 0
                • PeterJonesP
                  PeterJones @geminorum
                  last edited by

                  @geminorum,

                  Sorry, I’m not a SciTE expert. It might be in the Options rather than the View.

                  geminorumG 1 Reply Last reply Reply Quote 0
                  • geminorumG
                    geminorum @geminorum
                    last edited by

                    @geminorum said in Notepad++ 7.8 Release:

                    maybe I’m wrong, but seems to me that the RTL layout is NPP feature.

                    the order of words are reversed in NPP:
                    notepad++_2019-12-11_04-34-02.png

                    then again is correct on SciTE:
                    Sc423_2019-12-11_04-33-26.png

                    the raw text:

                    سیر خیال هستی رنگ فضولیی داشت
                    از خجلت جدایی یاد عدم نکردم
                    

                    also, the wrong selection of unicode strings is also appears on SciTE.

                    geminorumG 1 Reply Last reply Reply Quote 0
                    • geminorumG
                      geminorum @PeterJones
                      last edited by

                      @PeterJones said in Notepad++ 7.8 Release:

                      @geminorum,

                      Sorry, I’m not a SciTE expert. It might be in the Options rather than the View.

                      checked all the menus. maybe it’s on SciTE config file.

                      1 Reply Last reply Reply Quote 0
                      • geminorumG
                        geminorum @geminorum
                        last edited by

                        @geminorum said in Notepad++ 7.8 Release:

                        also, the wrong selection of unicode strings is also appears on SciTE.

                        https://sourceforge.net/p/scintilla/bugs/757/

                        1 Reply Last reply Reply Quote 0
                        • geminorumG
                          geminorum @geminorum
                          last edited by

                          @geminorum said in Notepad++ 7.8 Release:

                          maybe I’m wrong, but seems to me that the RTL layout is NPP feature.

                          according to this, SciTE does not support RTL or Bidi.

                          1 Reply Last reply Reply Quote 0
                          • Diz QD
                            Diz Q
                            last edited by

                            hi all. i have not posted before but since i think i have the solution i thought i should jump in.

                            @geminorum i see from your plugins screenshot you have the jN scripting plugin (and maybe other scripting plugins that i cant see) installed. if i can first of all point you to the relevant part of the scintilla docs at https://www.scintilla.org/ScintillaDoc.html#SCI_SETTECHNOLOGY
                            so im assuming you (or some other script you maybe dont know about) have changed the rendering technology away from the default 0 setting. i do the same because i think it looks better (in ltr english of course!). anyway this is your problem as i can reproduce exactly the results you describe. set this setting back to 0 (default) will fix your issue, or at least it did for me!

                            geminorumG 1 Reply Last reply Reply Quote 1
                            • geminorumG
                              geminorum @Diz Q
                              last edited by geminorum

                              @Diz-Q said in Notepad++ 7.8 Release:

                              i see from your plugins screenshot you have the jN scripting plugin (and maybe other scripting plugins that i cant see) installed.

                              I have multiple instances of NPP with and without jN, and actually not using any scripts. (just installed to use my own js lib on NPP which was a failure.)

                              we were talking about multiple issues:

                              • problem on RTL layout switch: caused by a plugin: DSpellCheck x64 v1.4.15
                              • problem with reversed order of words on unicode strings: appears on NPP, no problem on SciTE.
                              • problem with reversed left/right arrow key in RTL: very old one, since I remember using NPP. multiple reported issues on github and almost every time, dismissed as Scintilla’s. (which apperanlty caused by NPP, because Scintilla has no support for RTL layout.)
                              • problem with unicode text selection on LTR and RTL, that appears on both SciTE and NPP. with multiple reported issues on github.

                              set this setting back to 0 (default) will fix your issue, or at least it did for me!

                              the SciTE that I used for test, has no config file, supposedly with default settings. but I will try the config once I can figure out how to set them in SciTE.

                              and thank you for your input.

                              geminorumG 1 Reply Last reply Reply Quote 0
                              • geminorumG
                                geminorum @geminorum
                                last edited by

                                @geminorum said in Notepad++ 7.8 Release:

                                • problem with unicode text selection on LTR and RTL, that appears on both SciTE and NPP.

                                correction: the problem is only on LTR layout (both NPP and SciTE). on NPP in RTL is working fine.

                                1 Reply Last reply Reply Quote 0
                                • Diz QD
                                  Diz Q
                                  last edited by

                                  @geminorum yeah, sorry, i wasnt clear. i was talking specifically about the rtl switch issue not the others. somehow i guess i missed the post where you said dspellcheck was the culprit so i didnt know you had fixed it at the time. maybe just a coincidence that i had replicated the exact issue as you described with a different plugin that you also happened to have installed… so weird!

                                  1 Reply Last reply Reply Quote 0
                                  • Diz QD
                                    Diz Q
                                    last edited by

                                    even weirder still, the dspellcheck plugin does NOT cause that issue at my end!

                                    1 Reply Last reply Reply Quote 0
                                    • Madeleine RahimzM
                                      Madeleine Rahimz
                                      last edited by

                                      This post is deleted!
                                      1 Reply Last reply Reply Quote -3
                                      • PeterJonesP PeterJones locked this topic on
                                      • First post
                                        Last post
                                      The Community of users of the Notepad++ text editor.
                                      Powered by NodeBB | Contributors