WIP
This commit is contained in:
@@ -8693,9 +8693,9 @@ impl Editor {
|
||||
}
|
||||
}
|
||||
|
||||
// pub fn show_local_cursors(&self, cx: &AppContext) -> bool {
|
||||
// self.blink_manager.read(cx).visible() && self.focused
|
||||
// }
|
||||
pub fn show_local_cursors(&self, cx: &AppContext) -> bool {
|
||||
self.blink_manager.read(cx).visible() && self.focused
|
||||
}
|
||||
|
||||
fn on_buffer_changed(&mut self, _: Model<MultiBuffer>, cx: &mut ViewContext<Self>) {
|
||||
cx.notify();
|
||||
|
||||
+577
-548
File diff suppressed because it is too large
Load Diff
@@ -29,10 +29,6 @@ impl Line {
|
||||
)
|
||||
}
|
||||
|
||||
pub fn width(&self) -> Pixels {
|
||||
self.layout.width
|
||||
}
|
||||
|
||||
pub fn wrap_count(&self) -> usize {
|
||||
self.layout.wrap_boundaries.len()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user