[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NEWS and invisible text
From: |
Richard Stallman |
Subject: |
Re: NEWS and invisible text |
Date: |
Sun, 20 Apr 2003 20:59:45 -0400 |
> ** Only one of the beginning or end of an invisible, intangible region
is
> considered an acceptable value for point; which one is determined by
> examining how the invisible/intangible properties are inherited when
new
> text is inserted adjacent to them.
Is that determined by examining the front-sticky and rear-sticky properties?
Yes.
> If text inserted at the beginning would
> inherit the invisible/intangible properties, then that position is
> considered unacceptable, and point is forced to the position following
the
> invisible/intangible text. If text inserted at the end would inherit
the
> properties, then the opposite happens.
What happens when both conditions are true?
I think you can't put point at either end, in that case.
But I didn't test it, I just read the code. Want to test it?
Here's a rewrite that says what I think the code does.
** Only one of the beginning or end of an invisible, intangible region is
considered an acceptable value for point; which one is determined by
examining how the invisible/intangible properties are inherited when new
text is inserted adjacent to them. (The `front-sticky' and `rear-sticky'
properties control this.)
If text inserted at the beginning would inherit the
invisible/intangible properties, then that position is considered
unacceptable, and point is forced to continue (if moving forwards, to
the position following the invisible/intangible text; if moving
backwards, to one position before). If text inserted at the end would
inherit the properties, then that position is considered unacceptable,
and point is forced to keep moving (if moving backwards, to the
position preceding the invisible/intangible text; if moving forwards,
to one position later).
- Re: Gtk scrollbar: thumb too short, (continued)
- Re: Gtk scrollbar: thumb too short, Andreas Schwab, 2003/04/11
- Re: Gtk scrollbar: thumb too short, Kai Großjohann, 2003/04/11
- Re: Gtk scrollbar: thumb too short, Robert J. Chassell, 2003/04/11
- Re: Gtk scrollbar: thumb too short, Kai Großjohann, 2003/04/11
- Re: Gtk scrollbar: thumb too short, Robert J. Chassell, 2003/04/11
- Re: Gtk scrollbar: thumb too short, Miles Bader, 2003/04/11
- Re: Gtk scrollbar: thumb too short, Luc Teirlinck, 2003/04/11
- Re: Gtk scrollbar: thumb too short, Miles Bader, 2003/04/11
- NEWS and invisible text, Stefan Monnier, 2003/04/11
- Re: NEWS and invisible text, Kevin Rodgers, 2003/04/14
- Re: NEWS and invisible text,
Richard Stallman <=
- Re: Gtk scrollbar: thumb too short, Robert J. Chassell, 2003/04/11
- Re: Gtk scrollbar: thumb too short, Kai Großjohann, 2003/04/11
- Re: Gtk scrollbar: thumb too short, Luc Teirlinck, 2003/04/11
- Re: Gtk scrollbar: thumb too short, Robert J. Chassell, 2003/04/11
- Re: Gtk scrollbar: thumb too short, Richard Stallman, 2003/04/12
- Re: Gtk scrollbar: thumb too short, Luc Teirlinck, 2003/04/11
- Re: Gtk scrollbar: thumb too short, Robert J. Chassell, 2003/04/11
- Re: Gtk scrollbar: thumb too short, Richard Stallman, 2003/04/12
- Re: Gtk scrollbar: thumb too short, Jan D., 2003/04/10
- Re: Gtk scrollbar: thumb too short, Robert J. Chassell, 2003/04/02