Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Remove todo
Nate Butler38d0fdc09aaf
diff --git a/crates/editor2/src/editor.rs b/crates/editor2/src/editor.rsindex 0063bf2ce42..c4788ebd714 100644--- a/crates/editor2/src/editor.rs+++ b/crates/editor2/src/editor.rs@@ -9379,18 +9379,16 @@ impl Render for Editor {fn render(&mut self, cx: &mut ViewContext<Self>) -> Self::Element {let settings = ThemeSettings::get_global(cx);let text_style = match self.mode {- EditorMode::SingleLine => {- TextStyle {- color: cx.theme().colors().text,- font_family: settings.ui_font.family.clone(), // todo!()- font_features: settings.ui_font.features,- font_size: rems(0.875).into(),- font_weight: FontWeight::NORMAL,- font_style: FontStyle::Normal,- line_height: relative(1.).into(),- underline: None,- }- }+ EditorMode::SingleLine => TextStyle {+ color: cx.theme().colors().text,+ font_family: settings.ui_font.family.clone(),+ font_features: settings.ui_font.features,+ font_size: rems(0.875).into(),+ font_weight: FontWeight::NORMAL,+ font_style: FontStyle::Normal,+ line_height: relative(1.).into(),+ underline: None,+ },EditorMode::AutoHeight { max_lines } => todo!(),