pub trait TextViewImpl: TextViewImplExt + WidgetImpl {
fn backspace(&self, text_view: &Self::Type) { ... }
fn copy_clipboard(&self, text_view: &Self::Type) { ... }
fn cut_clipboard(&self, text_view: &Self::Type) { ... }
fn delete_from_cursor(
&self,
text_view: &Self::Type,
type_: DeleteType,
count: i32
) { ... }
fn extend_selection(
&self,
text_view: &Self::Type,
granularity: TextExtendSelection,
location: &TextIter,
start: &mut TextIter,
end: &mut TextIter
) -> Inhibit { ... }
fn insert_at_cursor(&self, text_view: &Self::Type, text: &str) { ... }
fn insert_emoji(&self, text_view: &Self::Type) { ... }
fn move_cursor(
&self,
text_view: &Self::Type,
step: MovementStep,
count: i32,
extend_selection: bool
) { ... }
fn paste_clipboard(&self, text_view: &Self::Type) { ... }
fn set_anchor(&self, text_view: &Self::Type) { ... }
fn snapshot_layer(
&self,
text_view: &Self::Type,
layer: TextViewLayer,
snapshot: Snapshot
) { ... }
fn toggle_overwrite(&self, text_view: &Self::Type) { ... }
}
Provided Methods
source
fn copy_clipboard(&self, text_view: &Self::Type)
source
fn cut_clipboard(&self, text_view: &Self::Type)
source
fn delete_from_cursor(&self, text_view: &Self::Type, type_: DeleteType, count: i32)
sourcefn extend_selection(
fn extend_selection(
&self,
text_view: &Self::Type,
granularity: TextExtendSelection,
location: &TextIter,
start: &mut TextIter,
end: &mut TextIter
) -> Inhibit
source
fn insert_at_cursor(&self, text_view: &Self::Type, text: &str)
source
fn insert_emoji(&self, text_view: &Self::Type)
sourcefn move_cursor(
fn move_cursor(
&self,
text_view: &Self::Type,
step: MovementStep,
count: i32,
extend_selection: bool
)
source
fn paste_clipboard(&self, text_view: &Self::Type)
source
fn set_anchor(&self, text_view: &Self::Type)
sourcefn snapshot_layer(
fn snapshot_layer(
&self,
text_view: &Self::Type,
layer: TextViewLayer,
snapshot: Snapshot
)
source