(adjust_markers_for_replace): Don't adjust a byte
authorKenichi Handa <handa@m17n.org>
Wed, 16 Sep 1998 07:21:31 +0000 (07:21 +0000)
committerKenichi Handa <handa@m17n.org>
Wed, 16 Sep 1998 07:21:31 +0000 (07:21 +0000)
commit23b20a7066f96cc984b0d58ccf96dad03850c7de
treea2292fba65cf26b3a0a9fa566c763e800adccdf4
parentf2558efdddf27108eedfd9f24f9ffb5414599c43
(adjust_markers_for_replace): Don't adjust a byte
position if it is FROM.
(adjust_markers_for_combining): New function.
(combine_bytes): Call adjust_markers_for_combining instead of
adjust_markers_for_replace.
(adjust_after_replace): Record deletion of combining after bytes
with the correct position.  Don't add combining bytes to the args
given to adjust_point.  Handle correctly the case that there are
both before and after combining bytes.
(replace_range): Likewise.  Record the actual deletion after
recoding deletions of combining bytes.
src/insdel.c