[−][src]Trait sourceview::ViewExt
Required methods
fn get_auto_indent(&self) -> bool
fn get_background_pattern(&self) -> BackgroundPatternType
fn get_completion(&self) -> Option<Completion>
fn get_draw_spaces(&self) -> DrawSpacesFlags
fn get_gutter(&self, window_type: TextWindowType) -> Option<Gutter>
fn get_highlight_current_line(&self) -> bool
fn get_indent_on_tab(&self) -> bool
fn get_indent_width(&self) -> i32
fn get_insert_spaces_instead_of_tabs(&self) -> bool
fn get_right_margin_position(&self) -> u32
fn get_show_line_marks(&self) -> bool
fn get_show_line_numbers(&self) -> bool
fn get_show_right_margin(&self) -> bool
fn get_smart_backspace(&self) -> bool
fn get_smart_home_end(&self) -> SmartHomeEndType
fn get_space_drawer(&self) -> Option<SpaceDrawer>
fn get_tab_width(&self) -> u32
fn get_visual_column(&self, iter: &TextIter) -> u32
fn indent_lines(&self, start: &mut TextIter, end: &mut TextIter)
fn set_auto_indent(&self, enable: bool)
fn set_background_pattern(&self, background_pattern: BackgroundPatternType)
fn set_draw_spaces(&self, flags: DrawSpacesFlags)
fn set_highlight_current_line(&self, highlight: bool)
fn set_indent_on_tab(&self, enable: bool)
fn set_indent_width(&self, width: i32)
fn set_insert_spaces_instead_of_tabs(&self, enable: bool)
fn set_mark_attributes<P: IsA<MarkAttributes>>(
&self,
category: &str,
attributes: &P,
priority: i32
)
&self,
category: &str,
attributes: &P,
priority: i32
)
fn set_right_margin_position(&self, pos: u32)
fn set_show_line_marks(&self, show: bool)
fn set_show_line_numbers(&self, show: bool)
fn set_show_right_margin(&self, show: bool)
fn set_smart_backspace(&self, smart_backspace: bool)
fn set_smart_home_end(&self, smart_home_end: SmartHomeEndType)
fn set_tab_width(&self, width: u32)
fn unindent_lines(&self, start: &mut TextIter, end: &mut TextIter)
fn connect_change_case<F: Fn(&Self, ChangeCaseType) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn emit_change_case(&self, case_type: ChangeCaseType)
fn connect_change_number<F: Fn(&Self, i32) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn emit_change_number(&self, count: i32)
fn connect_join_lines<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn emit_join_lines(&self)
fn connect_line_mark_activated<F: Fn(&Self, &TextIter, &Event) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_move_lines<F: Fn(&Self, bool, i32) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn emit_move_lines(&self, copy: bool, count: i32)
fn connect_move_to_matching_bracket<F: Fn(&Self, bool) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn emit_move_to_matching_bracket(&self, extend_selection: bool)
fn connect_move_words<F: Fn(&Self, i32) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn emit_move_words(&self, count: i32)
fn connect_redo<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn emit_redo(&self)
fn connect_show_completion<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn emit_show_completion(&self)
fn connect_smart_home_end<F: Fn(&Self, &TextIter, i32) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_undo<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn emit_undo(&self)
fn connect_property_auto_indent_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_background_pattern_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_completion_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_draw_spaces_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_highlight_current_line_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_indent_on_tab_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_indent_width_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_insert_spaces_instead_of_tabs_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_right_margin_position_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_show_line_marks_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_show_line_numbers_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_show_right_margin_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_smart_backspace_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_smart_home_end_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_space_drawer_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_tab_width_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<View>> ViewExt for O
[src]
fn get_auto_indent(&self) -> bool
[src]
fn get_background_pattern(&self) -> BackgroundPatternType
[src]
fn get_completion(&self) -> Option<Completion>
[src]
fn get_draw_spaces(&self) -> DrawSpacesFlags
[src]
fn get_gutter(&self, window_type: TextWindowType) -> Option<Gutter>
[src]
fn get_highlight_current_line(&self) -> bool
[src]
fn get_indent_on_tab(&self) -> bool
[src]
fn get_indent_width(&self) -> i32
[src]
fn get_insert_spaces_instead_of_tabs(&self) -> bool
[src]
fn get_right_margin_position(&self) -> u32
[src]
fn get_show_line_marks(&self) -> bool
[src]
fn get_show_line_numbers(&self) -> bool
[src]
fn get_show_right_margin(&self) -> bool
[src]
fn get_smart_backspace(&self) -> bool
[src]
fn get_smart_home_end(&self) -> SmartHomeEndType
[src]
fn get_space_drawer(&self) -> Option<SpaceDrawer>
[src]
fn get_tab_width(&self) -> u32
[src]
fn get_visual_column(&self, iter: &TextIter) -> u32
[src]
fn indent_lines(&self, start: &mut TextIter, end: &mut TextIter)
[src]
fn set_auto_indent(&self, enable: bool)
[src]
fn set_background_pattern(&self, background_pattern: BackgroundPatternType)
[src]
fn set_draw_spaces(&self, flags: DrawSpacesFlags)
[src]
fn set_highlight_current_line(&self, highlight: bool)
[src]
fn set_indent_on_tab(&self, enable: bool)
[src]
fn set_indent_width(&self, width: i32)
[src]
fn set_insert_spaces_instead_of_tabs(&self, enable: bool)
[src]
fn set_mark_attributes<P: IsA<MarkAttributes>>(
&self,
category: &str,
attributes: &P,
priority: i32
)
[src]
&self,
category: &str,
attributes: &P,
priority: i32
)
fn set_right_margin_position(&self, pos: u32)
[src]
fn set_show_line_marks(&self, show: bool)
[src]
fn set_show_line_numbers(&self, show: bool)
[src]
fn set_show_right_margin(&self, show: bool)
[src]
fn set_smart_backspace(&self, smart_backspace: bool)
[src]
fn set_smart_home_end(&self, smart_home_end: SmartHomeEndType)
[src]
fn set_tab_width(&self, width: u32)
[src]
fn unindent_lines(&self, start: &mut TextIter, end: &mut TextIter)
[src]
fn connect_change_case<F: Fn(&Self, ChangeCaseType) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn emit_change_case(&self, case_type: ChangeCaseType)
[src]
fn connect_change_number<F: Fn(&Self, i32) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn emit_change_number(&self, count: i32)
[src]
fn connect_join_lines<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
[src]
fn emit_join_lines(&self)
[src]
fn connect_line_mark_activated<F: Fn(&Self, &TextIter, &Event) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_move_lines<F: Fn(&Self, bool, i32) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn emit_move_lines(&self, copy: bool, count: i32)
[src]
fn connect_move_to_matching_bracket<F: Fn(&Self, bool) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn emit_move_to_matching_bracket(&self, extend_selection: bool)
[src]
fn connect_move_words<F: Fn(&Self, i32) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn emit_move_words(&self, count: i32)
[src]
fn connect_redo<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
[src]
fn emit_redo(&self)
[src]
fn connect_show_completion<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn emit_show_completion(&self)
[src]
fn connect_smart_home_end<F: Fn(&Self, &TextIter, i32) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_undo<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
[src]
fn emit_undo(&self)
[src]
fn connect_property_auto_indent_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_background_pattern_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_completion_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_draw_spaces_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_highlight_current_line_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_indent_on_tab_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_indent_width_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_insert_spaces_instead_of_tabs_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_right_margin_position_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_show_line_marks_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_show_line_numbers_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_show_right_margin_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_smart_backspace_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_smart_home_end_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_space_drawer_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_tab_width_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId