diff options
| author | Hugo Herbelin | 2020-04-12 15:55:52 +0200 |
|---|---|---|
| committer | Hugo Herbelin | 2020-04-12 15:59:29 +0200 |
| commit | fc2bd56377205f9cc3ff52dd335fd338670fe13b (patch) | |
| tree | 99b5eec28e4ca9d0921d655e643b6817e5c21718 /ide/wg_ScriptView.ml | |
| parent | bf0c1214c9d0e46c4188fd7471c47aa330755e69 (diff) | |
CoqIDE completion: Relying on INSERT mark of the buffer.
The iterator of the completion context does not seem trustable.
Diffstat (limited to 'ide/wg_ScriptView.ml')
| -rw-r--r-- | ide/wg_ScriptView.ml | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
