src/Tools/jEdit/src/completion_popup.scala
changeset 64621 7116f2634e32
parent 63674 f97f2ad2486a
child 64882 c3b42ac0cf81
--- a/src/Tools/jEdit/src/completion_popup.scala	Tue Dec 20 18:11:42 2016 +0100
+++ b/src/Tools/jEdit/src/completion_popup.scala	Tue Dec 20 21:35:56 2016 +0100
@@ -120,7 +120,7 @@
 
     /* rendering */
 
-    def rendering(rendering: Rendering, line_range: Text.Range): Option[Text.Info[Color]] =
+    def rendering(rendering: JEdit_Rendering, line_range: Text.Range): Option[Text.Info[Color]] =
     {
       active_range match {
         case Some(range) => range.try_restrict(line_range)
@@ -153,7 +153,7 @@
     def syntax_completion(
       history: Completion.History,
       explicit: Boolean,
-      opt_rendering: Option[Rendering]): Option[Completion.Result] =
+      opt_rendering: Option[JEdit_Rendering]): Option[Completion.Result] =
     {
       val buffer = text_area.getBuffer
       val decode = Isabelle_Encoding.is_active(buffer)
@@ -185,7 +185,7 @@
 
     /* path completion */
 
-    def path_completion(rendering: Rendering): Option[Completion.Result] =
+    def path_completion(rendering: JEdit_Rendering): Option[Completion.Result] =
     {
       def complete(text: String): List[(String, List[String])] =
       {
@@ -750,7 +750,7 @@
     val size =
     {
       val geometry = JEdit_Lib.window_geometry(completion, completion)
-      val bounds = Rendering.popup_bounds
+      val bounds = JEdit_Rendering.popup_bounds
       val w = geometry.width min (screen.bounds.width * bounds).toInt min layered.getWidth
       val h = geometry.height min (screen.bounds.height * bounds).toInt min layered.getHeight
       new Dimension(w, h)