equal
deleted
inserted
replaced
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 |