Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 828
user89021 Avatar asked Apr 20 '09 09:04

user89021


People also ask

How do you reveal hidden characters?

Pressing " Ctrl+Shift+W " (or the assigned keyboard shortcut) will now invoke the " View | Editor | Hidden Characters " main menu option.

How do I view special characters?

Click Start, point to Settings, click Control Panel, and then click Add/Remove Programs. Click the Windows Setup tab. Click System Tools (click the words, not the check box), and then click Details. Click to select the Character Map check box, click OK, and then click OK.

How do you do special characters in notepad?

Inserting ASCII characters To insert an ASCII character, press and hold down ALT while typing the character code. For example, to insert the degree (º) symbol, press and hold down ALT while typing 0176 on the numeric keypad. You must use the numeric keypad to type the numbers, and not the keyboard.


1 Answers

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

like image 53
Steve Willcock Avatar answered Sep 23 '22 16:09

Steve Willcock