Community
    • Login

    glyphless characters

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 4 Posters 2.3k Views 3 Watching
    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.
    • Manuel BerriM Offline
      Manuel Berri
      last edited by

      Hi fellow notepadd++ addicts,

      I would like to know if there is a way (a plug-in perhaps ?) to have NotePad++ display non-graphic characters (such as the private use area characters) by mean of an hexadecimal code within a square instead of just an empty square.
      If not, then it’s a pity: notePad ++ should be able to replace glyphless characters by their codepoint (see me coming with a request-for-feature ?)

      Kind regards,

      1 Reply Last reply Reply Quote 0
      • dailD Offline
        dail
        last edited by

        This isn’t possible as far as I know. Notepad++ uses Scintilla for all the lower level character handling and display. So any feature request would have to be made to that project.

        1 Reply Last reply Reply Quote 0
        • auralarchA Offline
          auralarch
          last edited by

          How about using a font for this instead?
          (I can’t predict the potential viability this solution without knowledge of your goals/objectives.)

          I wish I could remember the name of—or find— a (series of) font(s) I encountered this summer which had a glyph for each valid code point consisting of its hex ID, encased in a box with a watermark of an iconic character identifying/representing the script or unicode block.

          Although, I haven’t managed to uncover a way of configuring default fonts (based on script) or designating a fallback font in npp—if it exists…

          I know I’m not providing much, but it is an idea/starting point which I hope can help someone.

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

            If you know all of the code-points you want, you can do it through Python Script. For example, see this other thread, where I show how to include four zero-width characters in a visibility-toggle.

            However, if you want all 6400 characters in the BMP U+E000…U+F8FF range, or all the characters in the two 64K PUP ranges, I would recommend a loop…

            for codepoint in range(0xE000, 0xF8FF):
                editor.setRepresentation(unichr(codepoint),hex(codepoint))
            

            (And a similar loop for the PUP ranges, if desired)

            Hope this helps.

            1 Reply Last reply Reply Quote 1

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors