aboutsummaryrefslogtreecommitdiff
path: root/src/selection.rs
diff options
context:
space:
mode:
authorMartin Lindhe <martin-commit@ubique.se>2017-10-30 16:03:58 +0100
committerJoe Wilm <jwilm@users.noreply.github.com>2017-10-30 09:25:13 -0700
commit5b444375f22927c3661c331f3f37519940204bc0 (patch)
tree0079436834a54bd5e58e48e46a253f2a73890b6d /src/selection.rs
parentf646f6c9f8b04d7c880920941eccce699fba6b04 (diff)
downloadalacritty-5b444375f22927c3661c331f3f37519940204bc0.tar.gz
alacritty-5b444375f22927c3661c331f3f37519940204bc0.zip
fix some typos in comments
Diffstat (limited to 'src/selection.rs')
-rw-r--r--src/selection.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/selection.rs b/src/selection.rs
index 714c84c4..1c31a452 100644
--- a/src/selection.rs
+++ b/src/selection.rs
@@ -47,7 +47,7 @@ pub enum Selection {
/// The region representing start and end of cursor movement
region: Region<Point>,
- /// When begining a semantic selection, the grid is searched around the
+ /// When beginning a semantic selection, the grid is searched around the
/// initial point to find semantic escapes, and this initial expansion
/// marks those points.
initial_expansion: Region<Point>
@@ -398,7 +398,7 @@ impl ToRange for Span {
///
/// There are comments on all of the tests describing the selection. Pictograms
/// are used to avoid ambiguity. Grid cells are represented by a [ ]. Only
-/// cells that are comletely covered are counted in a selection. Ends are
+/// cells that are completely covered are counted in a selection. Ends are
/// represented by `B` and `E` for begin and end, respectively. A selected cell
/// looks like [XX], [BX] (at the start), [XB] (at the end), [XE] (at the end),
/// and [EX] (at the start), or [BE] for a single cell. Partially selected cells