Adobe 38040334 API Reference - Page 433
dom.source.scrollTopFile, dom.source.selectParentTag, dom.source.setCurrentLine
UPC - 883919090467
View all Adobe 38040334 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 433 highlights
DREAMWEAVER CS3 428 API Reference • The nTimes argument is the number of pages to scroll. If nTimes is omitted, the default is 1. Returns Nothing. dom.source.scrollTopFile() Availability Dreamweaver 4. Description Scrolls the Code view to the top of the document file without moving the insertion point. Arguments None. Returns Nothing. dom.source.selectParentTag() Availability Dreamweaver 4. Description This function is a Code view extension that enables tag balancing. You can call dom.source.selectParentTag() to extend a currently highlighted selection or insertion point from the surrounding open tag to the closing tag. Subsequent calls extend the selection to additional surrounding tags until there are no more enclosing tags. Arguments None. Returns Nothing. dom.source.setCurrentLine() Availability Dreamweaver 4. Description Puts the insertion point at the beginning of the specified line. If the lineNumber argument is not a positive integer, the function does nothing and returns false. It puts the insertion point at the beginning of the last line if lineNumber is larger than the number of lines in the source. Arguments lineNumber • The lineNumber argument is the line at the beginning of which the insertion point is placed.