diff options
author | Enrico Tassi <Enrico.Tassi@inria.fr> | 2014-10-31 15:43:08 +0100 |
---|---|---|
committer | Enrico Tassi <Enrico.Tassi@inria.fr> | 2014-10-31 15:54:00 +0100 |
commit | cfb5201e2ebc2516e3de7c578355db8bd4f08d35 (patch) | |
tree | bc96e6acc6e2da45e43978d345ab10bea57956cb /stm/stm.mli | |
parent | 17147ebea482bcc9759b6cd68ed25f2416eab118 (diff) |
Feedback message: hold extra info to help routing
PIDE based GUIs can take advantage of multiple panels and get
some feedback routed there. E.g. query panel
Diffstat (limited to 'stm/stm.mli')
-rw-r--r-- | stm/stm.mli | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/stm/stm.mli b/stm/stm.mli index 57e70d24e..2e133f1eb 100644 --- a/stm/stm.mli +++ b/stm/stm.mli @@ -25,7 +25,8 @@ val add : ontop:Stateid.t -> ?newtip:Stateid.t -> ?check:(located_vernac_expr -> (* parses and executes a command at a given state, throws away its side effects but for the printings. Feedback is sent with report_with (defaults to dummy state id) *) -val query : at:Stateid.t -> ?report_with:Stateid.t -> string -> unit +val query : + at:Stateid.t -> ?report_with:(Stateid.t * Feedback.route_id) -> string -> unit (* [edit_at id] is issued to change the editing zone. [`NewTip] is returned if the requested id is the new document tip hence the document portion following |