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/plugin/server.js b/dev/js/src/plugin/server.js index 76d1a0e..b95d830 100644 --- a/dev/js/src/plugin/server.js +++ b/dev/js/src/plugin/server.js
@@ -514,6 +514,9 @@ if (el = KorAP.vc) { v["cq"] = el.toQuery(); }; + if (el = KorAP.Hint) { + v["selection"] = KorAP.Hint.selectionRange(); + }; } // Get text sigle from match