aboutsummaryrefslogtreecommitdiffstats
path: root/src/textprop.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (Vchar_property_alias_alist): New variable.Colin Walters2002-06-081-0/+10
| | | | (syms_of_textprop) <Vchar_property_alias_alist>: DEFVAR_LISP.
* (remove_properties): Don't use XCAR without CONSP.Stefan Monnier2002-04-291-3/+3
|
* (remove_properties): Fixed trap for malformed plist.Kim F. Storm2002-04-221-7/+6
|
* (remove_properties): New arg LIST allows scanningRichard M. Stallman2002-04-191-26/+150
| | | | | | | | | either a list or a plist. (interval_has_some_properties_list): New function, like interval_has_some_properties using list instead of plist. All callers changed. (Fremove_list_of_text_properties): New function. (syms_of_textprop): Defsubr it.
* (text_property_stickiness): Function moved here from `editfns.c'.Miles Bader2002-03-141-1/+58
|
* (Fnext_property_change, Fnext_single_property_change)Stefan Monnier2002-01-251-11/+21
| | | | | (Fprevious_property_change, Fprevious_single_property_change): Stay within the narrowed-buffer boundaries.
* (set_text_properties_1): Allow args in either order.Richard M. Stallman2001-11-261-2/+9
| | | | Do nothing if range is empty.
* (set_text_properties_1): Clearly mark that the interval should not be empty.Stefan Monnier2001-11-261-1/+3
|
* (Fset_text_properties): Remove unused variables `unchanged',Pavel Janík2001-11-231-3/+1
| | | | `prev_changed', `s' and `len'.
* (set_text_properties_1): New subroutine, broken out of set_text_properties.Richard M. Stallman2001-11-111-28/+35
| | | | (set_text_properties): Use set_text_properties_1.
* Update usage of CHECK_ macros (remove unused second argument).Pavel Janík2001-11-021-16/+16
|
* (Fget_char_property): Doc fix.Richard M. Stallman2001-11-021-0/+1
|
* Change doc-string comments to `new style' [w/`doc:' keyword].Pavel Janík2001-10-211-147/+151
|
* Avoid (most) uses of XCAR/XCDR as lvalues, for flexibility in experimentingKen Raeburn2001-10-161-1/+1
| | | | with lisp system changes.
* (Fnext_char_property_change)Miles Bader2001-10-021-6/+6
| | | | | (Fprevious_char_property_change): Remove reference to non-existant argument OBJECT from doc-string.
* (verify_interval_modification): Fix last change.Gerd Moellmann2001-09-111-12/+18
|
* (verify_interval_modification): Don't runGerd Moellmann2001-09-111-2/+3
| | | | modification-hooks if inhibit_modification_hooks.
* (Fprevious_single_char_property_change)Miles Bader2001-08-271-4/+4
| | | | (Fnext_single_char_property_change): Doc fixes.
* (Fset_text_properties): Doc fix.Eli Zaretskii2001-02-151-1/+3
|
* (Fset_text_properties): Fix newline in doc string.Dave Love2001-01-311-1/+1
|
* (Fset_text_properties): Doc fix.Eli Zaretskii2001-01-291-1/+2
|
* (text_read_only): New function.Gerd Moellmann2000-11-281-6/+18
| | | | | | (verify_interval_modification): Use it instead of signaling `text-read-only'. This makes it easier to catch this error with a breakpoint.:
* (get_char_property_and_overlay): New function.Miles Bader2000-10-251-11/+41
| | | | (Fget_char_property): Use it.
* (Fget_char_property): Update call to overlays_at.Miles Bader2000-08-081-3/+3
|
* (Fprevious_single_char_property_change): Don't do arithmetic directly on lispKen Raeburn2000-08-081-2/+4
| | | | objects.
* (Fprevious_single_char_property_change):Miles Bader2000-07-221-12/+23
| | | | | The initial property value should be from the position preceding POSITION, not following it.
* (Fnext_single_char_property_change):Miles Bader2000-07-151-18/+99
| | | | | | | Made a subr (was `next_single_char_property_change'). Do more error checking, and cleanup limit behavior. (Fprevious_single_char_property_change): New function. (syms_of_textprop): Initialize new subrs.
* Revert last change -- duplicated.Dave Love2000-05-311-4/+1
|
* (Qkeymap): New variable.Dave Love2000-05-291-1/+3
| | | | (syms_of_textprop): Intern it.
* (Vtext_property_default_nonsticky): New variableKenichi Handa1999-12-151-0/+12
| | | | (syms_of_textprop): Declare it as a Lisp variable.
* (set_text_properties): New function. LikeGerd Moellmann1999-11-261-4/+19
| | | | | | | Fset_text_properties, but with additional parameter SIGNAL_AFTER_CHANGE_P. If that is nil, don't signal after changes. (Fset_text_properties): Use it.
* Remove USE_TEXT_PROPERTIES.Gerd Moellmann1999-11-111-7/+0
|
* (verify_interval_modification): Signal text-read-onlyGerd Moellmann1999-11-011-5/+5
| | | | instead of calling error.
* (next_single_char_property_change): New.Gerd Moellmann1999-09-261-0/+54
|
* (Fset_text_properties): Remove unused variables.Gerd Moellmann1999-09-201-4/+2
| | | | | (text_property_list, verify_interval_modification, interval_has_all_properties): Ditto.
* Use XCAR, XCDR, XFLOAT_DATA instead of explicit member access.Ken Raeburn1999-09-121-12/+12
|
* (text_property_list): New.Gerd Moellmann1999-07-211-1/+119
| | | | | | | (add_text_properties_from_list): New. (extend_property_ranges): New. (validate_interval_range): Make it externally visible.
* (Qmouse_face): Variable definition moved here.Richard M. Stallman1998-11-181-1/+3
| | | | (syms_of_textprop): Initialize it.
* Handle the new convention that `position' valuesKarl Heuer1998-06-031-145/+22
| | | | | | | | | | in a string's intervals start from zero. (validate_interval_range, interval_of, Fnext_property_change) (property_change_between_p, Fnext_single_property_change) (Fprevious_property_change, Fprevious_single_property_change): (Ftext_property_any, Ftext_property_not_all): Implement that. Undo previous change.
* (Fnext_property_change): Properly offset intervalKarl Heuer1998-05-291-11/+18
| | | | | | | position for string when comparing with LIMIT. (property_change_between_p): Likewise. (Fnext_single_property_change, Fprevious_property_change): Likewise. (Fprevious_single_property_change): Likewise.
* (interval_of): Handle Qt.Karl Heuer1998-02-221-0/+2
|
* (Ftext_properties_at): Doc fix.Richard M. Stallman1997-12-261-10/+11
|
* (interval_of): Convert args_out_of_range arguments to Lisp_Integer.Richard M. Stallman1997-07-121-1/+1
|
* Fix bugs with inappropriate mixing of Lisp_Object with int.Richard M. Stallman1997-07-041-4/+2
|
* Style of comments corrected.Richard M. Stallman1997-04-151-27/+69
| | | | (interval_of): New function.
* (Fnext_char_property_change): New function.Richard M. Stallman1996-12-151-4/+56
| | | | | (Fprevious_char_property_change): New function. (syms_of_textprop): defsubr them.
* (Fset_text_properties, Fadd_text_properties)Richard M. Stallman1996-09-261-24/+33
| | | | | (Fremove_text_properties): Call modify_region and signal_after_change only for buffers, not for strings.
* (set_properties, add_properties, remove_properties):Richard M. Stallman1996-09-251-28/+40
| | | | | | Don't call modify_region or signal_after_change here. (Fset_text_properties, Fadd_text_properties, Fremove_text_properties): Call them here when appropriate.
* (set_properties, add_properties, remove_properties):Richard M. Stallman1996-09-041-12/+12
| | | | Call modify_region with ints.
* (Fadd_text_properties): Don't return without ungcpro.Richard M. Stallman1996-02-101-1/+1
|