pub trait TextViewImplExt: ObjectSubclass {
fn parent_backspace(&self, text_view: &Self::Type);
fn parent_copy_clipboard(&self, text_view: &Self::Type);
fn parent_cut_clipboard(&self, text_view: &Self::Type);
fn parent_delete_from_cursor(
&self,
text_view: &Self::Type,
type_: DeleteType,
count: i32
);
fn parent_extend_selection(
&self,
text_view: &Self::Type,
granularity: TextExtendSelection,
location: &TextIter,
start: &mut TextIter,
end: &mut TextIter
) -> Inhibit;
fn parent_insert_at_cursor(&self, text_view: &Self::Type, text: &str);
fn parent_insert_emoji(&self, text_view: &Self::Type);
fn parent_move_cursor(
&self,
text_view: &Self::Type,
step: MovementStep,
count: i32,
extend_selection: bool
);
fn parent_paste_clipboard(&self, text_view: &Self::Type);
fn parent_set_anchor(&self, text_view: &Self::Type);
fn parent_snapshot_layer(
&self,
text_view: &Self::Type,
layer: TextViewLayer,
snapshot: Snapshot
);
fn parent_toggle_overwrite(&self, text_view: &Self::Type);
}
Required Methods
source
fn parent_backspace(&self, text_view: &Self::Type)
source
fn parent_copy_clipboard(&self, text_view: &Self::Type)
source
fn parent_cut_clipboard(&self, text_view: &Self::Type)
sourcefn parent_delete_from_cursor(
fn parent_delete_from_cursor(
&self,
text_view: &Self::Type,
type_: DeleteType,
count: i32
)
sourcefn parent_extend_selection(
fn parent_extend_selection(
&self,
text_view: &Self::Type,
granularity: TextExtendSelection,
location: &TextIter,
start: &mut TextIter,
end: &mut TextIter
) -> Inhibit
source
fn parent_insert_at_cursor(&self, text_view: &Self::Type, text: &str)
source
fn parent_insert_emoji(&self, text_view: &Self::Type)
sourcefn parent_move_cursor(
fn parent_move_cursor(
&self,
text_view: &Self::Type,
step: MovementStep,
count: i32,
extend_selection: bool
)
source
fn parent_paste_clipboard(&self, text_view: &Self::Type)
source
fn parent_set_anchor(&self, text_view: &Self::Type)
sourcefn parent_snapshot_layer(
fn parent_snapshot_layer(
&self,
text_view: &Self::Type,
layer: TextViewLayer,
snapshot: Snapshot
)
source