aboutsummaryrefslogtreecommitdiffstats
path: root/src/dispnew.c
diff options
context:
space:
mode:
authorEli Zaretskii2009-12-31 16:14:26 -0500
committerEli Zaretskii2009-12-31 16:14:26 -0500
commitd8300a8a317dfe01eaf7dbf7912f5c03c1fbfea3 (patch)
treed99d9c58052815a93a03730dc21c66b6d3810d53 /src/dispnew.c
parent90fcfd71cf705476cf64f7314a57eea8ac9bc8db (diff)
downloademacs-d8300a8a317dfe01eaf7dbf7912f5c03c1fbfea3.tar.gz
emacs-d8300a8a317dfe01eaf7dbf7912f5c03c1fbfea3.zip
Retrospective commit from 2009-09-12.
Undo changes from 2009-09-11. Set row->end and row->start in xdisp.c:display_line. dispnew.c (direct_output_for_insert): Give up if we are reordering bidirectional text. dispextern.h (IT_STACK_SIZE): Enlarge to 5. xdisp.c (display_line): Set row->end and it->start for the next row to the next character in logical order. If we are reordering bidi text, push and pop the iterator before and after momentarily iterating in logical order.
Diffstat (limited to 'src/dispnew.c')
-rw-r--r--src/dispnew.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index d74462d31b8..b5764ac7fe3 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -3612,7 +3612,7 @@ direct_output_for_insert (g)
3612 3612
3613 delta += 1; 3613 delta += 1;
3614 delta_bytes += it.len; 3614 delta_bytes += it.len;
3615 set_iterator_to_next (&it, 1, 0); 3615 set_iterator_to_next (&it, 1);
3616 } 3616 }
3617 3617
3618 /* Give up if we hit the right edge of the window. We would have 3618 /* Give up if we hit the right edge of the window. We would have
@@ -3630,7 +3630,7 @@ direct_output_for_insert (g)
3630 { 3630 {
3631 if (it2.c == '\t') 3631 if (it2.c == '\t')
3632 return 0; 3632 return 0;
3633 set_iterator_to_next (&it2, 1, 0); 3633 set_iterator_to_next (&it2, 1);
3634 } 3634 }
3635 3635
3636 /* Number of new glyphs produced. */ 3636 /* Number of new glyphs produced. */