diff options
| author | john.j.camilleri <john.j.camilleri@chalmers.se> | 2014-07-15 09:33:22 +0000 |
|---|---|---|
| committer | john.j.camilleri <john.j.camilleri@chalmers.se> | 2014-07-15 09:33:22 +0000 |
| commit | 37a35734a57f6bcdbeb38398f2cf3980f1e100b9 (patch) | |
| tree | fce7bbb893eba09aa07c72c0153b3b3dfed4b903 /src/binary | |
| parent | 9b496084512ca94ca7fb96fd606e749d02022aad (diff) | |
PGF Web Service: include entire completion in full mode
When using full=yes in the web service 'complete' command,
you now get an additional field 'seq' with the longest possible completion.
So, given:
lin
f1 = ss "the" ;
f2 = ss ("the red house" | "the real deal") ;
and trying to complete on input "th", you get:
[
{
"from": "TestCnc",
"brackets": {
"cat": "_",
"fid": 0,
"index": 0,
"fun": "_",
"children": []
},
"text": "th",
"completions": [
{
"token": "the",
"funs": [
{
"fun": "f1",
"hyps": [],
"cat": "C",
"seq": "the"
},
{
"fun": "f2",
"hyps": [],
"cat": "C",
"seq": "the red house"
},
{
"fun": "f2",
"hyps": [],
"cat": "C",
"seq": "the real deal"
}
]
}
]
}
]
Diffstat (limited to 'src/binary')
0 files changed, 0 insertions, 0 deletions
