equal
deleted
inserted
replaced
291 }) |
291 }) |
292 if (tooltips.isEmpty) null |
292 if (tooltips.isEmpty) null |
293 else Isabelle.tooltip(tooltips.mkString("\n")) |
293 else Isabelle.tooltip(tooltips.mkString("\n")) |
294 } |
294 } |
295 else { |
295 else { |
296 snapshot.cumulate_markup(Text.Info(range, SortedMap.empty[Long, String]))( |
296 snapshot.cumulate_markup(range)(Isabelle_Markup.tooltip_message) match |
297 Isabelle_Markup.tooltip_message) match |
|
298 { |
297 { |
299 case Text.Info(_, msgs) #:: _ if !msgs.isEmpty => |
298 case Text.Info(_, msgs) #:: _ if !msgs.isEmpty => |
300 Isabelle.tooltip(msgs.iterator.map(_._2).mkString("\n")) |
299 Isabelle.tooltip(msgs.iterator.map(_._2).mkString("\n")) |
301 case _ => null |
300 case _ => null |
302 } |
301 } |