Trait droom_ui::callback::callbacks::CaretCb
[−]
[src]
pub trait CaretCb where Self: Element + 'static { fn set_caret_cb<F>(&mut self, cb: F) -> Self where F: Callback<(Self, i32, i32, usize)> { ... } fn remove_caret_cb(&mut self)
-> Option<Box<Callback<(Self, i32, i32, usize)>>> { ... } }
Action generated when the caret/cursor position is changed.
The second and third parameters are the line and column number (start at 1). The fourth parameter is a 0 based character position.