Aivars wrote:We tried to reproduce this problem but in every case the file was opened correctly. Could you put the file that WeBuilder opens incorrectly on some FTP account that doesn't contain any sensitive data and PM me the FTP data for testing? Thanks.
Hey Aivars ... finally sent via pm ...
in preparing I was able to find a way to reproduce every single time ...
- if you have Eclipse w/ Remote System; connect to a server and create a new .php script
- copy/paste any script contents to the new script created and save it
- close down Eclipse
- open up WeBuilder and using SFTP connect to the server and open the same script you created with Eclipse; you should have double lines extra line feeds)
every time I do this I will get the extra line feeds. If I turn around and open that exact same script again but using WinSCP/WeBulder, it will open fine. If I then save it and turn around and re-open it using WeBuilder SFTP it will now open fine with
no extra line feeds.
here is a screen snip showing the above, that is, the exact same file is opened in WeBuilder twice. One editor window using WinSCP and the other editor window using SFTP file explorer ...
http://themaskes-dev.net/images/webuilder_capture.png
forgot to point out ... if one is not careful and they open a script using WeBulder SFTP and end up with the extra line feeds and then save it. Those extra line feeds will now be there regardless of the editor opening them.