The code displayed in Live Code view is similar to what you would see if you viewed the page source from a browser. While such page sources are static, providing you with only the source of the page from the browser, Live Code view is dynamic, and updates as you interact with the page in Live view.
When the user activates interactive elements of a page, the Live Code view shows the source in the new state and highlights the code that has changed between the different states.
dom.getLiveCodeHighlightsChanges()
Availability
Dreamweaver CS5.
Description
This function is used to determine if the code highlighting feature is enabled for the current document.
Arguments
None.
Returns
A Boolean value that indicates whether the code highlighting feature is enabled.
dom.setLiveCodeHighlightsChanges()
Availability
Dreamweaver CS5.
Description
This function is used to enable or disable code highlighting for the current document.
Arguments
A Boolean value that indicates whether the code highlighting feature is enabled.
Returns
None.