Ensure that soft wrapped lines don't cause horizontal scrolling
This commit is contained in:
+1
-1
@@ -2198,7 +2198,7 @@ impl Editor {
|
||||
font_cache.em_width(font_id, settings.buffer_font_size)
|
||||
}
|
||||
|
||||
pub fn set_width(&self, width: f32) {
|
||||
pub fn set_wrap_width(&self, width: f32) {
|
||||
self.display_map.set_wrap_width(Some(width));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user