Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Hide any circumstantial evidence that this didn't work perfectly first time

Conrad Irwin2de34a905d19
diff --git a/crates/editor/src/movement.rs b/crates/editor/src/movement.rs
index 1bb4154b1f7..580faf10506 100644
--- a/crates/editor/src/movement.rs
+++ b/crates/editor/src/movement.rs
@@ -147,9 +147,7 @@ pub fn down_by_rows(
goal_x = map.x_for_point(point, text_layout_details)
}
- dbg!(point);
let mut clipped_point = map.clip_point(point, Bias::Right);
- dbg!(clipped_point);
if clipped_point.row() > point.row() {
clipped_point = map.clip_point(point, Bias::Left);
}
diff --git a/crates/vim/src/visual.rs b/crates/vim/src/visual.rs
index 0e108251e2e..5d6477ff5be 100644
--- a/crates/vim/src/visual.rs
+++ b/crates/vim/src/visual.rs
@@ -180,8 +180,6 @@ pub fn visual_block_motion(
head_x = map.x_for_point(head, &text_layout_details);
}
- dbg!(head, head_x, tail, tail_x);
-
let positions = if is_reversed {
head_x..tail_x
} else {