aboutsummaryrefslogtreecommitdiffhomepage
path: root/ide/wg_Completion.mli
diff options
context:
space:
mode:
authorGravatar ppedrot <ppedrot@85f007b7-540e-0410-9357-904b9bb8a0f7>2013-02-19 21:45:41 +0000
committerGravatar ppedrot <ppedrot@85f007b7-540e-0410-9357-904b9bb8a0f7>2013-02-19 21:45:41 +0000
commita07359f69a6eb4167aeddd1bf2710c09f570ed39 (patch)
treef5532590bc4b5eb613db2a9f8eebd887ac6f3949 /ide/wg_Completion.mli
parent86fcf8805aa5782314886e0f7e005f7179f60801 (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.mli26
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