equal
deleted
inserted
replaced
683 def active_range: Option[Text.Range] = |
683 def active_range: Option[Text.Range] = |
684 if (isDisplayable) opt_range else None |
684 if (isDisplayable) opt_range else None |
685 |
685 |
686 private val popup = |
686 private val popup = |
687 { |
687 { |
688 val screen = JEdit_Lib.screen_location(layered, location) |
688 val screen = GUI.screen_location(layered, location) |
689 val size = |
689 val size = |
690 { |
690 { |
691 val geometry = JEdit_Lib.window_geometry(completion, completion) |
691 val geometry = JEdit_Lib.window_geometry(completion, completion) |
692 val bounds = JEdit_Rendering.popup_bounds |
692 val bounds = JEdit_Rendering.popup_bounds |
693 val w = geometry.width min (screen.bounds.width * bounds).toInt min layered.getWidth |
693 val w = geometry.width min (screen.bounds.width * bounds).toInt min layered.getWidth |