/[emacs]/emacs/src/xdisp.c
ViewVC logotype

Diff of /emacs/src/xdisp.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.687 by pj, Mon Oct 22 13:23:41 2001 UTC revision 1.688 by gerd, Mon Oct 22 14:52:47 2001 UTC
# Line 12934  display_line (it) Line 12934  display_line (it)
12934                      {                      {
12935                        /* Display element draws past the right edge of                        /* Display element draws past the right edge of
12936                           the window.  Restore positions to values                           the window.  Restore positions to values
12937                           before the element.  The next line starts                           before the element.  */
                          with current_x before the glyph that could  
                          not be displayed, so that TAB works right.  */  
12938                        row->used[TEXT_AREA] = n_glyphs_before + i;                        row->used[TEXT_AREA] = n_glyphs_before + i;
12939                                        
12940                        /* Display continuation glyphs.  */                        /* Display continuation glyphs.  */
12941                        if (!FRAME_WINDOW_P (it->f))                        if (!FRAME_WINDOW_P (it->f))
12942                          produce_special_glyphs (it, IT_CONTINUATION);                          produce_special_glyphs (it, IT_CONTINUATION);
12943                        row->continued_p = 1;                        row->continued_p = 1;
12944    
12945                          /* A TAB takes us to the right edge of the window.  */
12946                          if (it->c == '\t')
12947                            it->continuation_lines_width += it->last_visible_x;
12948                          else
12949                            it->continuation_lines_width += x;
12950                                                
                       it->current_x = x;  
                       it->continuation_lines_width += x;  
12951                        if (nglyphs > 1 && i > 0)                        if (nglyphs > 1 && i > 0)
12952                          {                          {
12953                            row->ends_in_middle_of_char_p = 1;                            row->ends_in_middle_of_char_p = 1;

Legend:
Removed from v.1.687  
changed lines
  Added in v.1.688

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26