Computing.Net > Forums > Web Development > possible to word wrap

possible to word wrap

Reply to Message Icon

Original Message
Name: Amy
Date: July 12, 2007 at 17:12:13 Pacific
Subject: possible to word wrap
OS: XP
CPU/Ram: 512
Comment:

May I know if it is possible to have the source code all "wrap-up" (ie sentences all joined up together) regardless whether one view the code using notepad or wordpad?
Thank you.


Report Offensive Message For Removal


Response Number 1
Name: Laler
Date: July 13, 2007 at 02:19:04 Pacific
Reply: (edit)

You mean the "Linebreaks"?

If you create the file with windows linebreak (CR LF), it will look the same in Notepad.

Notepad, unlike Wordpad, don't put sentences without CR LF in a new line. So...

if it is possible to have the source code all "wrap-up" (ie sentences all joined up together) regardless whether one view the code using notepad or wordpad?

No, you can't. Unless you really create the code without linebreaks (newlines).


CR = Carriage return
LF = Linefeed
Notepad saves files with CR LF, and it don't interpret CR or LF only, as a new line

CR LF = standard windows format
LF = UNIX standards
CR = Mac standards

Most decent text editor (including html authoring softwares) can be set to save files in any of those formats.

---
JakartaSpot.com


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: possible to word wrap

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




Have you ever used OpenOffice?

Yes, as my main suite.
Yes, occationally.
Yes, but only once.
No, never.


View Results

Poll Finishes In 6 Days.
Discuss in The Lounge