Community
    • Login

    Hidden character "&"

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

              Reference: issue #729

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              The Community of users of the Notepad++ text editor.
              Powered by NodeBB | Contributors