comparison src/intervals.c @ 3591:507f64624555

Apply typo patches from Paul Eggert.
author Jim Blandy <jimb@redhat.com>
date Wed, 09 Jun 1993 11:59:12 +0000
parents 07b454ddc666
children 5ada670e1fd8
comparison
equal deleted inserted replaced
3590:d5f22061277d 3591:507f64624555
835 } 835 }
836 836
837 /* Never reach here */ 837 /* Never reach here */
838 } 838 }
839 839
840 /* Effect the adjustments neccessary to the interval tree of BUFFER 840 /* Effect the adjustments necessary to the interval tree of BUFFER
841 to correspond to the deletion of LENGTH characters from that buffer 841 to correspond to the deletion of LENGTH characters from that buffer
842 text. The deletion is effected at position START (relative to the 842 text. The deletion is effected at position START (relative to the
843 buffer). */ 843 buffer). */
844 844
845 static void 845 static void
879 return; 879 return;
880 } 880 }
881 } 881 }
882 } 882 }
883 883
884 /* Make the adjustments neccessary to the interval tree of BUFFER to 884 /* Make the adjustments necessary to the interval tree of BUFFER to
885 represent an addition or deletion of LENGTH characters starting 885 represent an addition or deletion of LENGTH characters starting
886 at position START. Addition or deletion is indicated by the sign 886 at position START. Addition or deletion is indicated by the sign
887 of LENGTH. */ 887 of LENGTH. */
888 888
889 INLINE void 889 INLINE void
1094 1094
1095 If the text goes between two intervals, then if neither interval 1095 If the text goes between two intervals, then if neither interval
1096 had its appropriate sticky property set (front_sticky, rear_sticky), 1096 had its appropriate sticky property set (front_sticky, rear_sticky),
1097 the new text has only its properties. If one of the sticky properties 1097 the new text has only its properties. If one of the sticky properties
1098 is set, then the new text "sticks" to that region and its properties 1098 is set, then the new text "sticks" to that region and its properties
1099 depend on merging as above. If both the preceding and succeding 1099 depend on merging as above. If both the preceding and succeeding
1100 intervals to the new text are "sticky", then the new text retains 1100 intervals to the new text are "sticky", then the new text retains
1101 only its properties, as if neither sticky property were set. Perhaps 1101 only its properties, as if neither sticky property were set. Perhaps
1102 we should consider merging all three sets of properties onto the new 1102 we should consider merging all three sets of properties onto the new
1103 text... */ 1103 text... */
1104 1104