diff options
author | gareuselesinge <gareuselesinge@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2013-09-30 16:09:56 +0000 |
---|---|---|
committer | gareuselesinge <gareuselesinge@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2013-09-30 16:09:56 +0000 |
commit | 698a1ca948794ae9509547ddabd57b5f35512f03 (patch) | |
tree | 5d6b6c54d031a25ccc1fcdeafb37bb03416a3e34 /ide/coq.ml | |
parent | a4b5461afbd698b148e11eae003cb4e64bc92af3 (diff) |
CoqIDE ported to the revides protocol
- the zone to be edited is now between the marks
start_of_input and stop_of_input
- when -debug is given, the edit zone is underlined
- the cmd_stack is focused/unfocused according to the new protocol
- read only tag resurrected and used to block the "Qed" ending
a focused zone
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16814 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'ide/coq.ml')
-rw-r--r-- | ide/coq.ml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ide/coq.ml b/ide/coq.ml index be35ebe1a..96a19f317 100644 --- a/ide/coq.ml +++ b/ide/coq.ml @@ -370,7 +370,7 @@ let handle_final_answer handle xml = | None -> raise AnswerWithoutRequest | Some (c, _) -> c in let () = handle.waiting_for <- None in - with_ccb ccb { bind_ccb = fun (c, f) -> f (Serialize.to_answer xml c) } + with_ccb ccb { bind_ccb = fun (c, f) -> f (Serialize.to_answer c xml) } type input_state = { mutable fragment : string; @@ -558,9 +558,9 @@ let eval_call ?(logger=default_logger) call handle k = Minilib.log "End eval_call"; Void -let interp ?(logger=default_logger) ?(raw=false) ?(verbose=true) i s = - eval_call ~logger (Serialize.interp (i,raw,verbose,s)) -let backto i = eval_call (Serialize.backto i) +let add ?(logger=default_logger) x = eval_call ~logger (Serialize.add x) +let edit_at i = eval_call (Serialize.edit_at i) +let query ?(logger=default_logger) x = eval_call ~logger (Serialize.query x) let inloadpath s = eval_call (Serialize.inloadpath s) let mkcases s = eval_call (Serialize.mkcases s) let status ?logger force = eval_call ?logger (Serialize.status force) |