Edit: use u16 for tab_width

This commit is contained in:
Jeremy Soller 2023-11-16 08:38:48 -07:00
parent 8024cbe504
commit 1207fd6d80
No known key found for this signature in database
GPG key ID: DCFCA852D3906975
4 changed files with 14 additions and 12 deletions

View file

@ -166,11 +166,11 @@ impl<'a> Edit for SyntaxEditor<'a> {
self.editor.set_select_opt(select_opt);
}
fn tab_width(&self) -> usize {
fn tab_width(&self) -> u16 {
self.editor.tab_width()
}
fn set_tab_width(&mut self, tab_width: usize) {
fn set_tab_width(&mut self, tab_width: u16) {
self.editor.set_tab_width(tab_width);
}