wip
This commit is contained in:
@@ -2190,6 +2190,10 @@ impl Editor {
|
||||
font_cache.em_width(font_id, settings.buffer_font_size)
|
||||
}
|
||||
|
||||
pub fn set_width(&self, width: f32) {
|
||||
self.display_map.set_wrap_width(Some(width));
|
||||
}
|
||||
|
||||
// TODO: Can we make this not return a result?
|
||||
pub fn max_line_number_width(
|
||||
&self,
|
||||
|
||||
Reference in New Issue
Block a user