Remove warnigns

This commit is contained in:
Conrad Irwin
2023-12-11 10:45:27 -07:00
parent af7c93b8d5
commit dd42adc4e5
14 changed files with 22 additions and 35 deletions
-7
View File
@@ -9097,9 +9097,6 @@ impl Editor {
}
pub fn handle_blur(&mut self, cx: &mut ViewContext<Self>) {
// todo!()
// let blurred_event = EditorBlurred(cx.handle());
// cx.emit_global(blurred_event);
self.blink_manager.update(cx, BlinkManager::disable);
self.buffer
.update(cx, |buffer, cx| buffer.remove_active_selections(cx));
@@ -9283,10 +9280,6 @@ pub enum EditorEvent {
Closed,
}
pub struct EditorFocused(pub View<Editor>);
pub struct EditorBlurred(pub View<Editor>);
pub struct EditorReleased(pub WeakView<Editor>);
impl EventEmitter<EditorEvent> for Editor {}
impl FocusableView for Editor {