aboutsummaryrefslogtreecommitdiffstats
path: root/src/intervals.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (adjust_intervals_for_insertion): To check stickinesKenichi Handa1999-12-151-29/+140
| | | | | | of properties, pay attention to text-property-default-nonsticky. (merge_properties_sticky): Likewise. (get_property_and_range): New function.
* Remove USE_TEXT_PROPERTIES.Gerd Moellmann1999-11-111-5/+0
|
* (get_local_map): Use indirect_function,Phillip Rulon1999-10-091-1/+1
| | | | not Findirect_function.
* (rotate_right, rotate_left): Add braces to avoidGerd Moellmann1999-09-161-18/+18
| | | | | | | | | ambiguous else warning. (split_interval_left): Remove unused variables. (previous_interval, adjust_intervals_for_deletion, set_point_both, set_point_both, set_intervals_multibyte_1): Ditto. (icount, idepth, zero_length): Move into #if 0 section below original position where these are used.
* Use XCAR, XCDR, and XFLOAT_DATA instead of explicit member access.Ken Raeburn1999-09-131-1/+1
|
* Comment changes.Richard M. Stallman1999-07-011-2/+2
|
* (graft_intervals_into_buffer): Turn offRichard M. Stallman1999-04-061-0/+3
| | | | inhibit_modification_hooks around calling Fset_text_properties.
* (create_root_interval): Initialize position to 0Karl Heuer1998-06-031-27/+76
| | | | | | | | | | | for a string. (interval_start_pos): New function. (find_interval): Handle string positions starting at 0. (adjust_intervals_for_insertion): Likewise. (adjust_intervals_for_deletion): Likewise. (compare_string_intervals): Likewise. (graft_intervals_into_buffer): Set `position' in reproduce_tree value. (copy_intervals): Init `position' to 0.
* Fix -Wimplicit warnings.Andreas Schwab1998-04-141-2/+2
|
* (set_intervals_multibyte): Function moved after set_intervals_multibyte_1.Richard M. Stallman1998-04-031-15/+13
|
* (update_interval): Properly update `position' field of used intervals.Richard M. Stallman1998-03-021-7/+17
|
* (temp_set_point_both): Declare arg BYTEPOS as int.Kenichi Handa1998-02-201-2/+2
| | | | (set_point_both): Likewise.
* (split_interval_right): Make sure to callRichard M. Stallman1998-02-161-20/+20
| | | | | | | | balance_possible_root_interval in case an interval doesn't have a right child, because otherwise the interval tree might degenerate into a list. (split_interval_left): Ditto if an interval hasn't a left child.
* Update copyright year.Richard M. Stallman1998-01-211-1/+1
|
* (set_intervals_multibyte): New function.Richard M. Stallman1998-01-191-0/+74
| | | | (set_intervals_multibyte_1): New function.
* (set_point_both): Renamed from set_point;Richard M. Stallman1998-01-011-42/+90
| | | | | | | | New arg BYTE; BUFFER is now first arg; use temp_set_point_both. (set_point): New function; uses set_point_both. (temp_set_point_both): New function. (temp_set_point): Update BUF_PT_BYTE. (get_local_map): Save and restore both forms of the buffer bounds.
* (traverse_intervals): Protoize parameter.Andreas Schwab1997-11-211-1/+1
|
* (set_point): Convert call2 arguments to Lisp_Integer.Richard M. Stallman1997-07-121-4/+8
|
* Fix bugs with inappropriate mixing of Lisp_Object with int.Richard M. Stallman1997-07-041-7/+7
|
* (find_interval): No longer inline.Richard M. Stallman1997-06-021-1/+1
|
* (move_if_not_intangible): Fix previous change.Richard M. Stallman1997-05-311-2/+2
|
* (move_if_not_intangible): New function.Richard M. Stallman1997-05-311-0/+56
|
* Update copyright year.Richard M. Stallman1997-04-151-1/+1
|
* (update_interval): New function.Richard M. Stallman1997-04-151-0/+39
|
* (set_point): Use virtual bounds, not real bounds,Richard M. Stallman1996-12-201-4/+36
| | | | | in the abort test for POSITION. Skip the intangibility test if POSITION is at either end of buffer.
* (set_point): Use virtual bounds, not real bounds,Richard M. Stallman1996-12-181-2/+5
| | | | | in the abort test for POSITION. Skip the intangibility test if POSITION is at either end of buffer.
* (merge_properties_sticky): Don't discard explicit nilRichard M. Stallman1996-12-171-12/+24
| | | | | properties. Don't put on a front-sticky property if we inherit one from the category that does the job.
* (set_point): Check for intangible properties on overlays.Richard M. Stallman1996-12-151-42/+55
|
* (get_local_map): Call indirect-function.Richard M. Stallman1996-09-041-0/+3
|
* (copy_intervals_to_string): Take arg as buffer.Richard M. Stallman1996-09-041-2/+3
|
* (balance_intervals_internal): Recurse directly.Erik Naggum1996-07-201-2/+2
|
* Update FSF's address in the preamble.Erik Naggum1996-01-151-1/+2
|
* Comment fixes.Karl Heuer1996-01-051-4/+4
|
* (call_mod_hooks, verify_interval_modification):Richard M. Stallman1995-09-121-194/+0
| | | | Functions moved to textprop.c.
* (get_local_map): Use Fget_char_property, so thatKarl Heuer1995-05-021-11/+21
| | | | overlay properties will be considered as well as text properties.
* (set_point): When skipping intangible text,Richard M. Stallman1995-04-091-19/+27
| | | | stop where property value changes.
* Update copyright.Karl Heuer1995-04-071-1/+1
|
* (Vdefault_text_properties): name changed from Vdefault_properties.Boris Goldowsky1995-03-271-26/+7
| | | | | (textget_direct): Fn deleted. (textget, verify_interval_modification): Use Fplist_get instead.
* (textget): Check default_properties vbl too.Boris Goldowsky1995-03-061-2/+7
|
* (set_point): Set point_before_scroll to nil.Richard M. Stallman1995-01-271-0/+2
|
* Use BUF_INTERVALS throughout.Richard M. Stallman1995-01-021-32/+35
| | | | | (temp_set_point, set_point): Use BUF_PT. (get_local_map): Get keymap from specified buffer, not current one.
* (compare_string_intervals): New function.Richard M. Stallman1994-12-041-0/+41
|
* (verify_interval_modification): Fix comment.Karl Heuer1994-10-121-1/+1
|
* (graft_intervals_into_buffer): Use new accessor macros instead of calling XSETKarl Heuer1994-10-041-3/+3
| | | | directly.
* (create_root_interval, balance_possible_root_interval, delete_interval): UseKarl Heuer1994-09-271-6/+6
| | | | type test macros.
* (set_point): If Vinhibit_point_motion_hooks, ignore intangible properties.Richard M. Stallman1994-09-241-9/+46
| | | | If move backwards into intangible text, move back over it.
* Add #include "keyboard.h"Karl Heuer1994-09-191-0/+1
|
* (interval_balance_threshold): Var deleted.Richard M. Stallman1994-09-151-3/+0
|
* (textget): Ignore category prop if not a symbol.Richard M. Stallman1994-08-241-1/+5
|
* Update copyright.Karl Heuer1994-05-041-1/+1
|