Home Download Buy Blog Forum Support

Strange character duplicate empty lines

Strange character duplicate empty lines

Postby MassimilianoMarini on Fri Jan 11, 2013 12:11 pm

Hi all,

if I open a file with EditPlus at the end of each line appears a little square, I'm sure this is a strange EOL character.

If I open the same file with SublimeText 2 the file has each empty line duplicated: so I think ST2 think the file has two EOL character.

Is there a way to solve this?
MassimilianoMarini
 
Posts: 8
Joined: Wed Aug 29, 2012 6:41 pm

Re: Strange character duplicate empty lines

Postby adzenith on Sun Jan 13, 2013 7:16 am

1. In editplus, change the line endings
2. In Sublime Text, do a regex search for "\n\n" and delete them all.
adzenith
 
Posts: 1215
Joined: Mon Oct 19, 2009 9:12 pm

Re: Strange character duplicate empty lines

Postby MassimilianoMarini on Mon Jan 14, 2013 3:23 pm

Hi adzenith,

adzenith wrote:2. In Sublime Text, do a regex search for "\n\n" and delete them all.


great it works, but it's not needed to delete all, a simple replace with "\n" do the job.

Thanks.
MassimilianoMarini
 
Posts: 8
Joined: Wed Aug 29, 2012 6:41 pm


Return to General Discussion

Who is online

Users browsing this forum: Yahoo [Bot] and 17 guests