ideeditortext-editornotepad++scintilla

Does Notepad++ show all hidden characters?


In Notepad++ I have set "replace tab with 2 spaces".

When coding in Python I copy-pasted some code from the web and it appeared indented correctly. But running the code resulted in indentation errors, which I solved in the end by removing all "visible" spaces at line beginnings and inserting the same amount of spaces again.

Could it be possible that Scintilla based Notepad++ does not show all special characters, but displays them as spaces? Is there a setting to fix this?


Solution

  • Yes, it does. The way to enable this depends on your version of Notepad++. On newer versions you can use:

    Menu ViewShow Symbol → *Show All Characters`

    or

    Menu ViewShow SymbolShow White Space and TAB

    (Thanks to bers' comment and bkaid's answers below for these updated locations.)


    On older versions you can look for:

    Menu ViewShow all characters

    or

    Menu ViewShow White Space and TAB