Adobe 38040334 API Reference - Page 141
Menu functions, dom.startOfLine, dreamweaver.mapKeyCodeToChar
![]() |
UPC - 883919090467
View all Adobe 38040334 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 141 highlights
DREAMWEAVER CS3 136 API Reference Returns Nothing. dom.startOfLine() Availability Dreamweaver 3. Description Moves the insertion point to the beginning of the line. Arguments {bShiftIsDown} • The bShiftIsDown argument, which is optional, is a Boolean value that indicates whether to extend the selection. If the argument is omitted, the default is false. Returns Nothing. dreamweaver.mapKeyCodeToChar() Availability Dreamweaver 4. Description Takes a key code as retrieved from the event object's keyCode field and translates it to a character. You should check whether the key code is a special key, such as HOME, PGUP, and so on. If the key code is not a special key, this method can be used to translate it to a character code that is suitable for display to the user. Arguments keyCode • The keyCode argument is the key code to translate to a character. Returns Returns the character code if mapping was successful. Returns 0 otherwise. Menu functions Menu functions handle optimizing and reloading the menus in Dreamweaver. The dreamweaver.getMenuNeedsUpdating() function and the dreamweaver.notifyMenuUpdated() function are designed specifically to prevent unnecessary update routines from running on the dynamic menus that are built into Dreamweaver. See "dreamweaver.getMenuNeedsUpdating()" on page 137 and "dreamweaver.notifyMenuUpdated()" on page 137 for more information.
![](/manual_guide/products/adobe-38040334-api-reference-b593776/141.png)