Confirmed users
368
edits
Line 58: | Line 58: | ||
// User moves the cursor, changes the selection, or alters the composing text length | // User moves the cursor, changes the selection, or alters the composing text length | ||
attribute Function onselectionchange; | attribute Function onselectionchange; | ||
// Listener to get noftified when the content of the current input field has | // Listener to get noftified when the content of the current input field has | ||
// changed. | // changed. | ||
Line 65: | Line 65: | ||
// Send a keyevent to the input field that is currently attached. It exists in the current interface | // Send a keyevent to the input field that is currently attached. It exists in the current interface | ||
void sendKey(in long keyCode, in long charCode, in long modifiers); | void sendKey(in long keyCode, in long charCode, in long modifiers); | ||
/* | /* | ||
* Replace text around the beginning of the current selection range of the | * Replace text around the beginning of the current selection range of the |