This commit is contained in:
Nathan Sobo
2021-07-24 08:09:04 -06:00
parent f81f043058
commit 3bf47be51e
4 changed files with 76 additions and 61 deletions
+2 -2
View File
@@ -75,8 +75,8 @@ impl DisplayMap {
self.wrap_map.sync(snapshot, edits, cx);
}
pub fn set_wrap_width(&self, width: Option<f32>, cx: &mut MutableAppContext) {
self.wrap_map.set_wrap_width(width, cx);
pub fn set_wrap_width(&self, width: Option<f32>, cx: &mut MutableAppContext) -> bool {
self.wrap_map.set_wrap_width(width, cx)
}
pub fn notifications(&self) -> impl Stream<Item = ()> {