equal
deleted
inserted
replaced
36 type presentation_context = |
36 type presentation_context = |
37 {options: Options.T, file_pos: Position.T, adjust_pos: Position.T -> Position.T, |
37 {options: Options.T, file_pos: Position.T, adjust_pos: Position.T -> Position.T, |
38 segments: Document_Output.segment list}; |
38 segments: Document_Output.segment list}; |
39 |
39 |
40 fun adjust_pos_properties (context: presentation_context) pos = |
40 fun adjust_pos_properties (context: presentation_context) pos = |
41 Position.offset_properties_of (#adjust_pos context pos) @ Position.id_properties_of pos; |
41 Position.offset_properties_of (#adjust_pos context pos) @ |
|
42 filter (fn (a, _) => a = Markup.idN orelse a = Markup.fileN) (Position.get_props pos); |
42 |
43 |
43 structure Presentation = Theory_Data |
44 structure Presentation = Theory_Data |
44 ( |
45 ( |
45 type T = ((presentation_context -> theory -> unit) * stamp) list; |
46 type T = ((presentation_context -> theory -> unit) * stamp) list; |
46 val empty = []; |
47 val empty = []; |