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/wg_Command.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/wg_Command.ml')
-rw-r--r-- | ide/wg_Command.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ide/wg_Command.ml b/ide/wg_Command.ml index a95b9f892..3422b1682 100644 --- a/ide/wg_Command.ml +++ b/ide/wg_Command.ml @@ -115,11 +115,11 @@ object(self) in let log level message = result#buffer#insert (message^"\n") in let process = - Coq.bind (Coq.interp ~logger:log ~raw:true 0 phrase) (function + Coq.bind (Coq.query ~logger:log (phrase,Stateid.dummy)) (function | Interface.Fail (_,l,str) -> result#buffer#insert str; Coq.return () - | Interface.Good (_,res) -> + | Interface.Good res -> result#buffer#insert res; Coq.return ()) in |