equal
deleted
inserted
replaced
480 | SOME found => |
480 | SOME found => |
481 "found " ^ string_of_int found ^ " theorem(s)" ^ |
481 "found " ^ string_of_int found ^ " theorem(s)" ^ |
482 (if returned < found |
482 (if returned < found |
483 then " (" ^ string_of_int returned ^ " displayed)" |
483 then " (" ^ string_of_int returned ^ " displayed)" |
484 else "")); |
484 else "")); |
|
485 val position_markup = Position.markup (Position.thread_data ()) Markup.position; |
485 in |
486 in |
486 Pretty.block |
487 Pretty.block |
487 (Pretty.fbreaks (Pretty.keyword1 "find_theorems" :: map (pretty_criterion ctxt) criteria)) :: |
488 (Pretty.fbreaks |
|
489 (Pretty.mark position_markup (Pretty.keyword1 "find_theorems") :: |
|
490 map (pretty_criterion ctxt) criteria)) :: |
488 Pretty.str "" :: |
491 Pretty.str "" :: |
489 (if null theorems then [Pretty.str "found nothing"] |
492 (if null theorems then [Pretty.str "found nothing"] |
490 else |
493 else |
491 Pretty.str (tally_msg ^ ":") :: |
494 Pretty.str (tally_msg ^ ":") :: |
492 grouped 10 Par_List.map (Pretty.item o single o pretty_thm ctxt) (rev theorems)) |
495 grouped 10 Par_List.map (Pretty.item o single o pretty_thm ctxt) (rev theorems)) |