n Line Numbers: Displays a number for every line in the code; this feature is extremely helpful
when used in combination with the JavaScript Debugger, which reports the line number of an
error in the code.
175
Accessing the Code Directly 6
n Highlight Invalid HTML: Toggles the highlighting of invalid tags in Code view when Design
view is refreshed. Invalid tags are always highlighted in the Design view.
n Syntax Coloring: Syntax coloring makes code easier to read. Basic tags and keywords are shown
in one color, with text in another color. Three different types of code are given different colors:
Reserved Keywords, Other Keywords, and Strings. These colors are set in the Code Color category
of Preferences. You can also set a color for an individual tag to further distinguish it if you like.
n Auto Indent: Auto Indent is another feature intended to improve code readability. With Auto
Indent enabled, pressing Enter (Return) at the end of a line causes the new line to start at the
same indentation as the preceding line. Press Backspace (Delete) to move the indented line closer
to the left margin. The number of characters for each indentation is set in the Code Format category
of Preferences.
You can also easily change the indentation??”in or out??”for selected blocks of code.
Pages:
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406