Is there a difference between the tab symbols when using "Show White Space and TAB"?

7

1

I have a tab-delimited file that I have opened in Notepad++, was having trouble parsing it, so turned on View->Show Symbol->Show White Space and TAB. I noticed that there were two different types of arrow symbols displayed along with the white space character. Is there a difference between these two arrow symbols?

Example: Notepad++ Show Symbols

Laxman13

Posted 2011-11-07T17:33:31.313

Reputation: 173

Answers

3

There is no difference between the types of arrows. Convince yourself by replacing \t with 2 spaces. Make sure the "Search mode" is set to "Extended". There shall be no arrows afterwards.

Replace tabulators by spaces

Michael S.

Posted 2011-11-07T17:33:31.313

Reputation: 3 128

1notepad++ is showing different arrows based on where the tab character is entered. when I cut and paste "the small arrow" on next line, it shows as big arrow. hence, it looks like - small and long right arrows - both are tab characters only. Why notepad++ does so - not sure. – Sushil – 2014-11-13T06:54:48.390

5If there's no difference between the two types of arrows... then why are there two types of arrows? There must be some significance, otherwise there wouldn't be two. – lornix – 2011-11-09T20:20:11.623

3

The other person didn't really answer the question...the reason for the different sizes of arrows (in case you never figured it out) is because the arrow is showing the number of spaces remaining to the next full tab stop. If your tab number is 4 (default setting), when you create a new tab the arrow is 4 spaces long. If you press tab after typing 3 characters, for example, it's a tiny arrow, because there is only one more space left to the next tab stop. Make sense?

Jesse

Posted 2011-11-07T17:33:31.313

Reputation: 31