Add indent action and tab width
This commit is contained in:
parent
d53932bd7c
commit
7855dce09d
4 changed files with 210 additions and 3 deletions
|
|
@ -156,6 +156,14 @@ impl<'a> Edit for ViEditor<'a> {
|
|||
self.editor.set_select_opt(select_opt);
|
||||
}
|
||||
|
||||
fn tab_width(&self) -> usize {
|
||||
self.editor.tab_width()
|
||||
}
|
||||
|
||||
fn set_tab_width(&mut self, tab_width: usize) {
|
||||
self.editor.set_tab_width(tab_width);
|
||||
}
|
||||
|
||||
fn shape_as_needed(&mut self, font_system: &mut FontSystem) {
|
||||
self.editor.shape_as_needed(font_system);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue