src/Tools/jEdit/src/completion_popup.scala
changeset 53851 86c8f15afd88
parent 53848 8d7029eb0c31
child 53987 16a0cd5293d9
--- a/src/Tools/jEdit/src/completion_popup.scala	Tue Sep 24 19:53:05 2013 +0200
+++ b/src/Tools/jEdit/src/completion_popup.scala	Tue Sep 24 19:57:44 2013 +0200
@@ -281,10 +281,8 @@
               val fm = text_field.getFontMetrics(text_field.getFont)
               val loc =
                 SwingUtilities.convertPoint(text_field, fm.stringWidth(text), fm.getHeight, layered)
-              val font =
-                text_field.getFont.deriveFont(Rendering.font_size("jedit_popup_font_scale"))
 
-              val completion = new Completion_Popup(layered, loc, font, result.items)
+              val completion = new Completion_Popup(layered, loc, text_field.getFont, result.items)
               {
                 override def complete(item: Completion.Item) {
                   PIDE.completion_history.update(item)