summaryrefslogtreecommitdiff
path: root/examples/tutorial/old/semantics/GSyntax.hs
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2010-05-26 15:49:08 +0000
committerhallgren <hallgren@chalmers.se>2010-05-26 15:49:08 +0000
commit1e379b49537c4594466f77931eacb1284b0801da (patch)
tree527a35b29a6cf1aa9aeb47d4f63f79b0c809c57f /examples/tutorial/old/semantics/GSyntax.hs
parent296463fc05384e91fe5a704d8b7fe9382d32f834 (diff)
Improved keyboard input handling in minibar/phrasebook
1. The text input field is shown form the start, no need to click. 2. The text input field is removed when no more words can be added to the sentence. 3. When you press Enter, a word is added to the sentence (1) if there is only one possible completion left (e.g. if you typed "airp" and the only completion is "airport"), or (2) if what you typed exactly matches one of the completions (e.g. if you typed "the" and the completions are "the", "theatre" and "these").
Diffstat (limited to 'examples/tutorial/old/semantics/GSyntax.hs')
0 files changed, 0 insertions, 0 deletions