src/Tools/jEdit/src/jedit_rendering.scala
changeset 64748 155bf8632104
parent 64677 8dc24130e8fe
child 64767 f5c4ffdb1124
equal deleted inserted replaced
64747:54afac94f52b 64748:155bf8632104
   522 
   522 
   523   /* tooltips */
   523   /* tooltips */
   524 
   524 
   525   def tooltip_margin: Int = options.int("jedit_tooltip_margin")
   525   def tooltip_margin: Int = options.int("jedit_tooltip_margin")
   526   def timing_threshold: Double = options.real("jedit_timing_threshold")
   526   def timing_threshold: Double = options.real("jedit_timing_threshold")
       
   527 
       
   528   def tooltip(range: Text.Range): Option[Text.Info[XML.Body]] =
       
   529     tooltips(range).map({ case Text.Info(r, all_tips) =>
       
   530       Text.Info(r, Library.separate(Pretty.fbrk, all_tips)) })
   527 
   531 
   528   lazy val tooltip_close_icon = JEdit_Lib.load_icon(options.string("tooltip_close_icon"))
   532   lazy val tooltip_close_icon = JEdit_Lib.load_icon(options.string("tooltip_close_icon"))
   529   lazy val tooltip_detach_icon = JEdit_Lib.load_icon(options.string("tooltip_detach_icon"))
   533   lazy val tooltip_detach_icon = JEdit_Lib.load_icon(options.string("tooltip_detach_icon"))
   530 
   534 
   531 
   535