Operation Manual

Table Of Contents
401
Coding
Last updated 11/30/2015
The linting icon in the Status bar indicates the linting results:
Red - The current document has errors and warnings
Yellow - The current document has warnings only
Green - The current document has no errors
You can use the linting icon in the Status bar to also toggle the Output panel (open/close) if the icon is red or yellow (not
green).
The lines that contain the errors or warnings are highlighted in red and yellow respectively. You can double click a
message in the Output panel to jump to the line where the error has occurred. In Code view, you can also hover your
mouse over the line numbers of the erroneous lines to see a preview of the error or warning.
The Output panel lists 50 messages at a time with the errors listed before warnings. As and when you fix the errors, the
list in the panel scrolls to display the next set of error.
Optimize code
Clean up code
You can automatically remove empty tags, combine nested font tags, and otherwise improve messy or unreadable
HTML or XHTML code.
For information on how to clean up HTML generated from a Microsoft Word document, see Open and edit existing
documents.
1 Open a document:
If the document is in HTML, select Commands > Clean Up HTML.
If the document is in XHTML, select Commands > Clean Up XHTML.
For an XHTML document, the Clean Up XHTML command fixes XHTML syntax errors, sets the case of tag
attributes to lowercase, and adds or reports the missing required attributes for a tag in addition to performing
the HTML cleanup operations.
2 In the dialog box that appears, select any of the options, and click OK.