- 23 Jul, 1993 1 commit
-
-
Richard M. Stallman authored
-
- 21 Jul, 1993 1 commit
-
-
Richard M. Stallman authored
(Qinsert_behind_hooks): Moved to buffer.c. (syms_of_textprop): Lisp vars setup deleted.
-
- 18 Jul, 1993 1 commit
-
-
Jim Blandy authored
OFFSET argument of these functions to be origin 0, not origin 1. This is what all the callers currently want. * intervals.c, textprop.c: All callers changed. * textprop.c (Ftext_property_not_all): Renamed from Ftext_property_all, and changed sense of return value, so that it returns useful information if not all characters have properties EQ to value. Now all the existential and universal questions can be asked. * textprop.c (syms_of_textprop): Don't forget defsubr for Stext_property_all. * textprop.c (Ftext_property_any, Ftext_property_all): Use EQ to compare property values, not Fequal. * textprop.c (Ftext_property_any, Ftext_property_all): New functions, from David Gillespie. * intervals.h (Ftext_property_any, Ftext_property_all): Declare them.
-
- 13 Jul, 1993 1 commit
-
-
Richard M. Stallman authored
(syms_of_textprop): Set them up. (set_properties): Call modify_region. (remove_properties): Call modify_region before record_property_change. (add_properties): Likewise.
-
- 06 Jul, 1993 2 commits
-
-
Jim Blandy authored
validate_interval_range; that function increments its arguments, which isn't what we want. * intervals.c (find_interval): Consistently treat POSITION as an actual buffer position, i.e. origin 1. The old code seemed undecided on this point. Treat the end of the buffer as being part of the rightmost interval. (adjust_intervals_for_insertion): Consistently treat POSITION as origin 1. (interval_deletion_adjustment): The exception: FROM should be origin zero here. Consistently treat it as such. Simplify code which shrinks and possibly deletes intervals. (adjust_intervals_for_deletion): Treat start as origin 1; our caller does. (set_point): Use buffer positions throughout, not a mix of buffer posns and origin zero posns. (get_local_map): Remove special case for POSITION at end of buffer; find_interval handles that case correctly. (verify_interval_modification): Remove special case for START at end of buffer. * textprop.c (validate_interval_range): End-of-buffer/string positions no longer need special handling. * textprop.c (copy_text_properties): New function, from David Gillespie. * intervals.h: Declare copy_text_properties. * fns.c: #include "intervals.h". (Fsubstring): Copy text properties to result string. (concat): Copy text properties to result string. * ymakefile (fns.o): Note that this depends on INTERVAL_SRC.
-
Jim Blandy authored
* intervals.c (intervals_equal): Call EQ, not Fequal. * textprop.c (interval_has_all_properties, add_properties): Same.
-
- 05 Jul, 1993 1 commit
-
-
Jim Blandy authored
*begin and *end if they point to the same thing. (validate_plist): Call QUIT while scanning LIST.
-
- 02 Jul, 1993 1 commit
-
-
Jim Blandy authored
new properties. Only record old property values for those properties whose values have changed. * textprop.c (set_properties): Don't try to make undo records if OBJECT is a string.
-
- 21 Jun, 1993 1 commit
-
-
Richard M. Stallman authored
Really do next_interval when skipping the first interval.
-
- 12 Jun, 1993 1 commit
-
-
Jim Blandy authored
-
- 11 Jun, 1993 1 commit
-
-
Richard M. Stallman authored
-
- 09 Jun, 1993 1 commit
-
-
Jim Blandy authored
-
- 07 Jun, 1993 1 commit
-
-
Richard M. Stallman authored
interval specially, aside from splitting off the part starting where we want to start changing things. (Fremove_text_properties): Likewise. For ending interval, split it left as in Fadd_text_properties. (Fset_text_properties): Don't set starting interval if it goes past END. Instead, split it left and set the left part.
-
- 14 May, 1993 1 commit
-
-
Jim Blandy authored
than the current one. * insdel.c (modify_region): New argument BUFFER. Select that buffer while we prepare for the modification, and switch back when we're done. * textprop.c (add_properties, remove_properties): Pass the buffer being modified as the first argument to modify_region. * editfns.c (Fsubst_char_in_region, Ftranslate_region): Pass the current_buffer as the first argument to modify_region. * casefiddle.c (casify_region): Same.
-
- 13 May, 1993 1 commit
-
-
Jim Blandy authored
Fprevious_single_property_change): Pass arguments to textget in the right order.
-
- 11 Mar, 1993 1 commit
-
-
Jim Blandy authored
Use a "for (;;)" loop at the end of the function, to indicate that all exiting is taken care of inside the loop. (Fremove_text_properties): Same.
-
- 07 Mar, 1993 2 commits
-
-
Richard M. Stallman authored
(Fnext_single_property_change): Likewise. (Fprevious_single_property_change): Likewise. (syms_of_textprop): Set up Qcategory, Qlocal_map.
-
Richard M. Stallman authored
(syms_of_textprop): Changed accordingly.
-
- 01 Mar, 1993 1 commit
-
-
Richard M. Stallman authored
Add len>0 as condition for main loop. Abort if reach a null interval. (Fset_text_properties): Abort if reach a null interval. (Ftext_properties_at, Fget_text_property): Return nil if POS is end of OBJECT. (add_properties): Use NILP to test result of Fequal. No longer inline. (remove_properties): No longer inline. (set_properties): Total rewrite as function. (validate_interval_range): Don't alter *begin at end of buffer. But do search for a position just before the end. Return null for an empty string. (validate_interval_range): Allow 0 as position in string. Add 1 to specified string positions. (Fprevious_single_property_change): Subtract 1 if object is string. (Fnext_single_property_change): Likewise. (Fprevious_property_change, Fnext_property_change): Likewise. (remove_properties): Call modify_buffer. (add_properties): Likewise. (Fadd_text_properties): Pass new arg to add_properties. (Fremove_text_properties): Likewise. (add_properties, remove_properties): New arg OBJECT. Record undo info. (Fput_text_property): New function.
-
- 22 Feb, 1993 1 commit
-
-
Jim Blandy authored
* keyboard.c (Fread_key_sequence): Backslash the newlines in this docstring. * textprop.c (Fget_text_property): Same.
-
- 13 Feb, 1993 1 commit
-
-
Richard M. Stallman authored
(Fset_text_properties, Fremove_text_properties): Likewise. (Fnext_single_property_change, Fprevious_single_property_change): (Fnext_property_change, Fprevious_property_change): Likewise. (Ferase_text_properties): #if 0. (Fget_text_property): New function.
-
- 24 Dec, 1992 1 commit
-
-
Jim Blandy authored
* frame.c (Fnext_frame): Same. * textprop.c (Fprevious_single_property_change): Same. (syms_of_textprop): Same, for DEFVAR for `interval_balance_threshold'.
-
- 02 Oct, 1992 2 commits
-
-
Joseph Arceneaux authored
-
Joseph Arceneaux authored
"USE_TEXT_PROPERTIES".
-
- 01 Oct, 1992 1 commit
-
-
Joseph Arceneaux authored
-
- 30 Sep, 1992 1 commit
-
-
Joseph Arceneaux authored
-
- 24 Sep, 1992 1 commit
-
-
Joseph Arceneaux authored
-
- 30 Aug, 1992 1 commit
-
-
Joseph Arceneaux authored
-
- 21 Aug, 1992 1 commit
-
-
Joseph Arceneaux authored
-