Rename editor::Event::Edited to editor::Event::BufferEdited
This is to distinguish it from a new event we're about to add which represent edits originating from that specific editor.
This commit is contained in:
@@ -204,7 +204,7 @@ impl ThemeSelector {
|
||||
cx: &mut ViewContext<Self>,
|
||||
) {
|
||||
match event {
|
||||
editor::Event::Edited { .. } => {
|
||||
editor::Event::BufferEdited { .. } => {
|
||||
self.update_matches(cx);
|
||||
self.select_if_matching(&cx.global::<Settings>().theme.name);
|
||||
self.show_selected_theme(cx);
|
||||
|
||||
Reference in New Issue
Block a user