Messed up spaces between words

  • Kikitomancer

    Kikitomancer - 2014-07-01

    When i open a text file with notepad++ all the spaces between "word" and "//" are messed up, but that doesn't happen if i open the same file with any other notepad, why this is happening and how can i fix it? Sorry for my english


    regular notepad

  • Loreia2

    Loreia2 - 2014-07-02

    Hi Kikitomancer,

    that's what happens when you mix spaces and tabs. Try clicking View / Show symbol / Show Whitespace and TAB. Now you have two options:

    a) convert all spaces to tabs (or vice versa)
    b) see how long is TAB supposed to be (2, 4 or 8 spaces) and set that value in Preferences / Tab settings / Tab size

    Option b) means you don't need to edit the file.