aboutsummaryrefslogtreecommitdiff
path: root/ide/wg_ScriptView.ml
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2019-05-05 18:54:39 +0200
committerPierre-Marie Pédrot2020-01-16 22:11:31 +0100
commitc2d83dbb97a2a3090e1f3a1bf5a714bf5093dab9 (patch)
tree54bc7f8f6a3fefcb7d86b2387c7203b6fc775845 /ide/wg_ScriptView.ml
parent3cc91ec4d768bffa4b1d3920d7066aafc48e3e5a (diff)
Adding an option to change the autocompletion delay.
Diffstat (limited to 'ide/wg_ScriptView.ml')
-rw-r--r--ide/wg_ScriptView.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/ide/wg_ScriptView.ml b/ide/wg_ScriptView.ml
index 098b09601f..b7a35d7e94 100644
--- a/ide/wg_ScriptView.ml
+++ b/ide/wg_ScriptView.ml
@@ -526,6 +526,7 @@ object (self)
stick spaces_instead_of_tabs self self#set_insert_spaces_instead_of_tabs;
stick tab_length self self#set_tab_width;
stick auto_complete self self#set_auto_complete;
+ stick auto_complete_delay self (fun d -> self#completion#set_auto_complete_delay d);
let cb ft = self#misc#modify_font (GPango.font_description_from_string ft) in
stick text_font self cb;