• Login
Community
  • Login

Displaying space caracters

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
5 Posts 4 Posters 9.5k 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.
  • C
    Christophe Lopes
    last edited by Nov 27, 2015, 8:34 AM

    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
    • C
      Christophe Lopes
      last edited by Nov 27, 2015, 9:39 AM

      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
      • C
        Claudia Frank
        last edited by Nov 27, 2015, 11:14 PM

        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
        • G
          guy038
          last edited by Nov 29, 2015, 12:22 AM

          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
          • A
            AdrianHHH
            last edited by Nov 30, 2015, 9:08 AM

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

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