equal
deleted
inserted
replaced
45 Completion.make (name, pos) (fn completed => |
45 Completion.make (name, pos) (fn completed => |
46 Options.names (Options.default ()) |
46 Options.names (Options.default ()) |
47 |> filter completed |
47 |> filter completed |
48 |> map (fn a => (a, ("system_option", a)))); |
48 |> map (fn a => (a, ("system_option", a)))); |
49 val report = Markup.markup_report (Completion.reported_text completion); |
49 val report = Markup.markup_report (Completion.reported_text completion); |
50 in cat_error msg report end; |
50 in error (msg ^ report) end; |
51 val _ = Context_Position.report ctxt pos markup; |
51 val _ = Context_Position.report ctxt pos markup; |
52 in ML_Syntax.print_string name end)) #> |
52 in ML_Syntax.print_string name end)) #> |
53 |
53 |
54 ML_Antiquotation.value @{binding theory} |
54 ML_Antiquotation.value @{binding theory} |
55 (Args.context -- Scan.lift (Parse.position Args.name) >> (fn (ctxt, (name, pos)) => |
55 (Args.context -- Scan.lift (Parse.position Args.name) >> (fn (ctxt, (name, pos)) => |