bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#21207: 25.0.50; Cursor position behaves unpredictably on the 'displa


From: Eli Zaretskii
Subject: bug#21207: 25.0.50; Cursor position behaves unpredictably on the 'display text property
Date: Fri, 07 Aug 2015 21:23:53 +0300

> Date: Fri, 07 Aug 2015 18:29:10 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: 21207@debbugs.gnu.org
> 
> > If I can place the cursor on the newline in the first scenario, why
> > can't I do so in the second?
> 
> Because we have special support for cursor positioning on display
> strings that end in a newline

More importantly: in the first scenario the newline ends the display
string, whereas in the second it is in its middle.  We never put the
cursor in the middle of a display string, always after it (unless
there's a 'cursor' property on some of its glyphs).





reply via email to

[Prev in Thread] Current Thread [Next in Thread]