User Guide

Snippets panel functions 395
Example
The following call to the dw.snippetPalette.insertSnippet() function inserts the code
snippet at the location specified by the argument into the current document at the
insertion point:
dw.snippetPalette.insertSnippet('Text\\Different_Link_Color.csn');
dreamweaver.snippetPalette.rename()
Availability
Dreamweaver MX.
Description
Activates a text box around the selected folder name or file nickname and lets you edit the
selected element.
Arguments
None.
Returns
Nothing.
dreamweaver.snippetPalette.remove()
Availability
Dreamweaver MX.
Description
Deletes the selected element or folder from the Snippets panel and deletes the file from the
disk.
Returns
Nothing.
000_DW_API_Print.book Page 395 Wednesday, July 20, 2005 11:58 AM