Mercurial > emacs
view etc/images/connect.xpm @ 108656:0b28d05fa415
Initial reimplementation of calculating line edge positions in bidi lines.
dispextern.h (struct glyph_row): New members minpos and maxpos.
(MATRIX_ROW_START_CHARPOS, MATRIX_ROW_START_BYTEPOS)
(MATRIX_ROW_END_CHARPOS, MATRIX_ROW_END_BYTEPOS): Reference minpos
and maxpos members instead of start.pos and end.pos, respectively.
xdisp.c (display_line): Compare IT_CHARPOS with the position in
row->start.pos, rather than with MATRIX_ROW_START_CHARPOS.
(cursor_row_p): Use row->end.pos rather than MATRIX_ROW_END_CHARPOS.
(try_window_reusing_current_matrix, try_window_id): Use
ROW->minpos rather than ROW->start.pos.
(init_from_display_pos, init_iterator): Use EMACS_INT for
character and byte positions.
(find_row_edges): Renamed from find_row_end. Accept additional
arguments for minimum and maximum buffer positions seen by
display_line for this row. Don't use iterator to find the
position following the maximum one; instead, increment the
position found by display_line directly.
(display_line): Record minimum and maximum buffer positions for
glyphs in this row. Record the position of the newline that
terminates the line.
dispnew.c (increment_row_positions, check_matrix_invariants):
Increment and check row->start.pos and row->end.pos, in addition
to MATRIX_ROW_START_CHARPOS and MATRIX_ROW_END_CHARPOS.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Tue, 18 May 2010 18:22:15 +0300 |
parents | ed7704221f2b |
children |
line wrap: on
line source
/* XPM */ static char * stock_connect_xpm[] = { "24 24 58 1", " c None", ". c #000000", "+ c #989389", "@ c #807D74", "# c #C6C2BA", "$ c #34332D", "% c #B7B3AA", "& c #C4C2BD", "* c #EAE8E3", "= c #9C978D", "- c #BCB9B2", "; c #363433", "> c #E2E1DD", ", c #F0EFEC", "' c #AAA7A0", ") c #F0EEEB", "! c #B2B0AB", "~ c #F9F9F8", "{ c #C5C3BD", "] c #0F0F0D", "^ c #F2F0ED", "/ c #EBEAE6", "( c #8A857B", "_ c #ECEBE8", ": c #EEECEA", "< c #9F9C93", "[ c #F3F2F0", "} c #E8E7E4", "| c #E3E1DD", "1 c #78756B", "2 c #BEBBB5", "3 c #B3B1AA", "4 c #7D786E", "5 c #E1DFDB", "6 c #D1D0CC", "7 c #938E84", "8 c #C8C5BF", "9 c #A7A298", "0 c #010101", "a c #8C8981", "b c #A6A29B", "c c #726D63", "d c #CECAC3", "e c #A7A49E", "f c #7E7A70", "g c #A09D94", "h c #817D73", "i c #6C685E", "j c #3C3933", "k c #8B877E", "l c #706C62", "m c #B1ADA4", "n c #97938A", "o c #625E54", "p c #6A655B", "q c #37342D", "r c #646056", "s c #8B877D", " ", " ", " ", " ", " ", " ", " .. .. ", " ..+@.#@.. ", " $%&*@.*@=-; ", " .>,'*@.)@!~{] ", "......@>,'*@.)@!~{@.....", "*******^/(_@.:@<[}|*****", "@@@@@1123451.6@789@@@@@@", ".....01abcd1.e@fghi.....", " ]abcd1.e@fgh] ", " ]jklmi.n@opq. ", " ]]+r.s@.. ", " ]] ]. ", " ", " ", " ", " ", " ", " "};