src/Tools/VSCode/src/vscode_resources.scala
changeset 81025 d4eb94b46e83
parent 81024 d1535ba3b1ca
child 81041 b65931659364
equal deleted inserted replaced
81024:d1535ba3b1ca 81025:d4eb94b46e83
   335     Symbol.output(unicode_symbols, text)
   335     Symbol.output(unicode_symbols, text)
   336 
   336 
   337   def output_xml(xml: XML.Tree): String =
   337   def output_xml(xml: XML.Tree): String =
   338     output_text(XML.content(xml))
   338     output_text(XML.content(xml))
   339 
   339 
   340   def output_pretty(body: XML.Body, margin: Int): String =
   340   def output_pretty(body: XML.Body, margin: Double): String =
   341     output_text(Pretty.string_of(body, margin = margin, metric = Symbol.Metric))
   341     output_text(Pretty.string_of(body, margin = margin, metric = Symbol.Metric))
   342   def output_pretty_tooltip(body: XML.Body): String = output_pretty(body, tooltip_margin)
   342   def output_pretty_tooltip(body: XML.Body): String = output_pretty(body, tooltip_margin)
   343   def output_pretty_message(body: XML.Body): String = output_pretty(body, message_margin)
   343   def output_pretty_message(body: XML.Body): String = output_pretty(body, message_margin)
   344 
   344 
   345 
   345