Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.



Windows 7: Embarrassingly elementary question - Notepad and line breaks

14 Feb 2011   #1

Win7 Professional 64
 
 
Embarrassingly elementary question - Notepad and line breaks

For simple text files, I've just always used Notepad. Lots of better things out there, but Notepad comes with Windows, so I've rolled with it.

Now that I'm using Windows 7 - and I don't even remember if Notepad came with it, or if I went out and "found" it somewhere - I'm having the following odd problem.

I update content for a web site for a nonprofit for which I volunteer. When I take html or php files that were (presumably) created in XP and open them with Notepad in Windows 7, the line breaks are gone. The text just streams together unreadably. The pages render fine in a web browser, but they're wretched to edit or look at the source.

I've worked around this so far by viewing the page source from my browser, then copying and pasting it back into the source file, and then the breaks are intact and Windows 7 Notepad displays it correctly. But that won't work for a php file, because the "source" one sees on the web isn't the exact source of the original php file.

Sorry, this isn't a web/html/php question. Just wondering if XP Notepad and Windows 7 Notepad are incompatible enough to cause this, and more importantly, what's the "path of least resistance" in terms of a good text editor to use (ideally one provided with Windows, although I have no problem finding and installing freeware editors - I'd just think Microsoft had a solution here)?

My System SpecsSystem Spec
.

14 Feb 2011   #2

Windows 7 Professional 64 bit
 
 

I haven't seen the behaviour you're describing, but then haven't edited a webpage in forever.

I'd use Arachnophilia from arachnoid.com. When I was doing HTML, I liked it best as an HTML editor.

As far as text editors, I've been using, and am happy with, a program called JEdit from jedit.org. One word of caution though; J Edit is a "Unix like" text editor, so you won't be able to edit with notepad without doing a lot of manual reformatting once you've used J Edit.
My System SpecsSystem Spec
Reply

 Embarrassingly elementary question - Notepad and line breaks





Thread Tools



Similar help and support threads for2: Embarrassingly elementary question - Notepad and line breaks
Thread Forum
Elementary Dual Boot questions... Windows Updates & Activation
Can anyone give me info on my dads embarrassingly old sony desktop MB? General Discussion
setting password - line 1, black dots : line 2, letters & numbers General Discussion
Windows 7 x86 (Question about Rundll32 Command Line) General Discussion
problem from replaced notepad ++ with notepad Installation & Setup
NOTEPAD question/problem Microsoft Office

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 03:20 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33