Home Download Buy Blog Forum Support

Show tabs, white spaces, line breaks

Show tabs, white spaces, line breaks

Postby trinix on Thu Mar 08, 2012 3:01 pm

Hi,

is there a setting to show line breaks, tabs and white spaces in the code, e.g. with a small sign?


best
christian
OS X, MacTeX 2013, ST 2, Skim
trinix
 
Posts: 30
Joined: Tue Sep 20, 2011 1:57 pm

Re: Show tabs, white spaces, line breaks

Postby iamntz on Thu Mar 08, 2012 3:23 pm

drop
Code: Select all
"draw_white_space": "all"
into your preferences file.
Will show only spaces and tabs though. Probably you will be able to detect new lines by... you know... text going on the next line? :D
iamntz
 
Posts: 908
Joined: Fri Apr 29, 2011 8:52 am
Location: Romania

Re: Show tabs, white spaces, line breaks

Postby cutcopypaste on Thu Apr 26, 2012 3:10 pm

looking where a new line starts is not a complete solution.. there are different types of linebreaks and sometimes it's necessary to know which ones you are dealing with! Any way to detect that? (I want to find/replace away a bunch of unnecessary ones)
cutcopypaste
 
Posts: 41
Joined: Tue Feb 21, 2012 9:43 pm

Re: Show tabs, white spaces, line breaks

Postby jjinn on Sat Aug 25, 2012 11:15 pm

I would agree with the original poster. Having the ability to toggle between showing non-printing characters (spaces, tabs, line-breaks, and carriage returns) is very helpful, particularly when bringing in someone else's text. iamntz wrote, "you will be able to detect new lines by... you know... text going on the next line", but that doesn't work so well if you have word-wrap turned on.

I need the ability to toggle show/hide non-printing characters with a key combination. This is a feature that is available in the other editors I've used.

Thank you for your consideration of this request.
jjinn
 
Posts: 7
Joined: Fri Jul 27, 2012 7:13 pm

Re: Show tabs, white spaces, line breaks

Postby robertcollier4 on Sat Mar 09, 2013 4:09 am

+1 to also show CR and LF. Or add a preference for draw_white_space_lineendings.

This is a duplicate of Forum Post - Display line endings, line by line, like in Scintilla
Also vote for this on Userecho - Is it possible to Show all characters (spaces, TABs, CR, LF, etc.)
robertcollier4
 
Posts: 154
Joined: Sun Feb 24, 2013 5:37 pm


Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot] and 11 guests