You can set word wrapping, display line numbers for the code, highlight invalid code, set syntax coloring for code elements, set indenting, and show hidden characters from the View > Code View Options menu.
Word Wrap wraps the code so that you can view it without scrolling horizontally. This option doesnt insert line breaks; it just makes the code easier to view.
Line Numbers displays line numbers along the side of the code.
Hidden Characters displays special characters in place of white space. For example, a dot replaces each space, a double chevron replaces each tab, and a paragraph marker replaces each line break.
NOTE |
|
Soft line breaks that Dreamweaver uses for word wrapping are not displayed with a paragraph marker. |
Highlight Invalid Code causes Dreamweaver to highlight in yellow all HTML code that isnt valid. When you select an invalid tag, the Property inspector displays information on how to correct the error.
Syntax Coloring enables or disables code coloring. For information on changing the coloring scheme, see Setting code coloring preferences.
Auto Indent makes your code indent automatically when you press Enter while writing code. The new line of code indents to the same level as the previous line. For information on changing the indent spacing, see the Tab Size option in Setting code formatting preferences.