Confirmed users
12
edits
Line 426: | Line 426: | ||
* For a simple virtual keyboard action (send a character and key events w/ each user action), use <code>sendKey()</code>. TODO: should we allow backspace key to be sent from the method? If not, how do send these non-printable characters and it's effect with key events? | * For a simple virtual keyboard action (send a character and key events w/ each user action), use <code>sendKey()</code>. TODO: should we allow backspace key to be sent from the method? If not, how do send these non-printable characters and it's effect with key events? | ||
*[yxl] I perfer to allowing non-printable character, such as backspace key, to be sent, if there is no security issue. This | **[yxl] I perfer to allowing non-printable character, such as backspace key, to be sent, if there is no security issue. This would give the IME more flexibility. | ||
* For spellcheck, autocomplete etc, use surrounding text methods. | * For spellcheck, autocomplete etc, use surrounding text methods. | ||
* For cursor moment helper features, use <code>setSelectionRange()</code> and related attributes. | * For cursor moment helper features, use <code>setSelectionRange()</code> and related attributes. |