Community
    • Login

    Displaying error in codes

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 2 Posters 266 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.
    • linzhongziL
      linzhongzi
      last edited by

      ba3e8109-3148-4f2e-9d28-d2677255fa6d-image.png
      two percent(%) + 】 will display as the line 1. When I add a space between them will display well.

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

        The bug is not in Notepad++, but a third-party library. Other editors using the same library have the same problem.

        batch-mojibake.png

        Save the file which revealed the bug and make a report here: https://github.com/ScintillaOrg/lexilla/issues

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

          P.S.

          Make sure to paste the following into your issue comment:

          `Accessor::ColourTo` is called on the high order byte of `】` as if it were a local variable:
          
          https://github.com/ScintillaOrg/lexilla/blob/4c5e7a0ef5410ed26bf99203cf27227413865f4d/lexers/LexBatch.cxx#L485-L497
          
          The offset calculation should take multi-byte character boundaries into account.
          
          1 Reply Last reply Reply Quote 3
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors