From 3d10bc63a870df6af11a9394ef103e6af40dfcb5 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Mon, 13 Apr 2015 15:08:38 +0200 Subject: client: textanalyser_input: completion add two spaces. fixes #484 --- src/client/view/textanalyser_input.js | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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(), -- cgit v1.3.1