Position IME input according to where the selection is rendered

This commit is contained in:
Antonio Scandurra
2022-07-21 17:35:40 +02:00
parent 3c5d7e001e
commit 97ce3998ec
31 changed files with 563 additions and 27 deletions
+12
View File
@@ -395,6 +395,18 @@ impl Element for TerminalEl {
}
}
fn rect_for_text_range(
&self,
_: Range<usize>,
_: RectF,
_: RectF,
_: &Self::LayoutState,
_: &Self::PaintState,
_: &gpui::MeasurementContext,
) -> Option<RectF> {
todo!()
}
fn debug(
&self,
_bounds: gpui::geometry::rect::RectF,