bug fix when yanking or deleting inside a word (we should not clip 'high' value, and we should search for end of word strictly); this handles cases like when we only have one character in the buffer, or an empty buffer
This commit is contained in:
@@ -619,6 +619,7 @@ struct
|
||||
(* equivalent of vi's `e` command *)
|
||||
val endOfWord = ViWordDfa.endOfCurrentWord
|
||||
val endOfWordForDelete = ViWordDfa.endOfCurrentWordForDelete
|
||||
val endOfWordStrict = ViWordDfa.endOfCurrentWordStrict
|
||||
|
||||
(* equivalent of vi's `E` command *)
|
||||
val endOfWORD = ViCapsWordDfa.endOfCurrentWORD
|
||||
|
||||
Reference in New Issue
Block a user