(adjust_markers_for_insert): Don't leave a marker within
authorRichard M. Stallman <rms@gnu.org>
Wed, 11 Mar 1998 00:47:48 +0000 (00:47 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 11 Mar 1998 00:47:48 +0000 (00:47 +0000)
commitce97a2d7ed0eb52e291522ecdc23029c6002c839
treeaa31dbfce914f0b32d0165b3dd6217a4f6a9ae80
parent93b882e857fae21b75d1ba41531e942f95ad634c
(adjust_markers_for_insert): Don't leave a marker within
the combined_after_bytes.  Use DEC than INC when leaving
a marker before the insertion.
(count_combining_before): Return number of bytes from start
of insertion that will combine.
(insert_1_both): Compensate for change in count_combining_before.
Delete intervals for the combined_after_bytes.
Compensate for that when updating other intervals.
(insert_from_buffer_1, replace_range): Likewise.
(adjust_after_replace): Likewise.
(insert_from_string_1): Likewise.  Also handle intervals
for inserting just part of string.
src/insdel.c