WIP
This commit is contained in:
parent
769526a76a
commit
e460f6a27c
3 changed files with 580 additions and 555 deletions
|
@ -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();
|
||||
|
|
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()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue