• Login
Community
  • Login

Displaying error in codes

Scheduled Pinned Locked Moved General Discussion
3 Posts 2 Posters 286 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.
  • L
    linzhongzi
    last edited by Sep 23, 2023, 11:43 PM

    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.

    R 1 Reply Last reply Sep 24, 2023, 1:00 AM Reply Quote 0
    • R
      rdipardo @linzhongzi
      last edited by rdipardo Sep 24, 2023, 1:02 AM Sep 24, 2023, 1:00 AM

      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

      R 1 Reply Last reply Sep 24, 2023, 1:30 AM Reply Quote 2
      • R
        rdipardo @rdipardo
        last edited by Sep 24, 2023, 1:30 AM

        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
        2 out of 3
        • First post
          2/3
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors