diff options
author | ppedrot <ppedrot@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2013-02-19 21:45:41 +0000 |
---|---|---|
committer | ppedrot <ppedrot@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2013-02-19 21:45:41 +0000 |
commit | a07359f69a6eb4167aeddd1bf2710c09f570ed39 (patch) | |
tree | f5532590bc4b5eb613db2a9f8eebd887ac6f3949 /ide/wg_Completion.mli | |
parent | 86fcf8805aa5782314886e0f7e005f7179f60801 (diff) |
New autocompletion mechanism in CoqIDE. Now provides many answers
through a popup.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16223 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'ide/wg_Completion.mli')
-rw-r--r-- | ide/wg_Completion.mli | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/ide/wg_Completion.mli b/ide/wg_Completion.mli new file mode 100644 index 000000000..cf6773175 --- /dev/null +++ b/ide/wg_Completion.mli @@ -0,0 +1,26 @@ +(************************************************************************) +(* v * The Coq Proof Assistant / The Coq Development Team *) +(* <O___,, * INRIA - CNRS - LIX - LRI - PPS - Copyright 1999-2012 *) +(* \VV/ **************************************************************) +(* // * This file is distributed under the terms of the *) +(* * GNU Lesser General Public License Version 2.1 *) +(************************************************************************) + +module Proposals : Set.S with type elt = string + +class complete_model : Coq.coqtop -> GText.buffer -> +object + method active : bool + method set_active : bool -> unit + method store : GTree.model + method column : string GTree.column + method handle_proposal : Gtk.tree_path -> unit + method start_completion_callback : (int -> unit) -> unit + method update_completion_callback : (int -> string -> Proposals.t -> unit) -> unit + method end_completion_callback : (unit -> unit) -> unit +end + +class complete_popup : complete_model -> GText.view -> +object + method coerce : GObj.widget +end |