Community
    • Login

    Tabs and Spaces don't match what I see in normal notepad (and other sources)

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 3 Posters 4.3k 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.
    • Doruk AksoyD Offline
      Doruk Aksoy
      last edited by

      Here’s a picture to help explain what I mean better: http://imgur.com/a/0o6rY

      This is quite annoying because GitHub and such also mess up when tabs and spaces show up and it’s quite annoying. How can I make them match? (Or what’s causing it)

      Scott SumnerS 1 Reply Last reply Reply Quote 0
      • Scott SumnerS Offline
        Scott Sumner @Doruk Aksoy
        last edited by

        @Doruk-Aksoy

        You can configure what a “tab” means to Notepad++ in the Settings (menu) -> Preferences -> Language -> Tab Settings area. A requirement for setting this is knowing what you want. If your requirement is “just like normal notepad” you need to set the “Tab size” to 8 and make sure that “Replace by space” is UNchecked for the type of file you are working with.

        1 Reply Last reply Reply Quote 0
        • gstaviG Offline
          gstavi
          last edited by

          Not sure this is the same thing but a colleague of mine recently tried to change fonts in NPP. He changed it for the C language styles but for tab and spaces NPP (or Scintilla) refer only to the Global Styles --> Default Style. So the they were not synchronized to the C code. E.g. 4 spaces where shorter than 4 C chars since spaces where in ‘Global’ font and not the C font.

          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