From 0cd652b0ea2de3a8e200c3309ff3efc41dce1622 Mon Sep 17 00:00:00 2001 From: anijanyan Date: Mon, 31 Oct 2022 18:17:25 +0400 Subject: [PATCH] enableLiveAutocompletion documentation fixed --- src/ext/language_tools.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/ext/language_tools.js b/src/ext/language_tools.js index 2cfa7bb831c..e930717db0f 100644 --- a/src/ext/language_tools.js +++ b/src/ext/language_tools.js @@ -161,11 +161,10 @@ require("../config").defineOptions(Editor.prototype, "editor", { }, value: false }, - /** - * Enable live autocomplete. If the value is an array, it is assumed to be an array of completers - * and will use them instead of the default completers. - */ enableLiveAutocompletion: { + /** + * @param {boolean} val + */ set: function(val) { if (val) { if (!this.completers)