Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix editor test to clearly show trailing whitespace Adjsut default dock size to be a multiple of 16
Mikayla Makidaed75096e98
diff --git a/crates/editor/src/editor_tests.rs b/crates/editor/src/editor_tests.rsindex d73c3c87db3..4f61bde3987 100644--- a/crates/editor/src/editor_tests.rs+++ b/crates/editor/src/editor_tests.rs@@ -2353,12 +2353,16 @@ async fn test_clipboard(cx: &mut gpui::TestAppContext) {e.paste(&Paste, cx);e.handle_input(") ", cx);});- cx.assert_editor_state(indoc! {"- ( one✅- three- five ) ˇtwo one✅ four three six five ( one✅- three- five ) ˇ"});+ cx.assert_editor_state(+ &([+ "( one✅ ",+ "three ",+ "five ) ˇtwo one✅ four three six five ( one✅ ",+ "three ",+ "five ) ˇ",+ ]+ .join("\n")),+ );// Cut with three selections, one of which is full-line.cx.set_state(indoc! {"diff --git a/styles/src/styleTree/workspace.ts b/styles/src/styleTree/workspace.tsindex d798a22e9d6..1789b523e7f 100644--- a/styles/src/styleTree/workspace.ts+++ b/styles/src/styleTree/workspace.ts@@ -282,7 +282,7 @@ export default function workspace(colorScheme: ColorScheme) {},dock: {initialSizeRight: 640,- initialSizeBottom: 300,+ initialSizeBottom: 304,wash_color: withOpacity(background(colorScheme.highest), 0.5),panel: {border: border(colorScheme.middle),