Editor creates blank lines

Advertisement

fanta
Guest

Editor creates blank lines

Has anyone realised that editor causes empty spaces in html/php/css etc. files? Everytime I open my files – under each line of text appears empty line, so after opening the same file many times I have lots of empty spaces between each line of code... Does anyone have the same problem? How to solve this?

Thanks.

Example:
#header {
 
 
 
   width: 750px;
 
 
 
   height: 140px;
 
 
 
   float:left;
 
 
 
   background-color:#FFFFFF;
 
 
}

Reply with quote

Advertisement

dzoniboj
Guest

Same problem

I am having the exact same problem, and it just started happening recently.

I've been using WinSCP for around 8 months with no problems like this.

I use Sublime text editor and edit html, css and php files.

What can be done?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,518
Location:
Prague, Czechia

Please attach a full log file showing the problem (using the latest version of WinSCP). I.e. connection, open the file in editor and save it.

To generate log file, enable logging, log in to your server and do the operation and only the operation that causes the error. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.

Reply with quote

dzoniboj
Guest

I enabled logging, connected and directly opened a certain file with blank lines in it.

Hopefully that did it.
  • ultranet@ultranetdesign.net.log (7.58 KB, Private file)

Reply with quote

Advertisement

Knocks
Joined:
Posts:
2

This issue baffled me too for a while, and I even filed a support ticket with my host. The fix was pretty easy, all you need to do is uncheck the box on the attached screenshot.

Martin, you might want to disable this setting by default for external editors in future versions.

COCFuGu.png

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum