Replaces the selection with the character or insert the character at the current caret position if no selection exists. <p> If a carriage return was typed replace it with the line break character used by the widget on this platform. </p>
@param key the character typed by the user
See Implementation
Replaces the selection with the character or insert the character at the current caret position if no selection exists. <p> If a carriage return was typed replace it with the line break character used by the widget on this platform. </p>
@param key the character typed by the user