pub type TextInputState = State<f32>;Aliased Type§
pub struct TextInputState {
pub cursor: usize,
pub anchor: usize,
pub offset: Point<f32>,
pub preferred_x: Option<f32>,
pub upstream: bool,
pub max_undos: usize,
/* private fields */
}Fields§
§cursor: usize§anchor: usize§offset: Point<f32>§preferred_x: Option<f32>§upstream: boolkeeps a cursor at a soft wrap on the line it ends until the next edit
max_undos: usize