• Login
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.
  • T
    Tec Kel
    last edited by Aug 27, 2015, 3:26 PM

    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
    • J
      Joanne Harrison
      last edited by Joanne Harrison Aug 28, 2015, 4:48 PM Aug 28, 2015, 4:46 PM

      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
      • J
        Joanne Harrison
        last edited by Aug 28, 2015, 5:08 PM

        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
        • J
          Joanne Harrison
          last edited by Aug 28, 2015, 11:18 PM

          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-h-h
            last edited by Sep 2, 2015, 10:37 AM

            Reference: issue #729

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