commit | b759ee902ce33b0c41e540be8c2d5ae8e9c72e48 | [log] [tgz] |
---|---|---|
author | Akron <nils@diewald-online.de> | Tue Nov 19 18:02:56 2024 +0100 |
committer | Akron <nils@diewald-online.de> | Fri Nov 22 14:47:22 2024 +0100 |
tree | 1d27593e724b93baec0132f085b68a2b1893cf27 | |
parent | eb319f9a5c4ad6e8b97c4655d9942547a22a7494 [diff] [blame] |
Return cursor position for query object (fixes #228) Change-Id: I8a7e872dfcce38d2f525d07c1bb3fc84f25250c3
diff --git a/dev/js/src/hint.js b/dev/js/src/hint.js index 80262cc..de9c09b 100644 --- a/dev/js/src/hint.js +++ b/dev/js/src/hint.js
@@ -153,6 +153,14 @@ /** + * Return selection range of the input field. + */ + selectionRange : function () { + return this._inputField.selectionRange(); + }, + + + /** * Alert at a specific character position. */ alert : function (charPos, msg) {