• Login
Community
  • Login

copying LTR text in RTL mode

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
7 Posts 4 Posters 515 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.
  • U
    Uchi Kun
    last edited by Nov 17, 2023, 2:20 PM

    Hi,
    I’m having issues with right-to-left mode. I am trying to edit a file written in XML (I think), but editing the English tags is extremely annoying. Whenever I hover my mouse to copy a certain word inside an English line (while I’m in RTL), the program copies/deletes the text from the other end. Trying to insert English characters inside English tags also doesn’t work.
    For example:

    נעים מאוד <wait:30><b> שלום
    

    If I were to to try to copy the three characters <b>, the program would instead copy <wa (the other way around).
    Trying to highlight the ‘t’ in ‘wait’ and replacing it with another character, the ‘0’ in ‘30’ is replaced instead.
    Can this be fixed? I’ve seen people complaining about it but it hasn’t been fixed yet.

    Thank you!

    Y 1 Reply Last reply Nov 17, 2023, 8:54 PM Reply Quote 3
    • Y
      Yaron @Uchi Kun
      last edited by Nov 17, 2023, 8:54 PM

      @Uchi-Kun,

      This is indeed an old issue.
      I use EditPad for editing mixed Latin & Hebrew text.

      P U 2 Replies Last reply Nov 17, 2023, 9:08 PM Reply Quote 1
      • P
        PeterJones @Yaron
        last edited by PeterJones Nov 17, 2023, 9:09 PM Nov 17, 2023, 9:08 PM

        @Yaron said in copying LTR text in RTL mode:

        @Uchi-Kun,

        This is indeed an old issue.
        I use EditPad for editing mixed Latin & Hebrew text.

        I’ve gathered over the years that you are one of the most knowledgeable people on Notepad++ and RTL, so your response is rather disheartening to me. Do you know if the limitation is in Notepad++ itself? Or does Scintilla just not handle the mix well? Or is Notepad++'s handling so convoluted that it’s impossible to tell where things would have to be improved to handle mixed-direction text correctly?

        Y 1 Reply Last reply Nov 17, 2023, 9:32 PM Reply Quote 2
        • Y
          Yaron @PeterJones
          last edited by Nov 17, 2023, 9:32 PM

          @PeterJones,

          Unfortunately Scintilla does not fully support RTL.
          (I thought that most users wouldn’t be interested in the Notepad++/Scintilla distinction).

          You can edit LTR text in LTR mode, and RTL text in RTL mode.
          And only if DirectWrite is disabled.

          A 1 Reply Last reply Nov 17, 2023, 9:41 PM Reply Quote 2
          • A
            Alan Kilborn @Yaron
            last edited by Alan Kilborn Nov 17, 2023, 9:42 PM Nov 17, 2023, 9:41 PM

            @Yaron said in copying LTR text in RTL mode:

            Unfortunately Scintilla does not fully support RTL.

            I thought that most users wouldn’t be interested in the Notepad++/Scintilla distinction.

            I suppose OP should be directed to request of Scintilla that it better support RTL, rather than letting OP think that it is a Notepad++ problem.

            1 Reply Last reply Reply Quote 0
            • U
              Uchi Kun @Yaron
              last edited by Nov 18, 2023, 11:39 AM

              @Yaron This is disappointing… Considering many basic programs support BiDi.
              Is it really not possible to fix it somehow? A plugin or something?

              Y 1 Reply Last reply Nov 19, 2023, 1:01 AM Reply Quote 0
              • Y
                Yaron @Uchi Kun
                last edited by Nov 19, 2023, 1:01 AM

                @Uchi-Kun,

                You can add your request in https://sourceforge.net/p/scintilla/feature-requests/ .

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