Community
    • Login

    RTL-alignment

    Scheduled Pinned Locked Moved General Discussion
    4 Posts 2 Posters 255 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.
    • Christian WolffC
      Christian Wolff
      last edited by

      If a string is in Arabic (rtl alignment), Notepad++ makes errors in the positioning of the cursor. If a word is to be changed within the string, this change is made in the completely wrong place and not where the cursor is pointing.

      xomxX 1 Reply Last reply Reply Quote 0
      • xomxX
        xomx @Christian Wolff
        last edited by

        @Christian-Wolff

        This should work (if not a mixed text, e.g. English and Arabic words together), are you using the N++ in its Ctrl+Alt+R mode (menu > View > Text Direction RTL)?

        Christian WolffC 1 Reply Last reply Reply Quote 2
        • Christian WolffC
          Christian Wolff @xomx
          last edited by

          @xomx Unfortunately, there is always mixed text in HTML because tags must be placed between the RTL text. For example, for the number 3·10^8 - you will never find the 8 in Arabic text to set the <sup></sup>-tags!

          xomxX 1 Reply Last reply Reply Quote 0
          • xomxX
            xomx @Christian Wolff
            last edited by

            @Christian-Wolff said in RTL-alignment:

            mixed text in HTML

            In this case, N++ is not currently a suitable editor for you. For that you need BiDi-support, for more details see e.g. here: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/10664

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