NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
PHPED adds extra CRs?


Joined: 09 Feb 2009
Posts: 3
Reply with quote
Some strange reason phped adds empty rows to the code pages.

It is like it adds one extra line after avery line.
The is leads to huge ammount of white gaps in the code.

Could it be some setting on how it reacts on different types of carridge return?
Meaning that different program I presume uses different kind of enter char?

marksu
View user's profileFind all posts by marksuSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
marksu,

No, PhpED does not add any CRs. Probably you're using FTP for transferring the files and selected ASCII mode instead of BINARY. In this case your server adds them. I'd highly recommend not to use ASCII mode for any FTP transfers. There are no reasons to use ASCII at all.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 09 Feb 2009
Posts: 3
Reply with quote
Yes you comment sound logical.
Thank you.

I just have not had this problem before so though it was phped issue.

I wonder if tere is any small app that can somehow remove the extra space, without removing avery single empty row?




dmitri wrote:
marksu,

No, PhpED does not add any CRs. Probably you're using FTP for transferring the files and selected ASCII mode instead of BINARY. In this case your server adds them. I'd highly recommend not to use ASCII mode for any FTP transfers. There are no reasons to use ASCII at all.
View user's profileFind all posts by marksuSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
try phped's multi-line Find/Replace and replace all adjucent two empty lines with one

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 09 Feb 2009
Posts: 3
Reply with quote
Yes that worked.
Thank you wery much.

dmitri wrote:
try phped's multi-line Find/Replace and replace all adjucent two empty lines with one
View user's profileFind all posts by marksuSend private message
PHPED adds extra CRs?
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