NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
All .php files open with double line spacing


Joined: 07 Feb 2007
Posts: 1
Reply with quote
Hi All.

Sorry if this has been discussed before, although I couldn't see it immediately.

Seems when I open any .php file in phpED the file opens up with double line breaks.

Do instead of my code looking like

if ($a == 1) {
print "hello";
}

Its like this

if ($a == 1) {

print "hello";

}

I couldn't see any options to modify, so was wondering if somebody might be able to point me in the right direction.

Thanks,
Craig
View user's profileFind all posts by craiglesSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
It has no relation to PhpED. You may want to check file's line ending or if you open file using FTP server, you need to make sure that file transfer is binary. In ASCII mode, your server may append 0x10 after each 0x13 and it may lead to doubling lines breaks.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
All .php files open with double line spacing
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic