Community
    • Login

    In normal text file, ... and === and <<< are displayed oddly. How to disable?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    5 Posts 3 Posters 1.0k Views 1 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.
    • Michael KM Offline
      Michael K
      last edited by

      I’m a few-hours-old noob to Notepad++, so far just using it on plain text files (yes, it says “Normal text file” at bottom left when I’m editing). By happenstance I have a file with “===” in it, and Notepad++ is displaying that as a single “three-lined” equal sign. While typing I also noticed that three periods in a row, or three “<”, or three “>” are also displayed weirdly. I’m doing precise textual stuff with a monospaced font, so this weird “visual replacement” is a huge problem. I’ve scoured Settings and Style Configurator and can’t find how to turn this off. Is there a way?

      Michael KM 1 Reply Last reply Reply Quote 0
      • Michael KM Offline
        Michael K @Michael K
        last edited by

        Ok, I sort of figured it out. I had chosen Cascadia Code for my font, so I tried some other monospace fonts just now and they don’t seem to have this issue. So I guess it’s the fault of Cascadia Code? Too bad, I really liked the look of that font, but I guess I shall avoid it.

        L 1 Reply Last reply Reply Quote 1
        • L Offline
          litos81 @Michael K
          last edited by

          Hi @Michael-K

          Probably what you were seeing was the ligature (where certain chain of characters are joined in one) support from that font.
          If you like Cascadia, you may try the version ‘Cascadia mono’ which is a version of Cascadia without ligatures.

          Michael KM Alan KilbornA 2 Replies Last reply Reply Quote 3
          • Michael KM Offline
            Michael K @litos81
            last edited by

            @litos81,

            Oh, wonderful - Cascadia mono works perfectly. Thanks!

            1 Reply Last reply Reply Quote 0
            • Alan KilbornA Offline
              Alan Kilborn @litos81
              last edited by Alan Kilborn

              @litos81 said in In normal text file, ... and === and <<< are displayed oddly. How to disable?:

              Probably what you were seeing was the ligature (where certain chain of characters are joined in one) support from that font.

              For readers unfamiliar with “ligatures”, in simple terms it is a visual transmuting of adjacent characters.

              Here are some examples, from typical programming languages:

              • test for equality: without ligature support it would appear ==; with support it looks like this:
                cd9c8b92-3a60-4f25-ad63-f51743752655-image.png

              • test for inequality: without ligature support it would appear !=; with support it looks like this:
                199bf85b-c607-4b93-b6d2-f8a068e069af-image.png

              • if you put three equal signs together (===), you can get this:
                e96f3f13-bd02-47f1-a9a0-b9ede337ccff-image.png

              All the examples I’ve shown use the equal sign in them, but ligatures go way beyond that (using other character combinations).

              1 Reply Last reply Reply Quote 2

              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