Adobe 38040334 - Dreamweaver CS3 User Manual page 197

Api reference
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

Example
The following example removes an HTML comment:
dw.getDocumentDOM().source.removeComment('<!--', '-->')
dreamweaver.htmlInspector.getShowHiddenCharacters()
Availability
Dreamweaver 8.
Description
This function determines whether the special characters for white spaces are displayed in the Code view of the Code
inspector.
Arguments
None.
Returns
A Boolean:
if the hidden characters are displayed;
true
Example
The following example turns off the display of the special characters for white space in the Code inspector, if the
display of special characters is turned on initially:
if (dreamweaver.htmlinspector.getShowHiddenCharacters()){
dreamweaver.htmlinspector.setShowHiddenCharacters(false);
}
dreamweaver.htmlInspector.setShowHiddenCharacters()
Availability
Dreamweaver 8.
Description
This function shows or hides the special characters for white spaces in the Code view of the Code inspector.
Arguments
show
• The
argument, which is required, is a Boolean value that indicates whether to display hidden characters for
show
white spaces.
Returns
A Boolean:
if the hidden characters are displayed;
true
Example
See "dreamweaver.htmlInspector.getShowHiddenCharacters()" on page 192.
otherwise.
false
otherwise.
false
DREAMWEAVER CS3
192
API Reference

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents