Richard M. Stallman
31c8f88101
Update copyright year.
1998-01-21 22:22:17 +00:00
Richard M. Stallman
37f26f3c5a
(set_intervals_multibyte): New function.
...
(set_intervals_multibyte_1): New function.
1998-01-19 19:30:38 +00:00
Richard M. Stallman
ef1900f30c
(set_point_both): Renamed from set_point;
...
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.
1998-01-01 07:08:33 +00:00
Andreas Schwab
0c60dfd7b4
(traverse_intervals): Protoize parameter.
1997-11-21 15:07:57 +00:00
Richard M. Stallman
4dcb3ee353
(set_point): Convert call2 arguments to Lisp_Integer.
1997-07-12 06:42:44 +00:00
Richard M. Stallman
2e34157cd9
Fix bugs with inappropriate mixing of Lisp_Object with int.
1997-07-04 20:44:52 +00:00
Richard M. Stallman
1863bbf894
(find_interval): No longer inline.
1997-06-02 18:30:21 +00:00
Richard M. Stallman
5509c7ff85
(move_if_not_intangible): Fix previous change.
1997-05-31 08:34:13 +00:00
Richard M. Stallman
a7fa233fe7
(move_if_not_intangible): New function.
1997-05-31 07:38:44 +00:00
Richard M. Stallman
b745025d2d
Update copyright year.
1997-04-15 04:56:39 +00:00
Richard M. Stallman
25eeac41e0
(update_interval): New function.
1997-04-15 04:45:26 +00:00
Richard M. Stallman
ca41a64d00
(set_point): Use virtual bounds, not real bounds,
...
in the abort test for POSITION.
Skip the intangibility test if POSITION is at either end of buffer.
1996-12-20 18:15:52 +00:00
Richard M. Stallman
b827a9e32b
(set_point): Use virtual bounds, not real bounds,
...
in the abort test for POSITION.
Skip the intangibility test if POSITION is at either end of buffer.
1996-12-18 06:30:59 +00:00
Richard M. Stallman
4ab19eb30d
(merge_properties_sticky): Don't discard explicit nil
...
properties. Don't put on a front-sticky property if we inherit
one from the category that does the job.
1996-12-17 07:25:35 +00:00
Richard M. Stallman
580fae9403
(set_point): Check for intangible properties on overlays.
1996-12-15 04:58:53 +00:00
Richard M. Stallman
4a9f44cd82
(get_local_map): Call indirect-function.
1996-09-04 15:40:46 +00:00
Richard M. Stallman
46d8a55bd1
(copy_intervals_to_string): Take arg as buffer.
1996-09-04 04:33:40 +00:00
Erik Naggum
8f3b9b9586
(balance_intervals_internal): Recurse directly.
1996-07-20 04:44:09 +00:00
Erik Naggum
3b7ad313e0
Update FSF's address in the preamble.
1996-01-15 09:18:04 +00:00
Karl Heuer
8e6208c5d2
Comment fixes.
1996-01-05 10:03:17 +00:00
Richard M. Stallman
40648b6832
(call_mod_hooks, verify_interval_modification):
...
Functions moved to textprop.c.
1995-09-12 17:37:53 +00:00
Karl Heuer
0f7a5fda79
(get_local_map): Use Fget_char_property, so that
...
overlay properties will be considered as well as text properties.
1995-05-02 23:06:11 +00:00
Richard M. Stallman
5eabb4e7ee
(set_point): When skipping intangible text,
...
stop where property value changes.
1995-04-09 09:42:28 +00:00
Karl Heuer
f8c25f1b67
Update copyright.
1995-04-07 02:21:52 +00:00
Boris Goldowsky
06d9232749
(Vdefault_text_properties): name changed from Vdefault_properties.
...
(textget_direct): Fn deleted.
(textget, verify_interval_modification): Use Fplist_get instead.
1995-03-27 16:05:57 +00:00
Boris Goldowsky
70743ff117
(textget): Check default_properties vbl too.
1995-03-06 15:43:56 +00:00
Richard M. Stallman
b6a0ebc300
(set_point): Set point_before_scroll to nil.
1995-01-27 07:19:06 +00:00
Richard M. Stallman
e5d967c90e
Use BUF_INTERVALS throughout.
...
(temp_set_point, set_point): Use BUF_PT.
(get_local_map): Get keymap from specified buffer, not current one.
1995-01-02 21:38:22 +00:00
Richard M. Stallman
d8638d30b5
(compare_string_intervals): New function.
1994-12-04 21:07:03 +00:00
Karl Heuer
9bdff5c5c7
(verify_interval_modification): Fix comment.
1994-10-12 02:11:34 +00:00
Karl Heuer
55cfc73193
(graft_intervals_into_buffer): Use new accessor macros instead of calling XSET
...
directly.
1994-10-04 12:10:17 +00:00
Karl Heuer
b629dd47e0
(create_root_interval, balance_possible_root_interval, delete_interval): Use
...
type test macros.
1994-09-27 02:30:34 +00:00
Richard M. Stallman
d5219de56e
(set_point): If Vinhibit_point_motion_hooks, ignore intangible properties.
...
If move backwards into intangible text, move back over it.
1994-09-24 09:13:57 +00:00
Karl Heuer
f54a8c1a1f
Add #include "keyboard.h"
1994-09-19 00:12:39 +00:00
Richard M. Stallman
49c49d2299
(interval_balance_threshold): Var deleted.
1994-09-15 21:22:26 +00:00
Richard M. Stallman
5dd6606e25
(textget): Ignore category prop if not a symbol.
1994-08-24 19:40:44 +00:00
Karl Heuer
3a22ee3595
Update copyright.
1994-05-04 02:41:09 +00:00
Karl Heuer
f65013b01a
Fix comment.
1994-04-26 01:18:38 +00:00
Karl Heuer
fa7c37595f
(set_point): Skip past intangible regions.
1994-04-08 07:09:18 +00:00
Richard M. Stallman
df28eb7b38
(verify_interval_modification): For insertion in
...
middle of an interval, use the same criterion as between intervals
for whether read-only forbids it.
1994-03-26 21:02:24 +00:00
Karl Heuer
dd675b05fa
(adjust_intervals_for_insertion, merge_properties_sticky, delete_interval):
...
Use assignment, not initialization.
1994-03-23 22:30:22 +00:00
Karl Heuer
3e76261f9b
(verify_interval_modification): When checking read-only, allow for the case
...
that stickiness might be t instead of a list.
1994-02-04 20:51:16 +00:00
Karl Heuer
45d82bdc5d
Add comments describing the rules used by the merge algorithm.
1994-02-04 01:18:01 +00:00
Karl Heuer
550bd63a2c
(merge_properties_sticky): Preserve original order of properties.
1994-02-03 18:54:04 +00:00
Richard M. Stallman
767809fb40
(graft_intervals_into_buffer): Fix one-off
...
comparing lengths of over and under.
1994-01-24 17:07:28 +00:00
Richard M. Stallman
4314dea4b4
(rotate_right, rotate_left): Simplify
...
total_length calculation. Minimize pointer dereferencing.
(balance_an_interval): Remove recursive rebalancing.
Rebalance precisely when imbalanced. If a rotation is done,
rebalance only the node which may have become unbalanced.
Iterate until the current node is balanced.
(balance_possible_root_interval): New function.
(balance_intervals): Move the interation into rebalance_an_interval.
(balance_intervals_internal): New subroutine of balance_intervals.
(split_interval_right, split_interval_left): Speed up by
not checking LEAF_INTERVAL_P.
(split_interval_right, split_interval_left, find_interval,
adjust_intervals_for_insertion, graft_intervals_into_buffer):
Add dynamic rebalancing anywhere a node may become unbalanced.
(graft_intervals_into_buffer, copy_intervals): No longer
any need to do a full rebalance as the tree stays balanced.
1994-01-02 19:01:15 +00:00
Richard M. Stallman
08b0527265
(graft_intervals_into_buffer): If SOURCE is null
...
and TREE is null, no need to call Fset_text_properties.
1993-12-23 01:58:56 +00:00
Richard M. Stallman
b5f37d3f7c
(merge_properties_sticky): Declared.
1993-11-25 07:47:14 +00:00
Richard M. Stallman
0b79989fc4
(graft_intervals_into_buffer): New arg LENGTH.
...
If source has no intervals, set dest properties to nil.
1993-11-25 06:28:03 +00:00
Richard M. Stallman
328c0f1fe5
Include puresize.h.
...
(create_root_interval): Check to see if PARENT is in
pure memory. If so, we cannot write it.
1993-11-10 20:11:44 +00:00