(adjust_intervals_for_insertion): Handle insertion
authorRichard M. Stallman <rms@gnu.org>
Sat, 31 Jul 1993 21:58:03 +0000 (21:58 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 31 Jul 1993 21:58:03 +0000 (21:58 +0000)
commit7ce503fdda34ee029bb1862c71cb756db5cac791
treee8a4f8647d1a49e1662ec11b4df82d0012502bbf
parent58943db0069c771583df071c58f88ece0cdf8820
(adjust_intervals_for_insertion): Handle insertion
between two unlike intervals via merge_properties_sticky.
(merge_properties_sticky): New function.
(graft_intervals_into_buffer): Leave handling of `sticky'-ness to
adjust_intervals_for_insertion, then merge properties of the
inserted text onto the old ones.
(textget_direct): New function.
(set_point): Fix calculating of fromprev.
(verify_interval_modification): Check for `read-only' property
and take its `sticky'-ness into account.

(set_point): Ignore `invisible' property unless property value is `hidden'.
src/intervals.c