homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / WebmasterWorld / The Macintosh Webmaster
Forum Library, Charter, Moderators: travelin cat

The Macintosh Webmaster Forum

Macintosh & Dreamweaver (Help a new mac webmaster?)
New line "enter/return" does not retain indentation :(
Christopher C

 5:56 pm on Nov 23, 2004 (gmt 0)


One of the quirks that's driving me a little nuts about macintosh dreamweaver is that when I press enter while coding, the cursor resets to the left margin. I'd prefer that it kept the current indent level one line lower (like on PC by default).

Does anyone know if there is a preference or setting I'm missing somewhere?




 8:27 pm on Nov 23, 2004 (gmt 0)

Dreamweaver MX or earlier?
MacOs 9 or X?
You mean in the Code window, rather than the Design window?

Here's one possible answer for MX in MacOsX....
Have you turned on "indent" in the Code Format in Preferences?

With that turned on, <enter> in the Code window should correctly indent you for the number of levels of HTML you're in



 2:59 pm on Dec 2, 2004 (gmt 0)

Another thing to keep in mind is that on a Mac there's a difference between the return and enter keys. Not sure if that's the fix for your situation, though.

Christopher C

 5:40 pm on Dec 4, 2004 (gmt 0)

Sorry for the belated replies.

I'm on OSX & the latest version of Dreamweaver. Also I'm only working in the code window. I do have the indent preference turned on via dreamweaver w/out autowrap. I've just gotten accustomed to the slightly decreased productivity at this point, would be great if there were a way to fix it.

Timster, I unfortunately enter/return w/in dreamweaver just switches between a carriage return and inserting a <br> tag.



 4:07 pm on Dec 5, 2004 (gmt 0)

Hi Chris
Well, when I use MX on OS 10.3.6, then both the return key and enter key (when pressed in the code window) take me to the appropriate level of indent commensurate with the HTML nesting.

In the Prefs I've got indent ticked, spaces, 1 space, tab at 4 and auto-wrap.

And it seems fine.

Curious, eh?

Christopher C

 8:06 am on Dec 6, 2004 (gmt 0)

Hi Derek,

Curious indeed :) Just tried those settings also, still no go. I've just reformatted about 3 weeks ago so everything should be at default preference wise. "Murphy" says it's something silly and stupid that I'm missing, but I sure I don't know what it is.



 4:14 pm on Dec 6, 2004 (gmt 0)

enter/return w/in dreamweaver just switches between a carriage return and inserting a <br> tag.

Well, hey, that's a pretty cool feature right there.

From the "half solutions" department: have you tried holding down shift, option, command, and/or control when you hit return or enter?

Global Options:
 top home search open messages active posts  

Home / Forums Index / WebmasterWorld / The Macintosh Webmaster
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved