Web Hosting Forum | Lunarpages
News: Server Migrations to San Diego: Deneb, Felix and Tsohea are moving to San Diego starting Tuesday, December 30, 2008 at 10pm Pacific. They will complete their moves Friday night, January 2, 2009

Isis, Seth and Ez-web-n-mail will move physically on Friday, January 2, 2009

Please see the forum posts at http://www.lunarforums.com/lunarpages_web_hosting_server_information-b54.0/

+ Submit Your Own Web Site for the January 2009 Site of the Month Contest!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
January 07, 2009, 09:53:38 PM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: Beginner's Question - Code Formatting  (Read 391 times)
George
Newbie
*
Offline Offline

Posts: 5


WWW
« on: May 29, 2004, 08:55:21 PM »

I may be anal but I prefer while working in code view my code stay nice and neat.  I have Automatic Wrapping (Preferences - Code Format) set at 76 but when editing, my text ALWAYS goes beyond the page limit.  I can't seem to wrap my text unless I purposely misspell a word and perform a spell check.  Does anyone know if there is any way to automatically wrap my text while editing so I never go beyond the page limit?  I'm using Dreamweaver MX on a Windows 2000 OS.  Thanks ahead of time for any assistance offered.

Thanks!
Logged
satirista
Spacescooter Operator
*****
Offline Offline

Posts: 31


WWW
« Reply #1 on: June 02, 2004, 08:45:01 AM »

This is going to sound stupid, but...

Have you tried editing the code (allowing the lines to extend past 76), then clicking refresh in the property inspector, then closing the code view and saving the page, then re-opening the code view to see if the lines are now wrapped?

Just a thought. I'm thinking about how it's possible to remove data from a table cell, decreasing its height, but the height appears to remain until you click outside the table, when it snaps down to the correct size.

Good luck!
Logged

Jax
Spaceship Captain
*****
Offline Offline

Posts: 120


WWW
« Reply #2 on: June 03, 2004, 05:44:01 AM »

satirista, has a point... Dreamweaver isn't the best at refreshing itself.  However, I don't tend to make my code wrap, I tend to put hard breaks in there myself... although if you're coding in VBScript that quickly becomes a problem.  
I only personally did that in MX 2004 so can't comment on version issues...
Logged

Jax Out.
TranzNDance
Princess of Naboo
Berserker Poster
*****
Offline Offline

Posts: 11809



WWW
« Reply #3 on: June 03, 2004, 12:00:40 PM »

I think Dreamweaver doesn't do automatic line breaks in code view because if they're in the wrong places, they could add undesired carraige returns in the output.

If you're talking about automatically wrapping text, not code, edit the text in design view and DW will properly add line breaks in the code view. If the text block is an old one that hasn't been wrapped, go into the text, type a character, and delete. That should refresh the code.
Logged

Grr..!! Luff Ya Grr..!! Luff Ya Grr..!! Luff Ya
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.6 | SMF © 2006-2008, Simple Machines LLC

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM