use std::sync::Arc;
use crate::text::CursorRange;
pub struct TextEditOutput {
pub response: crate::Response,
pub galley: Arc<crate::Galley>,
pub galley_pos: crate::Pos2,
pub text_clip_rect: crate::Rect,
pub state: super::TextEditState,
pub cursor_range: Option<CursorRange>,
}
impl TextEditOutput {
#[deprecated = "Renamed `self.galley_pos`"]
pub fn text_draw_pos(&self) -> crate::Pos2 {
self.galley_pos
}
}