summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2015-04-13 15:08:38 +0200
committerAlon Levy <alon@pobox.com>2015-04-13 15:08:38 +0200
commit3d10bc63a870df6af11a9394ef103e6af40dfcb5 (patch)
tree74bfffc13f2afa29257da6443543d11568893d12
parent0a101881c94c85d634f9c54ed908492f5565ab98 (diff)
client: textanalyser_input: completion add two spaces. fixes #484
-rw-r--r--src/client/view/textanalyser_input.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/view/textanalyser_input.js b/src/client/view/textanalyser_input.js
index 8b54fb04..bf96db1b 100644
--- a/src/client/view/textanalyser_input.js
+++ b/src/client/view/textanalyser_input.js
@@ -87,6 +87,7 @@ function textanalyser_input(spec) {
getter: current_value,
setter: function (text, cursor) { update_element(text, cursor); },
selectionStart: selectionStart,
+ appendOnCompletion: ' ',
},
analysisCompleter = completer(element, $(spec.completer_name), completer_spec),
document_keydown = new Bacon.Bus(),