We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b93b62 commit 9805ec0Copy full SHA for 9805ec0
src/zed_edit.ml
@@ -103,7 +103,7 @@ let default_match_word =
103
| `Boundary | `End -> Some pos
104
| `Uchar char->
105
let pos=
106
- (* combining characters do not step forward postion *)
+ (* combining characters do not step forward position *)
107
if Zed_char.is_printable_core char then pos+1
108
else pos
109
in
@@ -641,7 +641,7 @@ let search_word_backward ctx =
641
match ctx.edit.match_word ctx.edit.text idx with
642
| Some idx' ->
643
(* the match_word method now uses unicode segmentation algorithm,
644
- so the tail postion should be traced *)
+ so the tail position should be traced *)
645
let (_, r_end)= result in
646
if idx' = r_end then
647
loop2 (idx - 1) (idx, idx')
0 commit comments