This interface is implemented by the following components:
The maximum number of characters allowed.
readonly PRInt32 textLength
The length of the contents in characters.
Get and set the body wrap width.
Special values: 0 = wrap to window width -1 = no wrap at all
void handleKeyPress ( nsIDOMKeyEvent keyEvent )
EditorKeyPress consumes a keyevent.
- keyEvent: key event to consume
Insert a line break into the content model. The interpretation of a break is up to the implementation: it may enter a character, split a node in the tree, etc. This may be more efficient than calling InsertText with a newline.
Inserts a string at the current location, given by the selection. If the selection is not collapsed, the selection is deleted and the insertion takes place at the resulting collapsed selection.
Reference documentation is generated from Mozilla's source.