HighDots Forums  

Hitting enter starts line over at character 1

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Hitting enter starts line over at character 1 in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
jsevlie
 
Posts: n/a

Default Hitting enter starts line over at character 1 - 11-07-2005 , 10:37 AM






I am converting from HomeSite+ to Dreamweaver for my CFML development. Been
using CFStudio and HomeSite for over 5 years, and figured that I've give
Dreamweaver a fair shot to prove itself to me (especially with the
highly-touted v8 release). One thing that I've noticed about DW that's
extremely hard to get used to is where the cursor goes after hitting Enter.

In HomeSite+, if i was writing the following code (replace -tab- with the
actual tab code to simulate what I am doing)

-tab-SELECT *
-tab-FROM SomeTable
-tab-WHERE id = #myid#

Now, once I hit Enter after the "SELECT *", HomeSite would return my cursor to
the position directly under the "S" in "SELECT". Dreamweaver puts my cusor
back at position 1 of the next line. Argh! This is really annoying when you
are writing queries in your code and have to keep tabbing in, over and over,
for every line (and some of my queries have 20-30 lines).

Is there a way to change how the Enter key behaves, so that it will act like
HomeSite+ does?



Reply With Quote
  #2  
Old   
jsevlie
 
Posts: n/a

Default Re: Hitting enter starts line over at character 1 - 11-07-2005 , 11:41 AM






Well, I discovered that this is an option in the Code View toolbar (the icon
that looks like a little notepad) called "Auto Indent". I would have never
thought to look there -- I kept scouring the Edit -> Preferences area and
couldn't find it. Now everything stays tabbed as expected.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.