diff --git a/lapce-core/src/word/test.rs b/lapce-core/src/word/test.rs index 2ef39665..09a44a8f 100644 --- a/lapce-core/src/word/test.rs +++ b/lapce-core/src/word/test.rs @@ -41,7 +41,7 @@ fn test_end_boundary_by_spaces() { let mut cursor = WordCursor::new(buffer.text(), 0); assert_eq!(cursor.end_boundary(), Some(4)); assert_eq!(cursor.end_boundary(), Some(9)); - // This end of word bounary is expected to go 1 beyond the buffer end. + // This end of word boundary is expected to go 1 beyond the buffer end. assert_eq!(cursor.end_boundary(), Some(buffer.len())); assert_eq!(cursor.end_boundary(), None); } diff --git a/lapce-ui/src/split.rs b/lapce-ui/src/split.rs index 5d9342ad..5c92d19d 100644 --- a/lapce-ui/src/split.rs +++ b/lapce-ui/src/split.rs @@ -225,7 +225,7 @@ pub fn direction(mut self, direction: SplitDirection) -> Self { } /// Set the panel kind on the split, so that split can - /// determine the split direction based on the postion + /// determine the split direction based on the position /// of the panel pub fn panel(mut self, panel: PanelKind) -> Self { self.panel = Some(panel); diff --git a/lapce-ui/src/tab.rs b/lapce-ui/src/tab.rs index de2120a3..7d180d22 100644 --- a/lapce-ui/src/tab.rs +++ b/lapce-ui/src/tab.rs @@ -2022,7 +2022,7 @@ fn paint(&mut self, ctx: &mut PaintCtx, data: &LapceTabData, env: &Env) { /// The tab header of window tabs where you can click to focus and /// drag to re order them /// -/// Each window tab hosts a sperate workspace, which gives you an alternative +/// Each window tab hosts a separate workspace, which gives you an alternative /// way to work with multiple workspaces. pub struct LapceTabHeader { pub drag_start: Option<(Point, Point)>,