Commit graph

414 commits

Author SHA1 Message Date
Ed Page
9859e60077 fix(cli): Don't panic when finding column
When rendering typos, we look up what visual column the typoe starts on
but I mixed a raw byte offset with the offset into a lossy string.  This
caused panics when dealing with non-ascii content.

Fixes #258
2021-05-27 21:28:42 -05:00
Ed Page
b4e198a280 chore: Release 2021-05-27 13:56:37 -05:00
Ed Page
2b5699180c fix: Count lines correctly
I didn't count on how `buffer.lines().count()` would handle different
corner cases, like slices with no `\n`, slices with trailing `\n`, etc.

Fixes #259
2021-05-27 13:24:38 -05:00
Ed Page
8cb17d1363 chore: Release 2021-05-25 21:02:40 -05:00
Ed Page
3e66a99674 chore: Release 2021-05-21 20:41:02 -05:00
Ed Page
65d0ea238b docs: Update changelog 2021-05-21 18:29:17 -05:00
Ed Page
7c803681c4 chore: Release 2021-05-13 09:58:09 -05:00
Ed Page
183f153b04 docs: Update changelog 2021-05-13 07:02:48 -05:00
Ed Page
1f4c587692 chore({{crate_name}}): Release {{version}} 2021-04-14 19:13:25 -05:00
Ed Page
8cb9d50648 docs: Update changelog 2021-04-13 21:28:28 -05:00
Ed Page
f64f9b7fde docs: Switch to keepachangelog 2021-02-04 21:46:50 -06:00
John Maguire
21df3ed539 fix(docs): Replace mentions of scorrect with typos
At some point early on, this project was renamed from "scorrect" to
"typos". Some references to old URLs still exist. This commit corrects
those references.
2021-01-10 23:13:38 -05:00
Ed Page
cb7a198866 docs: Write 0.1.4 changelog 2019-11-02 19:57:25 -06:00
Ed Page
0cdd64c038 Initial commit 2019-01-22 15:01:33 -07:00