From fc2bd56377205f9cc3ff52dd335fd338670fe13b Mon Sep 17 00:00:00 2001 From: Hugo Herbelin Date: Sun, 12 Apr 2020 15:55:52 +0200 Subject: CoqIDE completion: Relying on INSERT mark of the buffer. The iterator of the completion context does not seem trustable. --- ide/wg_ScriptView.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ide/wg_ScriptView.ml') diff --git a/ide/wg_ScriptView.ml b/ide/wg_ScriptView.ml index f2d9f33d7d..62d58a5f23 100644 --- a/ide/wg_ScriptView.ml +++ b/ide/wg_ScriptView.ml @@ -287,7 +287,7 @@ end class script_view (tv : source_view) (ct : Coq.coqtop) = let view = new GSourceView3.source_view (Gobject.unsafe_cast tv) in -let provider = new Wg_Completion.completion_provider ct in +let provider = new Wg_Completion.completion_provider view#buffer ct in object (self) inherit GSourceView3.source_view (Gobject.unsafe_cast tv) -- cgit v1.2.3