User Guide

Keyboard functions 181
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
Nothing.
000_DW_API_Print.book Page 181 Wednesday, July 20, 2005 11:58 AM