src/Pure/PIDE/command.ML
changeset 70662 0f9a4e8ee1ab
parent 69892 f752f3993db8
child 71675 55cb4271858b
equal deleted inserted replaced
70661:9c4809ec28ef 70662:0f9a4e8ee1ab
   231 
   231 
   232 fun report tr m =
   232 fun report tr m =
   233   Toplevel.setmp_thread_position tr (fn () => Output.report [Markup.markup_only m]) ();
   233   Toplevel.setmp_thread_position tr (fn () => Output.report [Markup.markup_only m]) ();
   234 
   234 
   235 fun status tr m =
   235 fun status tr m =
   236   Toplevel.setmp_thread_position tr (fn () => Output.status (Markup.markup_only m)) ();
   236   Toplevel.setmp_thread_position tr (fn () => Output.status [Markup.markup_only m]) ();
   237 
   237 
   238 fun command_indent tr st =
   238 fun command_indent tr st =
   239   (case try Toplevel.proof_of st of
   239   (case try Toplevel.proof_of st of
   240     SOME prf =>
   240     SOME prf =>
   241       let val keywords = Thy_Header.get_keywords (Proof.theory_of prf) in
   241       let val keywords = Thy_Header.get_keywords (Proof.theory_of prf) in