src/Tools/jEdit/src/completion_popup.scala
changeset 81381 76f74ac9edee
parent 80225 d9ff4296e3b7
child 81443 7f3416f35b5d
equal deleted inserted replaced
81380:83012fe97282 81381:76f74ac9edee
   228       val unicode = Isabelle_Encoding.is_active(buffer)
   228       val unicode = Isabelle_Encoding.is_active(buffer)
   229 
   229 
   230       def open_popup(result: Completion.Result): Unit = {
   230       def open_popup(result: Completion.Result): Unit = {
   231         val font =
   231         val font =
   232           painter.getFont.deriveFont(
   232           painter.getFont.deriveFont(
   233             Font_Info.main_size(PIDE.options.real("jedit_popup_font_scale")))
   233             Font_Info.main_size(scale = PIDE.options.real("jedit_popup_font_scale")))
   234 
   234 
   235         val range = result.range
   235         val range = result.range
   236 
   236 
   237         val loc1 = text_area.offsetToXY(range.start)
   237         val loc1 = text_area.offsetToXY(range.start)
   238         if (loc1 != null) {
   238         if (loc1 != null) {