Albus Dumbledore 0 Report post Posted May 7, 2007 Ok, i am about tired of the problem i am having because it makes things very un-organizedi use notepad to code my websites, and for some reason whenever i download a back-up of everything through my FTP the HTML documents get screwed up (see the attached image) look next to the red squares there are those squares and i dont want those there.another thing is that when i have those there, after i remove them and re-save the document, if i go into the file and do Word Wrap on it and then take the word wrap off, all of the HTML gets put into one or more big lines that go on as far as they can until it wraps to the next line..any idea how to stop all this? Share this post Link to post Share on other sites
jlhaslip 4 Report post Posted May 7, 2007 get a real editor...I suggest context ... google it... it is a freebiehttp://blogic14.blogspot.de/ Share this post Link to post Share on other sites
Albus Dumbledore 0 Report post Posted May 7, 2007 meh, i wanted to avoid getting a real editor because notepad loads nice and quick and easy where as editors take years to load XD but i'll check it out Share this post Link to post Share on other sites
truefusion 3 Report post Posted May 7, 2007 meh, i wanted to avoid getting a real editor because notepad loads nice and quick and easy where as editors take years to load XD but i'll check it outIf you want a pretty good program that loads quick, you can try out PSPAD. I use it in Windows, and it's pretty good. Share this post Link to post Share on other sites
Albus Dumbledore 0 Report post Posted May 7, 2007 kk thnx haslip and truefusion, i have downloaded haslip's program thingy and used it and it fixes it, i will download your's truefusion and see which one i like feature wise and design wise (im pickey XD) Share this post Link to post Share on other sites
rvalkass 5 Report post Posted May 7, 2007 Just to add something, the problem appears to be the classic disagreement between Unix and Windows having different ways to do new lines in text files. This is why readme files often appear on one massive line if they have been written in Unix or Linux. Notepad, being made by Microsoft, only accepts the Windows way of doing things. As for me, I use Notepad++ as it is fast and lighweight, yet also has quite a few nice features. Share this post Link to post Share on other sites
biscuitrat 0 Report post Posted May 8, 2007 another thing is that when i have those there, after i remove them and re-save the document, if i go into the file and do Word Wrap on it and then take the word wrap off, all of the HTML gets put into one or more big lines that go on as far as they can until it wraps to the next line..Sorry to say, but this isn't a bug. Word wrap prevents a line from stretching into those huge lines. You'll want to keep word wrap on when you're editing, but when you're getting ready to paste into a file or whatever, turn it off. It's for the sake of readability, but it will mess with your lines if you're not careful.And I use Notepad too. There's no need to get another editor if it's not affecting how your code turns out. If the red squares are, however, messing with your coding, THEN you can look into another editor, but it's not something that's a flaw of the program itself. Share this post Link to post Share on other sites
fffanatics 0 Report post Posted May 9, 2007 The reason you get those wierd symbols is because Unix and Windows have different line delimiters. If you have a linux machine, you can use the dos2unix command to switch a windows delimited file to a unix delimited file. To do vica versa call unix2dos. Otherwise, you have to have a text editor that actually has some brains in order to realize that the delimiters are not from the native os. For my web development i use the Eclipse IDE with the PHP and HTML plugins. The reason is that it keeps the code color coded so its easy to see errors, you can work on multiple projects at once, there is a preview window, and it will mark all the lines that have errors in them on the fly so you can quickly fix them. Plus, it gives suggestions on how to fix the errors which is nice. Plus i do Java programming and i can do that at the same time if needed. Share this post Link to post Share on other sites