Welcome to WebmasterWorld Guest from 54.205.115.177

Forum Moderators: travelin cat

Message Too Old, No Replies

Macintosh & Dreamweaver (Help a new mac webmaster?)

New line "enter/return" does not retain indentation :(

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

10+ Year Member



Hello,

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?

Thanks,
Chris

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

WebmasterWorld Senior Member 10+ Year Member



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

DerekH

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

WebmasterWorld Senior Member 10+ Year Member



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.
5:40 pm on Dec 4, 2004 (gmt 0)

10+ Year Member



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.

Cheers,
Chris

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

WebmasterWorld Senior Member 10+ Year Member



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?
DerekH

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

10+ Year Member



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.

Cheers,
Chris

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

WebmasterWorld Senior Member 10+ Year Member



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?