Community
    • Login

    Hidden character "&"

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    5 Posts 3 Posters 6.5k Views 2 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.
    • Tec KelT Offline
      Tec Kel
      last edited by

      Hello,
      On my Windows 7 32bit computer, in “Visual Basic file” language (and only under this language), the character “&” is masked… When I want type, for example:
      variable = (var1 & “hello” & var2), Notepad++ dislpay: variable = (var1 “hello” var2)…
      as if all the “&” arent replaced by a space.
      Have you a solution ?
      Thanks
      Sébastien

      1 Reply Last reply Reply Quote 0
      • Joanne HarrisonJ Offline
        Joanne Harrison
        last edited by Joanne Harrison

        I also have this problem, the “&” characters are in the text but are rendered as white space when using
        some of the Language settings.

        Languages which correctly display the “&” character include:-
        Batch, Diff, HTML, JSP, Makefile, Normal Text, PHP

        Languages which DO NOT correctly display the “&” character include:-
        Assembly, C, C++, Java, Javascript, Python

        This is really annoying!

        Joanne

        (Notepad++ version 6.8.2 on Windows 10 Pro x64)

        1 Reply Last reply Reply Quote 0
        • Joanne HarrisonJ Offline
          Joanne Harrison
          last edited by

          I have a temporary fix which works for me.

          I went into the Style Configurator and for Java -> OPERATOR , I unticked the ‘Bold’ box and
          my “&” re-appeared

          I suspect the underlying problem is with the Source Code Pro font

          Joanne

          1 Reply Last reply Reply Quote 0
          • Joanne HarrisonJ Offline
            Joanne Harrison
            last edited by

            The fault is in the “Source Code Pro” font installed on my PC, the bold font doesn’t display the “&” character
            but the normal font does.

            I fixed this by replacing the font.

            Joanne

            1 Reply Last reply Reply Quote 0
            • h-h-h-hH Offline
              h-h-h-h
              last edited by

              Reference: issue #729

              1 Reply Last reply Reply Quote 0

              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