Community
    • Login

    Displaying space caracters

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    5 Posts 4 Posters 9.2k 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.
    • Christophe LopesC
      Christophe Lopes
      last edited by

      Hi everyone,

      I’m looking for a way to display space in notepad++ like any standard text editor.

      Here an example to explain my issue:

      We are going to display the next sentence in both notepad++ and a standard text editor like the default windows one.

      “Hello, here i’m going to put 5 space caracters and then ending with a dot .”

      Result in standard editor:

      “Hello, here i’m going to put 5 space caracters and then ending with a dot .” --> the 5 space represent a certain amount of pixels

      Result in Notepad++:

      “Hello, here i’m going to put 5 space caracters and then ending with a dot .” --> The 5 space represent less amount of pixels.

      So if i try to display a text representating a table, the normal view would be: (i’m using hyphens for space due to this page rendering who is deleting extra spaces …)

      Name----Age-------From
      Kris--------22--------UK
      Jane-------34--------BE

      in notepad result is:

      Name Age From
      Kris 22 UK
      Jane 34 BE

      The view of columns are note readable by eyes …

      Anyone have an idea how to fix it ?

      Regards

      1 Reply Last reply Reply Quote 0
      • Christophe LopesC
        Christophe Lopes
        last edited by

        Well,

        After some more research i finally figured it out … just by changing my font to another one with serif …

        That was so basic that i’m ashamed …

        Then topic RESOLVED

        1 Reply Last reply Reply Quote 0
        • Claudia FrankC
          Claudia Frank
          last edited by

          Even when marked as resolved maybe someone else might find this interesting.
          What you need is called a monospace font.
          Nice article on CodeProject site.

          Cheers
          Claudia

          1 Reply Last reply Reply Quote 1
          • guy038G
            guy038
            last edited by

            Hello, Christophe, and Claudia,

            The link given in your post, Claudia, is quite valuable ! On May 2014, on SourceForge forums, I posted a similar list of monospaced fonts, but yours is more detailed ! Thanks for sharing it :-))

            So, Christophe, you could, also, glance at my post, from the link below :

            http://sourceforge.net/p/notepad-plus/discussion/331753/thread/5c8c669b/#2143

            Cheers,

            guy038

            1 Reply Last reply Reply Quote 0
            • AdrianHHHA
              AdrianHHH
              last edited by

              For actually displaying the space characters see menu => View => Show symbol => Show white space and tab.

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