equal
deleted
inserted
replaced
39 if (result.nonEmpty) { |
39 if (result.nonEmpty) { |
40 result += Command.rich_text(body = Pretty.Separator, id = Document_ID.make()) |
40 result += Command.rich_text(body = Pretty.Separator, id = Document_ID.make()) |
41 } |
41 } |
42 val body = Pretty.formatted(List(msg), margin = metric.margin, metric = metric) |
42 val body = Pretty.formatted(List(msg), margin = metric.margin, metric = metric) |
43 result += Command.rich_text(body = body, id = Markup.Serial.get(msg.markup.properties)) |
43 result += Command.rich_text(body = body, id = Markup.Serial.get(msg.markup.properties)) |
|
44 |
|
45 Exn.Interrupt.expose() |
44 } |
46 } |
45 result.toList |
47 result.toList |
46 } |
48 } |
47 } |
49 } |
48 |
50 |
117 try { |
119 try { |
118 val rich_texts = Pretty_Text_Area.format_rich_texts(output, metric, results) |
120 val rich_texts = Pretty_Text_Area.format_rich_texts(output, metric, results) |
119 val rendering = JEdit_Rendering(snapshot, rich_texts) |
121 val rendering = JEdit_Rendering(snapshot, rich_texts) |
120 (Command.full_source(rich_texts), rendering) |
122 (Command.full_source(rich_texts), rendering) |
121 } |
123 } |
122 catch { case exn: Throwable => Log.log(Log.ERROR, this, exn); throw exn } |
124 catch { |
123 Exn.Interrupt.expose() |
125 case exn: Throwable if !Exn.is_interrupt(exn) => |
|
126 Log.log(Log.ERROR, this, exn) |
|
127 throw exn |
|
128 } |
124 |
129 |
125 GUI_Thread.later { |
130 GUI_Thread.later { |
126 if (metric == JEdit_Lib.font_metric(getPainter) && |
131 if (metric == JEdit_Lib.font_metric(getPainter) && |
127 output == current_output && |
132 output == current_output && |
128 snapshot == current_base_snapshot && |
133 snapshot == current_base_snapshot && |