mirror of https://github.com/lapce/lapce.git
fix comment typo
This commit is contained in:
parent
1008682d28
commit
277796ab66
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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)>,
|
||||
|
|
Loading…
Reference in New Issue