it 977 lib-src/pop.c struct addrinfo *res, *it; it 1081 lib-src/pop.c for (it = res; it; it = it->ai_next) it 1082 lib-src/pop.c if (it->ai_addrlen == sizeof addr) it 1084 lib-src/pop.c struct sockaddr_in *in_a = (struct sockaddr_in *) it->ai_addr; it 1089 lib-src/pop.c connect_ok = it != NULL; it 1092 lib-src/pop.c realhost = alloca (strlen (it->ai_canonname) + 1); it 1093 lib-src/pop.c strcpy (realhost, it->ai_canonname); it 351 src/atimer.c struct itimerval it = {.it_value = make_timeval (interval)}; it 352 src/atimer.c setitimer (ITIMER_REAL, &it, 0); it 2291 src/dispextern.h struct it *parent_it; it 2931 src/dispextern.h void (*produce_glyphs) (struct it *it); it 3386 src/dispextern.h int line_bottom_y (struct it *); it 3403 src/dispextern.h int move_it_to (struct it *, ptrdiff_t, int, int, int, int); it 3410 src/dispextern.h void init_iterator (struct it *, struct window *, ptrdiff_t, it 3415 src/dispextern.h void init_iterator_to_row_start (struct it *, struct window *, it 3417 src/dispextern.h void start_display (struct it *, struct window *, struct text_pos); it 3418 src/dispextern.h void move_it_vertically (struct it *, int); it 3419 src/dispextern.h void move_it_vertically_backward (struct it *, int); it 3420 src/dispextern.h void move_it_by_lines (struct it *, ptrdiff_t); it 3421 src/dispextern.h void move_it_past_eol (struct it *); it 3422 src/dispextern.h void move_it_in_display_line (struct it *it, it 3425 src/dispextern.h int partial_line_height (struct it *it_origin); it 3426 src/dispextern.h bool in_display_vector_p (struct it *); it 3437 src/dispextern.h extern void reseat_at_previous_visible_line_start (struct it *); it 3438 src/dispextern.h extern Lisp_Object lookup_glyphless_char_display (int, struct it *); it 3444 src/dispextern.h extern void produce_stretch_glyph (struct it *); it 3445 src/dispextern.h extern int merge_glyphless_glyph_face (struct it *); it 3455 src/dispextern.h extern void gui_produce_glyphs (struct it *); it 3752 src/dispextern.h extern void produce_glyphs (struct it *); it 3757 src/dispextern.h extern void tty_append_glyph (struct it *); it 5543 src/dispnew.c struct it it; it 5559 src/dispnew.c start_display (&it, w, startp); it 5565 src/dispnew.c move_it_to (&it, -1, 0, *y, -1, MOVE_TO_X | MOVE_TO_Y); it 5570 src/dispnew.c if (it.bidi_it.paragraph_dir == R2L) it 5585 src/dispnew.c to_x += it.first_visible_x; it 5590 src/dispnew.c if (it.line_wrap == TRUNCATE it 5591 src/dispnew.c && EQ (automatic_hscrolling, Qcurrent_line) && IT_CHARPOS (it) < PT) it 5593 src/dispnew.c struct it it2 = it; it 5601 src/dispnew.c to_x += (w->hscroll - w->min_hscroll) * FRAME_COLUMN_WIDTH (it.f); it 5604 src/dispnew.c it.first_visible_x += w->hscroll * FRAME_COLUMN_WIDTH (it.f); it 5605 src/dispnew.c it.last_visible_x += w->hscroll * FRAME_COLUMN_WIDTH (it.f); it 5613 src/dispnew.c move_it_in_display_line (&it, ZV, to_x, MOVE_TO_X); it 5618 src/dispnew.c *dx = to_x - it.current_x; it 5619 src/dispnew.c *dy = *y - it.current_y; it 5622 src/dispnew.c if (STRINGP (it.string)) it 5623 src/dispnew.c string = it.string; it 5624 src/dispnew.c *pos = it.current; it 5625 src/dispnew.c if (it.what == IT_COMPOSITION it 5626 src/dispnew.c && it.cmp_it.nchars > 1 it 5627 src/dispnew.c && it.cmp_it.reversed_p) it 5635 src/dispnew.c CHARPOS (pos->pos) -= it.cmp_it.nchars - 1; it 5636 src/dispnew.c if (STRINGP (it.string)) it 5644 src/dispnew.c if (it.what == IT_IMAGE) it 5651 src/dispnew.c img = IMAGE_OPT_FROM_ID (it.f, it.image_id); it 5661 src/dispnew.c it_vpos = it.vpos + window_wants_header_line (w) it 5667 src/dispnew.c if (it.hpos < row->used[TEXT_AREA]) it 5669 src/dispnew.c struct glyph *glyph = row->glyphs[TEXT_AREA] + it.hpos; it 5699 src/dispnew.c x1 = max (0, it.current_x + it.pixel_width); it 5701 src/dispnew.c it.hpos += (to_x - x1) / WINDOW_FRAME_COLUMN_WIDTH (w); it 5703 src/dispnew.c *x = it.hpos; it 5704 src/dispnew.c *y = it.vpos; it 3515 src/font.c Lisp_Object it; it 3520 src/font.c for (it = alist; ! NILP (it); it = XCDR (it)) it 3522 src/font.c Lisp_Object key = XCAR (XCAR (it)); it 3523 src/font.c Lisp_Object val = XCDR (XCAR (it)); it 3545 src/font.c for (it = alist; ! NILP (it); it = XCDR (it)) it 3547 src/font.c Lisp_Object key = XCAR (XCAR (it)); it 3548 src/font.c Lisp_Object val = XCDR (XCAR (it)); it 254 src/haiku_support.cc BMenuItem *it; it 258 src/haiku_support.cc it = data->menu->Go (BPoint (data->x, data->y)); it 260 src/haiku_support.cc if (it) it 261 src/haiku_support.cc popup_track_message = it->Message (); it 4027 src/haiku_support.cc EmacsTitleMenuItem *it; it 4029 src/haiku_support.cc it = new EmacsTitleMenuItem (text); it 4030 src/haiku_support.cc be_menu->AddItem (it); it 4043 src/haiku_support.cc EmacsMenuItem *it = new EmacsMenuItem (key, label, help, ptr ? msg : NULL); it 4044 src/haiku_support.cc it->SetTarget (m->Window ()); it 4045 src/haiku_support.cc it->SetEnabled (enabled_p); it 4046 src/haiku_support.cc it->SetMarked (marked_p); it 4049 src/haiku_support.cc it->menu_bar_id = (intptr_t) ptr; it 4050 src/haiku_support.cc it->wind_ptr = mbw_ptr; it 4052 src/haiku_support.cc it->menu_ptr = ptr; it 4055 src/haiku_support.cc m->AddItem (it); it 1306 src/haikufns.c Lisp_Object it, frame; it 1314 src/haikufns.c FOR_EACH_FRAME (it, frame) it 595 src/haikufont.c for (Lisp_Object it = XCDR (tem); CONSP (it); it = XCDR (it)) it 596 src/haikufont.c if (TYPE_RANGED_FIXNUMP (uint32_t, XCAR (it))) it 597 src/haikumenu.c void *it = BMenu_item_at (mbar, i / 4); it 598 src/haikumenu.c BMenu_item_set_label (it, SSDATA (string)); it 2044 src/indent.c struct it it; it 2072 src/indent.c start_display (&it, w, startpos); it 2077 src/indent.c it.first_visible_x = 0; it 2078 src/indent.c move_it_by_lines (&it, 1); it 2079 src/indent.c *width = it.lnum_width; it 2080 src/indent.c *pixel_width = it.lnum_pixel_width; it 2192 src/indent.c struct it it; it 2227 src/indent.c it.vpos = pos.vpos; it 2260 src/indent.c start_display (&it, w, pt); it 2261 src/indent.c it.lnum_width = lnum_width; it 2262 src/indent.c first_x = it.first_visible_x; it 2263 src/indent.c it_start = IT_CHARPOS (it); it 2266 src/indent.c if (it.cmp_it.id >= 0) it 2268 src/indent.c else if (it.method == GET_FROM_STRING) it 2270 src/indent.c const char *s = SSDATA (it.string); it 2271 src/indent.c const char *e = s + SBYTES (it.string); it 2277 src/indent.c it.area == TEXT_AREA it 2278 src/indent.c && it.string_from_display_prop_p it 2281 src/indent.c && (it.sp > 0 && it.stack[it.sp - 1].method == GET_FROM_BUFFER); it 2294 src/indent.c !((it.method == GET_FROM_IMAGE && it.image_id >= 0) it 2295 src/indent.c || it.method == GET_FROM_STRETCH); it 2299 src/indent.c it.hpos = start_col; it 2300 src/indent.c it.current_x = start_x; it 2307 src/indent.c reseat_at_previous_visible_line_start (&it); it 2308 src/indent.c it.current_x = it.hpos = 0; it 2310 src/indent.c if (IT_CHARPOS (it) != PT) it 2323 src/indent.c move_it_to (&it, it 2325 src/indent.c || FETCH_BYTE (IT_BYTEPOS (it)) == '\n') it 2335 src/indent.c if (IT_CHARPOS (it) > it_start) it 2342 src/indent.c && it.method == GET_FROM_BUFFER it 2343 src/indent.c && it.c == '\n') it 2345 src/indent.c else if (it_overshoot_count == 1 && it.vpos == 0 it 2346 src/indent.c && it.current_x < it.last_visible_x) it 2354 src/indent.c else if (disp_string_at_start_p && it.vpos > 0) it 2360 src/indent.c it_overshoot_count = it.vpos; it 2364 src/indent.c if (it.line_wrap == TRUNCATE && it.current_x >= it.last_visible_x it 2365 src/indent.c && it_overshoot_count == 0 && it.vpos > 0) it 2368 src/indent.c move_it_by_lines (&it, -it_overshoot_count); it 2372 src/indent.c else if (IT_CHARPOS (it) == PT - 1 it 2394 src/indent.c it.vpos = vpos_init; it 2395 src/indent.c it.current_y = 0; it 2398 src/indent.c if ((nlines < 0 && IT_CHARPOS (it) > BEGV) it 2400 src/indent.c move_it_by_lines (&it, max (PTRDIFF_MIN, nlines)); it 2404 src/indent.c it.vpos = vpos_init; it 2405 src/indent.c it.current_y = 0; it 2406 src/indent.c move_it_by_lines (&it, min (PTRDIFF_MAX, nlines)); it 2416 src/indent.c if ((it.bidi_it.scan_dir >= 0 || it.vpos == vpos_init) it 2417 src/indent.c ? IT_CHARPOS (it) < it_start it 2418 src/indent.c : IT_CHARPOS (it) > it_start) it 2420 src/indent.c it.vpos = 0; it 2421 src/indent.c it.current_y = 0; it 2422 src/indent.c move_it_by_lines (&it, 1); it 2424 src/indent.c while (IT_CHARPOS (it) == it_start) it 2426 src/indent.c it.vpos = 0; it 2427 src/indent.c it.current_y = 0; it 2428 src/indent.c move_it_by_lines (&it, 1); it 2431 src/indent.c move_it_by_lines (&it, min (PTRDIFF_MAX, nlines - 1)); it 2435 src/indent.c it.vpos = 0; it 2436 src/indent.c it.current_y = 0; it 2437 src/indent.c move_it_by_lines (&it, min (PTRDIFF_MAX, nlines)); it 2441 src/indent.c if (IT_CHARPOS (it) == CHARPOS (pt) && CHARPOS (pt) == it_start) it 2442 src/indent.c it.vpos = 0; it 2451 src/indent.c move_it_in_display_line (&it, ZV, first_x + to_x, MOVE_TO_X); it 2458 src/indent.c if (nlines >= 0 && it.area == TEXT_AREA) it 2460 src/indent.c while (it.method == GET_FROM_STRING it 2461 src/indent.c && !it.string_from_display_prop_p it 2462 src/indent.c && memchr (SSDATA (it.string) + IT_STRING_BYTEPOS (it), it 2464 src/indent.c SBYTES (it.string) - IT_STRING_BYTEPOS (it))) it 2466 src/indent.c move_it_by_lines (&it, 1); it 2467 src/indent.c move_it_in_display_line (&it, ZV, first_x + to_x, MOVE_TO_X); it 2472 src/indent.c SET_PT_BOTH (IT_CHARPOS (it), IT_BYTEPOS (it)); it 2476 src/indent.c return unbind_to (count, make_fixnum (it.vpos)); it 6440 src/keyboard.c Lisp_Object x, y, id, position, tem, it, evt; it 6446 src/keyboard.c it = XCAR (tem); it 6448 src/keyboard.c x = XCAR (it); it 6449 src/keyboard.c y = XCAR (XCDR (it)); it 6450 src/keyboard.c id = XCAR (XCDR (XCDR (it))); it 4289 src/process.c for (struct ifaddrs *it = ifap; it != NULL; it = it->ifa_next) it 4298 src/process.c if (it->ifa_addr == NULL) it 4300 src/process.c if (match && it->ifa_addr->sa_family != match) it 4302 src/process.c if (it->ifa_addr->sa_family == AF_INET) it 4304 src/process.c DECLARE_POINTER_ALIAS (sin1, struct sockaddr_in, it->ifa_netmask); it 4306 src/process.c DECLARE_POINTER_ALIAS (sin2, struct sockaddr_in, it->ifa_addr); it 4312 src/process.c else if (it->ifa_addr->sa_family == AF_INET6) it 4314 src/process.c DECLARE_POINTER_ALIAS (sin6_1, struct sockaddr_in6, it->ifa_netmask); it 4316 src/process.c DECLARE_POINTER_ALIAS (sin6_2, struct sockaddr_in6, it->ifa_addr); it 4325 src/process.c Lisp_Object addr = conv_sockaddr_to_lisp (it->ifa_addr, len); it 4329 src/process.c elt = Fcons (conv_sockaddr_to_lisp (it->ifa_netmask, len), elt); it 4340 src/process.c elt = Fcons (conv_sockaddr_to_lisp (it->ifa_netmask, len), elt); it 4347 src/process.c res = Fcons (Fcons (build_string (it->ifa_name), elt), res); it 4516 src/process.c for (struct ifaddrs *it = ifap; it != NULL; it = it->ifa_next) it 4518 src/process.c DECLARE_POINTER_ALIAS (sdl, struct sockaddr_dl, it->ifa_addr); it 4522 src/process.c if (it->ifa_addr->sa_family != AF_LINK it 4523 src/process.c || strcmp (it->ifa_name, SSDATA (ifname)) != 0 it 4531 src/process.c elt = Fcons (make_fixnum (it->ifa_addr->sa_family), hwaddr); it 1515 src/regex-emacs.c const char *beg = (const char *)*strp, *it; it 1522 src/regex-emacs.c for (it = beg; it[0] != ':' || it[1] != ']'; ++it) it 1526 src/regex-emacs.c *strp = (const unsigned char *)(it + 2); it 1555 src/regex-emacs.c switch (it - beg) { it 1449 src/term.c static void append_glyph (struct it *); it 1450 src/term.c static void append_composite_glyph (struct it *); it 1451 src/term.c static void produce_composite_glyph (struct it *); it 1452 src/term.c static void append_glyphless_glyph (struct it *, int, const char *); it 1453 src/term.c static void produce_glyphless_glyph (struct it *, Lisp_Object); it 1462 src/term.c append_glyph (struct it *it) it 1467 src/term.c eassert (it->glyph_row); it 1468 src/term.c glyph = (it->glyph_row->glyphs[it->area] it 1469 src/term.c + it->glyph_row->used[it->area]); it 1470 src/term.c end = it->glyph_row->glyphs[1 + it->area]; it 1474 src/term.c if (it->glyph_row->reversed_p && it->area == TEXT_AREA) it 1477 src/term.c int move_by = it->pixel_width; it 1482 src/term.c for (g = glyph - 1; g >= it->glyph_row->glyphs[it->area]; g--) it 1484 src/term.c glyph = it->glyph_row->glyphs[it->area]; it 1493 src/term.c i < it->pixel_width && glyph < end; it 1498 src/term.c glyph->u.ch = it->char_to_display; it 1499 src/term.c glyph->face_id = it->face_id; it 1500 src/term.c glyph->avoid_cursor_p = it->avoid_cursor_p; it 1501 src/term.c glyph->multibyte_p = it->multibyte_p; it 1503 src/term.c glyph->charpos = CHARPOS (it->position); it 1504 src/term.c glyph->object = it->object; it 1505 src/term.c if (it->bidi_p) it 1507 src/term.c glyph->resolved_level = it->bidi_it.resolved_level; it 1508 src/term.c eassert ((it->bidi_it.type & 7) == it->bidi_it.type); it 1509 src/term.c glyph->bidi_type = it->bidi_it.type; it 1517 src/term.c ++it->glyph_row->used[it->area]; it 1524 src/term.c tty_append_glyph (struct it *it) it 1526 src/term.c append_glyph (it); it 1550 src/term.c produce_glyphs (struct it *it) it 1555 src/term.c eassert (it->what == IT_CHARACTER it 1556 src/term.c || it->what == IT_COMPOSITION it 1557 src/term.c || it->what == IT_STRETCH it 1558 src/term.c || it->what == IT_GLYPHLESS); it 1560 src/term.c if (it->what == IT_STRETCH) it 1562 src/term.c produce_stretch_glyph (it); it 1566 src/term.c if (it->what == IT_COMPOSITION) it 1568 src/term.c produce_composite_glyph (it); it 1572 src/term.c if (it->what == IT_GLYPHLESS) it 1574 src/term.c produce_glyphless_glyph (it, Qnil); it 1578 src/term.c if (it->char_to_display >= 040 && it->char_to_display < 0177) it 1580 src/term.c it->pixel_width = it->nglyphs = 1; it 1581 src/term.c if (it->glyph_row) it 1582 src/term.c append_glyph (it); it 1584 src/term.c else if (it->char_to_display == '\n') it 1585 src/term.c it->pixel_width = it->nglyphs = 0; it 1586 src/term.c else if (it->char_to_display == '\t') it 1588 src/term.c int absolute_x = (it->current_x it 1589 src/term.c + it->continuation_lines_width); it 1592 src/term.c if (!NILP (Vdisplay_line_numbers) && it->line_number_produced_p) it 1593 src/term.c absolute_x -= it->lnum_pixel_width; it 1595 src/term.c = (((1 + absolute_x + it->tab_width - 1) it 1596 src/term.c / it->tab_width) it 1597 src/term.c * it->tab_width); it 1598 src/term.c if (!NILP (Vdisplay_line_numbers) && it->line_number_produced_p) it 1599 src/term.c next_tab_x += it->lnum_pixel_width; it 1609 src/term.c if (it->glyph_row) it 1613 src/term.c it->char_to_display = ' '; it 1614 src/term.c it->pixel_width = it->len = 1; it 1617 src/term.c append_glyph (it); it 1620 src/term.c it->pixel_width = nspaces; it 1621 src/term.c it->nglyphs = nspaces; it 1623 src/term.c else if (CHAR_BYTE8_P (it->char_to_display)) it 1629 src/term.c it->pixel_width = it->nglyphs = 1; it 1630 src/term.c if (it->glyph_row) it 1631 src/term.c append_glyph (it); it 1635 src/term.c struct terminal *t = FRAME_TERMINAL (it->f); it 1638 src/term.c if (char_charset (it->char_to_display, charset_list, NULL) it 1639 src/term.c && (char_glyph = terminal_glyph_code (t, it->char_to_display), it 1643 src/term.c it->pixel_width = CHARACTER_WIDTH (it->char_to_display); it 1644 src/term.c it->nglyphs = it->pixel_width; it 1645 src/term.c if (it->glyph_row) it 1646 src/term.c append_glyph (it); it 1650 src/term.c Lisp_Object acronym = lookup_glyphless_char_display (-1, it); it 1652 src/term.c eassert (it->what == IT_GLYPHLESS); it 1653 src/term.c produce_glyphless_glyph (it, acronym); it 1660 src/term.c if (it->area == TEXT_AREA) it 1661 src/term.c it->current_x += it->pixel_width; it 1662 src/term.c it->ascent = it->max_ascent = it->phys_ascent = it->max_phys_ascent = 0; it 1663 src/term.c it->descent = it->max_descent = it->phys_descent = it->max_phys_descent = 1; it 1672 src/term.c append_composite_glyph (struct it *it) it 1676 src/term.c eassert (it->glyph_row); it 1677 src/term.c glyph = it->glyph_row->glyphs[it->area] + it->glyph_row->used[it->area]; it 1678 src/term.c if (glyph < it->glyph_row->glyphs[1 + it->area]) it 1682 src/term.c if (it->glyph_row->reversed_p && it->area == TEXT_AREA) it 1687 src/term.c for (g = glyph - 1; g >= it->glyph_row->glyphs[it->area]; g--) it 1689 src/term.c glyph = it->glyph_row->glyphs[it->area]; it 1692 src/term.c eassert (it->pixel_width <= SHRT_MAX); it 1693 src/term.c glyph->pixel_width = it->pixel_width; it 1694 src/term.c glyph->u.cmp.id = it->cmp_it.id; it 1695 src/term.c if (it->cmp_it.ch < 0) it 1698 src/term.c glyph->u.cmp.id = it->cmp_it.id; it 1703 src/term.c glyph->u.cmp.id = it->cmp_it.id; it 1704 src/term.c glyph->slice.cmp.from = it->cmp_it.from; it 1705 src/term.c glyph->slice.cmp.to = it->cmp_it.to - 1; it 1708 src/term.c glyph->avoid_cursor_p = it->avoid_cursor_p; it 1709 src/term.c glyph->multibyte_p = it->multibyte_p; it 1710 src/term.c glyph->face_id = it->face_id; it 1712 src/term.c glyph->charpos = CHARPOS (it->position); it 1713 src/term.c glyph->object = it->object; it 1714 src/term.c if (it->bidi_p) it 1716 src/term.c glyph->resolved_level = it->bidi_it.resolved_level; it 1717 src/term.c eassert ((it->bidi_it.type & 7) == it->bidi_it.type); it 1718 src/term.c glyph->bidi_type = it->bidi_it.type; it 1726 src/term.c ++it->glyph_row->used[it->area]; it 1738 src/term.c produce_composite_glyph (struct it *it) it 1740 src/term.c if (it->cmp_it.ch < 0) it 1742 src/term.c struct composition *cmp = composition_table[it->cmp_it.id]; it 1744 src/term.c it->pixel_width = cmp->width; it 1748 src/term.c Lisp_Object gstring = composition_gstring_from_id (it->cmp_it.id); it 1750 src/term.c it->pixel_width = composition_gstring_width (gstring, it->cmp_it.from, it 1751 src/term.c it->cmp_it.to, NULL); it 1753 src/term.c it->nglyphs = 1; it 1754 src/term.c if (it->glyph_row) it 1755 src/term.c append_composite_glyph (it); it 1765 src/term.c append_glyphless_glyph (struct it *it, int face_id, const char *str) it 1770 src/term.c eassert (it->glyph_row); it 1771 src/term.c glyph = it->glyph_row->glyphs[it->area] + it->glyph_row->used[it->area]; it 1772 src/term.c end = it->glyph_row->glyphs[1 + it->area]; it 1776 src/term.c if (it->glyph_row->reversed_p && it->area == TEXT_AREA) it 1779 src/term.c int move_by = it->pixel_width; it 1784 src/term.c for (g = glyph - 1; g >= it->glyph_row->glyphs[it->area]; g--) it 1786 src/term.c glyph = it->glyph_row->glyphs[it->area]; it 1794 src/term.c glyph->avoid_cursor_p = it->avoid_cursor_p; it 1795 src/term.c glyph->multibyte_p = it->multibyte_p; it 1798 src/term.c glyph->charpos = CHARPOS (it->position); it 1799 src/term.c glyph->object = it->object; it 1800 src/term.c if (it->bidi_p) it 1802 src/term.c glyph->resolved_level = it->bidi_it.resolved_level; it 1803 src/term.c eassert ((it->bidi_it.type & 7) == it->bidi_it.type); it 1804 src/term.c glyph->bidi_type = it->bidi_it.type; it 1815 src/term.c for (i = 0; i < it->nglyphs && glyph < end; ++i) it 1820 src/term.c ++it->glyph_row->used[it->area]; it 1835 src/term.c produce_glyphless_glyph (struct it *it, Lisp_Object acronym) it 1837 src/term.c int len, face_id = merge_glyphless_glyph_face (it); it 1841 src/term.c if (it->glyphless_method == GLYPHLESS_DISPLAY_THIN_SPACE) it 1847 src/term.c else if (it->glyphless_method == GLYPHLESS_DISPLAY_EMPTY_BOX) it 1849 src/term.c len = CHARACTER_WIDTH (it->c); it 1859 src/term.c if (it->glyphless_method == GLYPHLESS_DISPLAY_ACRONYM) it 1862 src/term.c acronym = CHAR_TABLE_REF (Vglyphless_char_display, it->c); it 1886 src/term.c eassert (it->glyphless_method == GLYPHLESS_DISPLAY_HEX_CODE); it 1888 src/term.c (it->c < 0x10000 ? "\\u%04X" it 1889 src/term.c : it->c <= MAX_UNICODE_CHAR ? "\\U%06X" it 1891 src/term.c it->c + 0u); it 1896 src/term.c it->pixel_width = len; it 1897 src/term.c it->nglyphs = len; it 1898 src/term.c if (it->glyph_row) it 1899 src/term.c append_glyphless_glyph (it, face_id, str); it 1840 src/window.c struct it it; it 1860 src/window.c start_display (&it, w, startp); it 1861 src/window.c move_it_vertically (&it, window_box_height (w)); it 1862 src/window.c if (it.current_y < it.last_visible_y) it 1863 src/window.c move_it_past_eol (&it); it 1864 src/window.c value = make_fixnum (IT_CHARPOS (it)); it 5717 src/window.c struct it it; it 5748 src/window.c init_iterator (&it, w, PT, PT_BYTE, NULL, DEFAULT_FACE_ID); it 5749 src/window.c it.current_y = it.last_visible_y; it 5750 src/window.c move_it_vertically_backward (&it, window_box_height (w) / 2); it 5757 src/window.c if (it.current_y <= 0) it 5759 src/window.c init_iterator (&it, w, PT, PT_BYTE, NULL, DEFAULT_FACE_ID); it 5760 src/window.c move_it_vertically_backward (&it, 0); it 5761 src/window.c it.current_y = 0; it 5764 src/window.c start = it.current.pos; it 5850 src/window.c start_display (&it, w, start); it 5851 src/window.c move_it_to (&it, PT, -1, -1, -1, MOVE_TO_POS); it 5852 src/window.c window_scroll_pixel_based_preserve_y = it.current_y; it 5853 src/window.c window_scroll_pixel_based_preserve_x = it.current_x; it 5862 src/window.c start_display (&it, w, start); it 5865 src/window.c ptrdiff_t start_pos = IT_CHARPOS (it); it 5883 src/window.c goal_y = it.current_y + dy; it 5884 src/window.c move_it_vertically_backward (&it, -dy); it 5890 src/window.c if (goal_y - it.current_y > 0.5 * flh) it 5893 src/window.c struct it it1 = it; it 5894 src/window.c if (line_bottom_y (&it1) - goal_y < goal_y - it.current_y) it 5895 src/window.c move_it_by_lines (&it, 1); it 5900 src/window.c while (start_pos == IT_CHARPOS (it) it 5902 src/window.c move_it_by_lines (&it, -1); it 5906 src/window.c goal_y = it.current_y + dy; it 5907 src/window.c move_it_to (&it, ZV, -1, goal_y, -1, MOVE_TO_POS | MOVE_TO_Y); it 5914 src/window.c && goal_y - it.current_y > 0.5 * flh) it 5917 src/window.c struct it it2 = it; it 5919 src/window.c move_it_by_lines (&it, 1); it 5920 src/window.c if (it.current_y > goal_y + 0.5 * flh) it 5922 src/window.c it = it2; it 5930 src/window.c while (start_pos == IT_CHARPOS (it) it 5932 src/window.c move_it_by_lines (&it, 1); it 5936 src/window.c move_it_by_lines (&it, n); it 5941 src/window.c if ((n > 0 && IT_CHARPOS (it) == ZV) it 5942 src/window.c || (n < 0 && IT_CHARPOS (it) == CHARPOS (start))) it 5944 src/window.c if (IT_CHARPOS (it) == ZV) it 5946 src/window.c if (it.current_y < it.last_visible_y it 5947 src/window.c && (it.current_y + it.max_ascent + it.max_descent it 5948 src/window.c > it.last_visible_y)) it 5952 src/window.c w->vscroll = (it.last_visible_y it 5953 src/window.c - it.current_y + it.max_ascent + it.max_descent); it 5954 src/window.c adjust_frame_glyphs (it.f); it 5993 src/window.c ptrdiff_t pos = IT_CHARPOS (it); it 5998 src/window.c if (in_display_vector_p (&it)) it 6001 src/window.c move_it_to (&it, pos, -1, -1, -1, MOVE_TO_POS); it 6005 src/window.c set_marker_restricted_both (w->start, w->contents, IT_CHARPOS (it), it 6006 src/window.c IT_BYTEPOS (it)); it 6017 src/window.c it.current_y = it.vpos = 0; it 6026 src/window.c int last_y = it.last_visible_y - this_scroll_margin - 1; it 6030 src/window.c if (IT_CHARPOS (it) < PT) it 6031 src/window.c move_it_to (&it, PT, -1, -1, -1, MOVE_TO_POS); it 6032 src/window.c if (IT_CHARPOS (it) == PT it 6033 src/window.c && it.current_y >= this_scroll_margin it 6034 src/window.c && it.current_y <= last_y - WINDOW_TAB_LINE_HEIGHT (w) it 6049 src/window.c move_it_to (&it, -1, it 6057 src/window.c while (it.current_y < this_scroll_margin) it 6059 src/window.c int prev = it.current_y; it 6060 src/window.c move_it_by_lines (&it, 1); it 6061 src/window.c if (prev == it.current_y) it 6064 src/window.c SET_PT_BOTH (IT_CHARPOS (it), IT_BYTEPOS (it)); it 6079 src/window.c charpos = IT_CHARPOS (it); it 6080 src/window.c bytepos = IT_BYTEPOS (it); it 6084 src/window.c move_it_to (&it, PT, -1, it 6088 src/window.c (it.last_visible_y - WINDOW_TAB_LINE_HEIGHT (w) it 6090 src/window.c - partial_line_height (&it) - this_scroll_margin - 1), it 6095 src/window.c charpos = IT_CHARPOS (it); it 6096 src/window.c bytepos = IT_BYTEPOS (it); it 6105 src/window.c struct it it2; it 6108 src/window.c it2 = it; it 6110 src/window.c move_it_to (&it, PT, -1, -1, -1, MOVE_TO_POS); it 6111 src/window.c if (IT_CHARPOS (it) == PT && it.current_y == it2.current_y) it 6113 src/window.c charpos = IT_CHARPOS (it); it 6114 src/window.c bytepos = IT_BYTEPOS (it); it 6119 src/window.c it = it2; it 6125 src/window.c if (it.what == IT_EOB) it 6127 src/window.c it.current_y + it.ascent + it.descent it 6128 src/window.c > it.last_visible_y - this_scroll_margin it 6132 src/window.c move_it_by_lines (&it, 1); it 6134 src/window.c it.current_y it 6135 src/window.c > it.last_visible_y - this_scroll_margin it 6146 src/window.c int goal_y = min (it.last_visible_y - this_scroll_margin - 1, it 6154 src/window.c start_display (&it, w, start); it 6158 src/window.c move_it_to (&it, -1, window_scroll_pixel_based_preserve_x, it 6160 src/window.c SET_PT_BOTH (IT_CHARPOS (it), IT_BYTEPOS (it)); it 6168 src/window.c move_it_by_lines (&it, -2); it 6169 src/window.c SET_PT_BOTH (IT_CHARPOS (it), IT_BYTEPOS (it)); it 6571 src/window.c struct it it; it 6596 src/window.c start_display (&it, w, start); it 6597 src/window.c move_it_vertically (&it, height); it 6598 src/window.c bottom_y = line_bottom_y (&it); it 6605 src/window.c int uy = FRAME_LINE_HEIGHT (it.f); it 6606 src/window.c it.vpos += (height - bottom_y + uy - 1) / uy; it 6609 src/window.c it.vpos++; it 6614 src/window.c return it.vpos; it 6702 src/window.c struct it it; it 6707 src/window.c start_display (&it, w, pt); it 6708 src/window.c move_it_vertically_backward (&it, window_box_height (w) / 2); it 6709 src/window.c charpos = IT_CHARPOS (it); it 6710 src/window.c bytepos = IT_BYTEPOS (it); it 6715 src/window.c struct it it; it 6727 src/window.c start_display (&it, w, pt); it 6730 src/window.c move_it_by_lines (&it, 0); it 6735 src/window.c it.current_y = 0; it 6736 src/window.c it.vpos = 0; it 6737 src/window.c move_it_by_lines (&it, nlines); it 6739 src/window.c if (it.vpos == nlines) it 6740 src/window.c h -= it.current_y; it 6744 src/window.c h -= line_bottom_y (&it); it 6745 src/window.c it.vpos++; it 6749 src/window.c extra_line_spacing = it.max_extra_line_spacing; it 6753 src/window.c if (it.vpos < nlines) it 6755 src/window.c nlines -= it.vpos; it 6756 src/window.c extra_line_spacing = it.extra_line_spacing; it 6757 src/window.c h -= nlines * (FRAME_LINE_HEIGHT (it.f) + extra_line_spacing); it 6767 src/window.c start_display (&it, w, pt); it 6768 src/window.c it.current_y = 0; it 6769 src/window.c move_it_vertically_backward (&it, h); it 6779 src/window.c while (-it.current_y > h && it.what != IT_EOB) it 6780 src/window.c move_it_by_lines (&it, 1); it 6782 src/window.c charpos = IT_CHARPOS (it); it 6783 src/window.c bytepos = IT_BYTEPOS (it); it 6789 src/window.c struct it it; it 6799 src/window.c start_display (&it, w, pt); it 6802 src/window.c move_it_by_lines (&it, 0); it 6807 src/window.c it.current_y = 0; it 6808 src/window.c it.vpos = 0; it 6809 src/window.c move_it_by_lines (&it, -nlines); it 6812 src/window.c charpos = IT_CHARPOS (it); it 6813 src/window.c bytepos = IT_BYTEPOS (it); it 527 src/xdisp.c #define IT_OVERFLOW_NEWLINE_INTO_FRINGE(it) false it 534 src/xdisp.c #define IT_DISPLAYING_WHITESPACE(it) \ it 535 src/xdisp.c ((it->what == IT_CHARACTER && (it->c == ' ' || it->c == '\t')) \ it 536 src/xdisp.c || ((STRINGP (it->string) \ it 537 src/xdisp.c && (SREF (it->string, IT_STRING_BYTEPOS (*it)) == ' ' \ it 538 src/xdisp.c || SREF (it->string, IT_STRING_BYTEPOS (*it)) == '\t')) \ it 539 src/xdisp.c || (it->s \ it 540 src/xdisp.c && (it->s[IT_BYTEPOS (*it)] == ' ' \ it 541 src/xdisp.c || it->s[IT_BYTEPOS (*it)] == '\t')) \ it 542 src/xdisp.c || (IT_BYTEPOS (*it) < ZV_BYTE \ it 543 src/xdisp.c && (*BYTE_POS_ADDR (IT_BYTEPOS (*it)) == ' ' \ it 544 src/xdisp.c || *BYTE_POS_ADDR (IT_BYTEPOS (*it)) == '\t')))) it 553 src/xdisp.c it_char_has_category(struct it *it, int cat) it 556 src/xdisp.c if (it->what == IT_CHARACTER) it 557 src/xdisp.c ch = it->c; it 558 src/xdisp.c else if (STRINGP (it->string)) it 559 src/xdisp.c ch = SREF (it->string, IT_STRING_BYTEPOS (*it)); it 560 src/xdisp.c else if (it->s) it 561 src/xdisp.c ch = it->s[IT_BYTEPOS (*it)]; it 562 src/xdisp.c else if (IT_BYTEPOS (*it) < ZV_BYTE) it 563 src/xdisp.c ch = *BYTE_POS_ADDR (IT_BYTEPOS (*it)); it 573 src/xdisp.c char_can_wrap_before (struct it *it) it 576 src/xdisp.c return !IT_DISPLAYING_WHITESPACE (it); it 582 src/xdisp.c if (it->glyph_row && it->glyph_row->reversed_p) it 588 src/xdisp.c return (!IT_DISPLAYING_WHITESPACE (it) it 590 src/xdisp.c && !it_char_has_category (it, not_at_bol)); it 595 src/xdisp.c char_can_wrap_after (struct it *it) it 598 src/xdisp.c return IT_DISPLAYING_WHITESPACE (it); it 604 src/xdisp.c if (it->glyph_row && it->glyph_row->reversed_p) it 609 src/xdisp.c return (IT_DISPLAYING_WHITESPACE (it) it 611 src/xdisp.c || (it_char_has_category (it, LINE_BREAKABLE) it 612 src/xdisp.c && !it_char_has_category (it, not_at_eol))); it 624 src/xdisp.c fill_column_indicator_column (struct it *it, int char_width) it 627 src/xdisp.c && !it->w->pseudo_window_p it 628 src/xdisp.c && it->continuation_lines_width == 0 it 641 src/xdisp.c && !INT_ADD_WRAPV (it->lnum_pixel_width, icol, &icol)) it 855 src/xdisp.c static bool calc_pixel_width_or_height (double *, struct it *, Lisp_Object, it 996 src/xdisp.c enum prop_handled (*handler) (struct it *it); it 999 src/xdisp.c static enum prop_handled handle_face_prop (struct it *); it 1000 src/xdisp.c static enum prop_handled handle_invisible_prop (struct it *); it 1001 src/xdisp.c static enum prop_handled handle_display_prop (struct it *); it 1002 src/xdisp.c static enum prop_handled handle_composition_prop (struct it *); it 1003 src/xdisp.c static enum prop_handled handle_overlay_change (struct it *); it 1004 src/xdisp.c static enum prop_handled handle_fontified_prop (struct it *); it 1114 src/xdisp.c static void setup_for_ellipsis (struct it *, int); it 1115 src/xdisp.c static void set_iterator_to_next (struct it *, bool); it 1121 src/xdisp.c static void handle_line_prefix (struct it *); it 1123 src/xdisp.c static void handle_stop_backwards (struct it *, ptrdiff_t); it 1133 src/xdisp.c static void extend_face_to_end_of_line (struct it *); it 1135 src/xdisp.c static void push_it (struct it *, struct text_pos *); it 1136 src/xdisp.c static void iterate_out_of_display_property (struct it *); it 1137 src/xdisp.c static void pop_it (struct it *); it 1154 src/xdisp.c static void maybe_produce_line_number (struct it *); it 1155 src/xdisp.c static bool should_produce_line_number (struct it *); it 1156 src/xdisp.c static bool display_line (struct it *, int); it 1159 src/xdisp.c static int display_mode_element (struct it *, int, int, int, Lisp_Object, it 1172 src/xdisp.c ptrdiff_t, ptrdiff_t, struct it *, int, int, int, it 1174 src/xdisp.c static void compute_line_metrics (struct it *); it 1175 src/xdisp.c static bool get_overlay_strings (struct it *, ptrdiff_t); it 1176 src/xdisp.c static bool get_overlay_strings_1 (struct it *, ptrdiff_t, bool); it 1177 src/xdisp.c static void next_overlay_string (struct it *); it 1178 src/xdisp.c static void reseat (struct it *, struct text_pos, bool); it 1179 src/xdisp.c static void reseat_1 (struct it *, struct text_pos, bool); it 1180 src/xdisp.c static bool next_element_from_display_vector (struct it *); it 1181 src/xdisp.c static bool next_element_from_string (struct it *); it 1182 src/xdisp.c static bool next_element_from_c_string (struct it *); it 1183 src/xdisp.c static bool next_element_from_buffer (struct it *); it 1184 src/xdisp.c static bool next_element_from_composition (struct it *); it 1185 src/xdisp.c static bool next_element_from_image (struct it *); it 1186 src/xdisp.c static bool next_element_from_stretch (struct it *); it 1187 src/xdisp.c static bool next_element_from_xwidget (struct it *); it 1188 src/xdisp.c static void load_overlay_strings (struct it *, ptrdiff_t); it 1189 src/xdisp.c static bool get_next_display_element (struct it *); it 1191 src/xdisp.c move_it_in_display_line_to (struct it *, ptrdiff_t, int, it 1193 src/xdisp.c static void get_visually_first_element (struct it *); it 1194 src/xdisp.c static void compute_stop_pos (struct it *); it 1195 src/xdisp.c static int face_before_or_after_it_pos (struct it *, bool); it 1196 src/xdisp.c static int handle_display_spec (struct it *, Lisp_Object, Lisp_Object, it 1198 src/xdisp.c static int handle_single_display_spec (struct it *, Lisp_Object, Lisp_Object, it 1201 src/xdisp.c static int underlying_face_id (const struct it *); it 1216 src/xdisp.c static void append_stretch_glyph (struct it *, Lisp_Object, it 1219 src/xdisp.c static Lisp_Object get_it_property (struct it *, Lisp_Object); it 1220 src/xdisp.c static Lisp_Object calc_line_height_property (struct it *, Lisp_Object, it 1231 src/xdisp.c static void produce_special_glyphs (struct it *, enum display_element_type); it 1234 src/xdisp.c static void reset_box_start_end_flags (struct it *); it 1500 src/xdisp.c line_bottom_y (struct it *it) it 1502 src/xdisp.c int line_height = it->max_ascent + it->max_descent; it 1503 src/xdisp.c int line_top_y = it->current_y; it 1509 src/xdisp.c else if (IT_CHARPOS (*it) < ZV) it 1511 src/xdisp.c move_it_by_lines (it, 1); it 1512 src/xdisp.c line_height = (it->max_ascent || it->max_descent it 1513 src/xdisp.c ? it->max_ascent + it->max_descent it 1518 src/xdisp.c struct glyph_row *row = it->glyph_row; it 1521 src/xdisp.c it->glyph_row = NULL; it 1522 src/xdisp.c it->what = IT_CHARACTER; it 1523 src/xdisp.c it->c = ' '; it 1524 src/xdisp.c it->len = 1; it 1525 src/xdisp.c PRODUCE_GLYPHS (it); it 1526 src/xdisp.c line_height = it->ascent + it->descent; it 1527 src/xdisp.c it->glyph_row = row; it 1541 src/xdisp.c struct it it; it 1554 src/xdisp.c start_display (&it, w, pt); it 1558 src/xdisp.c move_it_by_lines (&it, 0); it 1559 src/xdisp.c it.vpos = it.current_y = 0; it 1561 src/xdisp.c result = make_fixnum (line_bottom_y (&it)); it 1657 src/xdisp.c reset_box_start_end_flags (struct it *it) it 1661 src/xdisp.c if (it->area == TEXT_AREA it 1663 src/xdisp.c && !(it->what == IT_IMAGE && it->image_id < 0)) it 1669 src/xdisp.c if (it->face_box_p) it 1670 src/xdisp.c it->start_of_box_run_p = false; it 1671 src/xdisp.c it->end_of_box_run_p = false; it 1685 src/xdisp.c struct it it; it 1761 src/xdisp.c start_display (&it, w, top); it 1762 src/xdisp.c move_it_to (&it, charpos, -1, it.last_visible_y - 1, -1, it 1768 src/xdisp.c && it.current_x >= it.first_visible_x it 1769 src/xdisp.c && IT_CHARPOS (it) == charpos it 1770 src/xdisp.c && !it.line_number_produced_p) it 1775 src/xdisp.c if (!it.lnum_pixel_width) it 1777 src/xdisp.c struct it it2; it 1780 src/xdisp.c SAVE_IT (it2, it, it2data); it 1781 src/xdisp.c move_it_by_lines (&it, 1); it 1782 src/xdisp.c it2.lnum_pixel_width = it.lnum_pixel_width; it 1783 src/xdisp.c RESTORE_IT (&it, &it2, it2data); it 1785 src/xdisp.c it.current_x += it.lnum_pixel_width; it 1789 src/xdisp.c && (((!it.bidi_p || it.bidi_it.scan_dir != -1) it 1790 src/xdisp.c && IT_CHARPOS (it) >= charpos) it 1794 src/xdisp.c || (it.bidi_p && it.bidi_it.scan_dir == -1 it 1795 src/xdisp.c && IT_CHARPOS (it) <= charpos))) it 1803 src/xdisp.c int top_x = it.current_x; it 1804 src/xdisp.c int top_y = it.current_y; it 1807 src/xdisp.c struct it save_it; it 1811 src/xdisp.c SAVE_IT (save_it, it, save_it_data); it 1813 src/xdisp.c bottom_y = line_bottom_y (&it); it 1816 src/xdisp.c else if (top_y < it.last_visible_y) it 1818 src/xdisp.c if (bottom_y >= it.last_visible_y it 1819 src/xdisp.c && it.bidi_p && it.bidi_it.scan_dir == -1 it 1820 src/xdisp.c && IT_CHARPOS (it) < charpos) it 1834 src/xdisp.c move_it_to (&it, charpos, -1, bottom_y + ten_more_lines, -1, it 1836 src/xdisp.c if (it.current_y > top_y) it 1840 src/xdisp.c RESTORE_IT (&it, &save_it, save_it_data); it 1843 src/xdisp.c if (it.method == GET_FROM_DISPLAY_VECTOR) it 1848 src/xdisp.c top_x = it.glyph_row->x; it 1851 src/xdisp.c struct it it2, it2_prev; it 1882 src/xdisp.c top_x = it.glyph_row->x; it 1890 src/xdisp.c else if (IT_CHARPOS (it) != charpos) it 1904 src/xdisp.c charpos, FRAME_WINDOW_P (it.f))); it 1925 src/xdisp.c struct it it3; it 2024 src/xdisp.c else if (it.line_number_produced_p) it 2026 src/xdisp.c top_x += it.lnum_pixel_width; it 2048 src/xdisp.c if (it.ascent == 0 && it.what == IT_IMAGE it 2049 src/xdisp.c && it.method != GET_FROM_IMAGE it 2050 src/xdisp.c && it.image_id < 0 it 2051 src/xdisp.c && it.max_ascent > 0) it 2054 src/xdisp.c *y = max (top_y + max (0, it.max_ascent - it.ascent), window_top_y); it 2056 src/xdisp.c *rbot = max (0, bottom_y - it.last_visible_y); it 2057 src/xdisp.c *rowh = max (0, (min (bottom_y, it.last_visible_y) it 2059 src/xdisp.c *vpos = it.vpos; it 2060 src/xdisp.c if (it.bidi_it.paragraph_dir == R2L) it 2069 src/xdisp.c struct it it2; it 2072 src/xdisp.c SAVE_IT (it2, it, it2data); it 2073 src/xdisp.c if (IT_CHARPOS (it) < ZV && FETCH_BYTE (IT_BYTEPOS (it)) != '\n') it 2074 src/xdisp.c move_it_by_lines (&it, 1); it 2075 src/xdisp.c if (charpos < IT_CHARPOS (it) it 2076 src/xdisp.c || (it.what == IT_EOB && charpos == IT_CHARPOS (it))) it 2091 src/xdisp.c - it.last_visible_y)); it 2093 src/xdisp.c it.last_visible_y) it 3131 src/xdisp.c CHECK_IT (struct it *it) it 3134 src/xdisp.c if (it->method == GET_FROM_STRING) it 3136 src/xdisp.c eassert (STRINGP (it->string)); it 3137 src/xdisp.c eassert (IT_STRING_CHARPOS (*it) >= 0); it 3141 src/xdisp.c eassert (IT_STRING_CHARPOS (*it) < 0); it 3142 src/xdisp.c if (it->method == GET_FROM_BUFFER) it 3145 src/xdisp.c eassert (IT_CHARPOS (*it) == BYTE_TO_CHAR (IT_BYTEPOS (*it))); it 3149 src/xdisp.c if (it->dpvec) it 3150 src/xdisp.c eassert (it->current.dpvec_index >= 0); it 3152 src/xdisp.c eassert (it->current.dpvec_index < 0); it 3199 src/xdisp.c init_iterator (struct it *it, struct window *w, it 3207 src/xdisp.c eassert (w != NULL && it != NULL); it 3254 src/xdisp.c memclear (it, sizeof *it); it 3255 src/xdisp.c it->current.overlay_string_index = -1; it 3256 src/xdisp.c it->current.dpvec_index = -1; it 3257 src/xdisp.c it->base_face_id = remapped_base_face_id; it 3258 src/xdisp.c IT_STRING_CHARPOS (*it) = IT_STRING_BYTEPOS (*it) = -1; it 3259 src/xdisp.c it->paragraph_embedding = L2R; it 3260 src/xdisp.c it->bidi_it.w = w; it 3263 src/xdisp.c XSETWINDOW (it->window, w); it 3264 src/xdisp.c it->w = w; it 3265 src/xdisp.c it->f = XFRAME (w->frame); it 3267 src/xdisp.c it->cmp_it.id = -1; it 3268 src/xdisp.c it->cmp_it.parent_it = it; it 3275 src/xdisp.c && FRAME_WINDOW_P (it->f)) it 3278 src/xdisp.c it->extra_line_spacing = XFIXNAT (BVAR (current_buffer, extra_line_spacing)); it 3280 src/xdisp.c it->extra_line_spacing = (XFLOAT_DATA (BVAR (current_buffer, extra_line_spacing)) it 3281 src/xdisp.c * FRAME_LINE_HEIGHT (it->f)); it 3282 src/xdisp.c else if (it->f->extra_line_spacing > 0) it 3283 src/xdisp.c it->extra_line_spacing = it->f->extra_line_spacing; it 3290 src/xdisp.c if (FRAME_FACE_CACHE (it->f) == NULL) it 3291 src/xdisp.c init_frame_faces (it->f); it 3292 src/xdisp.c if (FRAME_FACE_CACHE (it->f)->used == 0) it 3293 src/xdisp.c recompute_basic_faces (it->f); it 3295 src/xdisp.c it->override_ascent = -1; it 3298 src/xdisp.c it->ctl_arrow_p = !NILP (BVAR (current_buffer, ctl_arrow)); it 3303 src/xdisp.c it->selective = (FIXNUMP (BVAR (current_buffer, selective_display)) it 3309 src/xdisp.c it->selective_display_ellipsis_p it 3313 src/xdisp.c it->dp = window_display_table (w); it 3316 src/xdisp.c it->multibyte_p = !NILP (BVAR (current_buffer, enable_multibyte_characters)); it 3318 src/xdisp.c it->tab_width = SANE_TAB_WIDTH (current_buffer); it 3322 src/xdisp.c it->line_wrap = TRUNCATE; it 3324 src/xdisp.c && !it->w->hscroll it 3325 src/xdisp.c && (WINDOW_FULL_WIDTH_P (it->w) it 3330 src/xdisp.c <= WINDOW_TOTAL_COLS (it->w)))) it 3332 src/xdisp.c it->line_wrap = NILP (BVAR (current_buffer, word_wrap)) it 3342 src/xdisp.c if (!(FRAME_WINDOW_P (it->f) && it->f->no_special_glyphs)) it 3345 src/xdisp.c if (it->line_wrap == TRUNCATE) it 3348 src/xdisp.c eassert (it->glyph_row == NULL); it 3349 src/xdisp.c produce_special_glyphs (it, IT_TRUNCATION); it 3350 src/xdisp.c it->truncation_pixel_width = it->pixel_width; it 3355 src/xdisp.c eassert (it->glyph_row == NULL); it 3356 src/xdisp.c produce_special_glyphs (it, IT_CONTINUATION); it 3357 src/xdisp.c it->continuation_pixel_width = it->pixel_width; it 3363 src/xdisp.c it->pixel_width = it->ascent = it->descent = 0; it 3364 src/xdisp.c it->phys_ascent = it->phys_descent = 0; it 3369 src/xdisp.c it->glyph_row = row; it 3370 src/xdisp.c it->area = TEXT_AREA; it 3379 src/xdisp.c it->first_visible_x = 0; it 3380 src/xdisp.c it->last_visible_x = it 3394 src/xdisp.c it->first_visible_x = w->min_hscroll * FRAME_COLUMN_WIDTH (it->f); it 3396 src/xdisp.c it->first_visible_x = 0; it 3399 src/xdisp.c it->first_visible_x = it 3400 src/xdisp.c window_hscroll_limited (w, it->f) * FRAME_COLUMN_WIDTH (it->f); it 3405 src/xdisp.c FRAME_WINDOW_CHANGE (it->f) = true; it 3406 src/xdisp.c it->last_visible_x = it->first_visible_x + body_width; it 3411 src/xdisp.c if (WINDOW_RIGHT_FRINGE_WIDTH (it->w) == 0) it 3413 src/xdisp.c if (it->line_wrap == TRUNCATE) it 3414 src/xdisp.c it->last_visible_x -= it->truncation_pixel_width; it 3416 src/xdisp.c it->last_visible_x -= it->continuation_pixel_width; it 3419 src/xdisp.c it->tab_line_p = window_wants_tab_line (w); it 3420 src/xdisp.c it->header_line_p = window_wants_header_line (w); it 3422 src/xdisp.c it->current_y = body_height + w->vscroll; it 3426 src/xdisp.c if (!FRAME_WINDOW_P (it->f) it 3427 src/xdisp.c && !WINDOW_RIGHTMOST_P (it->w)) it 3428 src/xdisp.c it->last_visible_x -= 1; it 3430 src/xdisp.c it->last_visible_y = window_text_bottom_y (w); it 3431 src/xdisp.c body_height += it->last_visible_y; it 3434 src/xdisp.c FRAME_WINDOW_CHANGE (it->f) = true; it 3442 src/xdisp.c it->face_id = remapped_base_face_id; it 3446 src/xdisp.c face = FACE_FROM_ID_OR_NULL (it->f, remapped_base_face_id); it 3450 src/xdisp.c it->face_box_p = true; it 3451 src/xdisp.c it->start_of_box_run_p = true; it 3455 src/xdisp.c it->last_visible_x -= box_thickness; it 3463 src/xdisp.c it->stop_charpos = charpos; it 3464 src/xdisp.c it->end_charpos = ZV; it 3466 src/xdisp.c IT_CHARPOS (*it) = charpos; it 3467 src/xdisp.c IT_BYTEPOS (*it) = bytepos; it 3471 src/xdisp.c it->face_id = it->base_face_id; it 3473 src/xdisp.c it->start = it->current; it 3481 src/xdisp.c it->bidi_p = it 3484 src/xdisp.c && it->multibyte_p; it 3488 src/xdisp.c if (it->bidi_p) it 3495 src/xdisp.c && WINDOW_LEFT_FRINGE_WIDTH (it->w) == 0 it 3496 src/xdisp.c && WINDOW_RIGHT_FRINGE_WIDTH (it->w) != 0) it 3498 src/xdisp.c if (it->line_wrap == TRUNCATE) it 3499 src/xdisp.c it->last_visible_x -= it->truncation_pixel_width; it 3501 src/xdisp.c it->last_visible_x -= it->continuation_pixel_width; it 3507 src/xdisp.c it->paragraph_embedding = L2R; it 3510 src/xdisp.c it->paragraph_embedding = R2L; it 3512 src/xdisp.c it->paragraph_embedding = NEUTRAL_DIR; it 3514 src/xdisp.c bidi_init_it (charpos, IT_BYTEPOS (*it), FRAME_WINDOW_P (it->f), it 3515 src/xdisp.c &it->bidi_it); it 3520 src/xdisp.c it->medium_narrowing_begv = 0; it 3523 src/xdisp.c reseat (it, it->current.pos, true); it 3526 src/xdisp.c CHECK_IT (it); it 3745 src/xdisp.c start_display (struct it *it, struct window *w, struct text_pos pos) it 3751 src/xdisp.c init_iterator (it, w, CHARPOS (pos), BYTEPOS (pos), row, DEFAULT_FACE_ID); it 3752 src/xdisp.c it->first_vpos = first_vpos; it 3756 src/xdisp.c if (it->method == GET_FROM_BUFFER && it->line_wrap != TRUNCATE) it 3758 src/xdisp.c int first_y = it->current_y; it 3768 src/xdisp.c reseat_at_previous_visible_line_start (it); it 3769 src/xdisp.c move_it_to (it, CHARPOS (pos), -1, -1, -1, MOVE_TO_POS); it 3771 src/xdisp.c new_x = it->current_x + it->pixel_width; it 3779 src/xdisp.c if (it->current_x > 0 it 3780 src/xdisp.c && it->line_wrap != TRUNCATE /* Lines are continued. */ it 3782 src/xdisp.c new_x > it->last_visible_x it 3785 src/xdisp.c || (new_x == it->last_visible_x it 3786 src/xdisp.c && FRAME_WINDOW_P (it->f) it 3787 src/xdisp.c && ((it->bidi_p && it->bidi_it.paragraph_dir == R2L) it 3788 src/xdisp.c ? WINDOW_LEFT_FRINGE_WIDTH (it->w) it 3789 src/xdisp.c : WINDOW_RIGHT_FRINGE_WIDTH (it->w))))) it 3791 src/xdisp.c if ((it->current.dpvec_index >= 0 it 3792 src/xdisp.c || it->current.overlay_string_index >= 0) it 3798 src/xdisp.c && it->c != '\n') it 3800 src/xdisp.c set_iterator_to_next (it, true); it 3801 src/xdisp.c move_it_in_display_line_to (it, -1, -1, 0); it 3804 src/xdisp.c it->continuation_lines_width += it->current_x; it 3811 src/xdisp.c else if (it->current.dpvec_index >= 0) it 3812 src/xdisp.c it->current.dpvec_index = 0; it 3817 src/xdisp.c it->max_ascent = it->max_descent = 0; it 3818 src/xdisp.c it->max_phys_ascent = it->max_phys_descent = 0; it 3820 src/xdisp.c it->current_y = first_y; it 3821 src/xdisp.c it->vpos = 0; it 3822 src/xdisp.c it->current_x = it->hpos = 0; it 3866 src/xdisp.c init_from_display_pos (struct it *it, struct window *w, struct display_pos *pos) it 3891 src/xdisp.c init_iterator (it, w, charpos, bytepos, NULL, DEFAULT_FACE_ID); it 3896 src/xdisp.c for (i = 0; i < it->n_overlay_strings && i < OVERLAY_STRING_CHUNK_SIZE; ++i) it 3898 src/xdisp.c const char *s = SSDATA (it->overlay_strings[i]); it 3899 src/xdisp.c const char *e = s + SBYTES (it->overlay_strings[i]); it 3921 src/xdisp.c if (it->method == GET_FROM_IMAGE) it 3922 src/xdisp.c pop_it (it); it 3930 src/xdisp.c it->current.overlay_string_index = 0; it 3933 src/xdisp.c load_overlay_strings (it, 0); it 3934 src/xdisp.c it->current.overlay_string_index += OVERLAY_STRING_CHUNK_SIZE; it 3938 src/xdisp.c it->current.overlay_string_index = pos->overlay_string_index; it 3939 src/xdisp.c relative_index = (it->current.overlay_string_index it 3941 src/xdisp.c it->string = it->overlay_strings[relative_index]; it 3942 src/xdisp.c eassert (STRINGP (it->string)); it 3943 src/xdisp.c it->current.string_pos = pos->string_pos; it 3944 src/xdisp.c it->method = GET_FROM_STRING; it 3945 src/xdisp.c it->end_charpos = SCHARS (it->string); it 3947 src/xdisp.c if (it->bidi_p) it 3949 src/xdisp.c it->bidi_it.string.lstring = it->string; it 3950 src/xdisp.c it->bidi_it.string.s = NULL; it 3951 src/xdisp.c it->bidi_it.string.schars = SCHARS (it->string); it 3952 src/xdisp.c it->bidi_it.string.bufpos = it->overlay_strings_charpos; it 3953 src/xdisp.c it->bidi_it.string.from_disp_str = it->string_from_display_prop_p; it 3954 src/xdisp.c it->bidi_it.string.unibyte = !it->multibyte_p; it 3955 src/xdisp.c it->bidi_it.w = it->w; it 3956 src/xdisp.c bidi_init_it (IT_STRING_CHARPOS (*it), IT_STRING_BYTEPOS (*it), it 3957 src/xdisp.c FRAME_WINDOW_P (it->f), &it->bidi_it); it 3969 src/xdisp.c get_visually_first_element (it); it 3970 src/xdisp.c if (IT_STRING_CHARPOS (*it) != 0) it 3973 src/xdisp.c eassert (it->bidi_it.charpos < it->bidi_it.string.schars); it 3974 src/xdisp.c bidi_move_to_visually_next (&it->bidi_it); it 3975 src/xdisp.c } while (it->bidi_it.charpos != 0); it 3977 src/xdisp.c eassert (IT_STRING_CHARPOS (*it) == it->bidi_it.charpos it 3978 src/xdisp.c && IT_STRING_BYTEPOS (*it) == it->bidi_it.bytepos); it 3987 src/xdisp.c it->current.string_pos = pos->string_pos; it 3988 src/xdisp.c eassert (STRINGP (it->string)); it 3989 src/xdisp.c if (it->bidi_p) it 3990 src/xdisp.c bidi_init_it (IT_STRING_CHARPOS (*it), IT_STRING_BYTEPOS (*it), it 3991 src/xdisp.c FRAME_WINDOW_P (it->f), &it->bidi_it); it 3998 src/xdisp.c if (it->dpvec == NULL) it 3999 src/xdisp.c get_next_display_element (it); it 4000 src/xdisp.c eassert (it->dpvec && it->current.dpvec_index == 0); it 4001 src/xdisp.c it->current.dpvec_index = pos->dpvec_index; it 4004 src/xdisp.c CHECK_IT (it); it 4013 src/xdisp.c init_to_row_start (struct it *it, struct window *w, struct glyph_row *row) it 4015 src/xdisp.c init_from_display_pos (it, w, &row->start); it 4016 src/xdisp.c it->start = row->start; it 4017 src/xdisp.c it->continuation_lines_width = row->continuation_lines_width; it 4018 src/xdisp.c CHECK_IT (it); it 4029 src/xdisp.c init_to_row_end (struct it *it, struct window *w, struct glyph_row *row) it 4033 src/xdisp.c if (init_from_display_pos (it, w, &row->end)) it 4036 src/xdisp.c it->continuation_lines_width it 4038 src/xdisp.c CHECK_IT (it); it 4048 src/xdisp.c if (get_next_display_element (it) it 4049 src/xdisp.c && (it->bidi_it.scan_dir == -1 && it->cmp_it.id >= 0)) it 4070 src/xdisp.c handle_stop (struct it *it) it 4076 src/xdisp.c it->dpvec = NULL; it 4077 src/xdisp.c it->current.dpvec_index = -1; it 4078 src/xdisp.c handle_overlay_change_p = !it->ignore_overlay_strings_at_pos_p; it 4079 src/xdisp.c it->ellipsis_p = false; it 4082 src/xdisp.c if (it->selective_display_ellipsis_p) it 4083 src/xdisp.c it->saved_face_id = it->face_id; it 4134 src/xdisp.c handled = p->handler (it); it 4143 src/xdisp.c || it->sp > 1 it 4150 src/xdisp.c || (it->current.overlay_string_index < 0 it 4151 src/xdisp.c && !get_overlay_strings_1 (it, 0, false))) it 4153 src/xdisp.c if (it->ellipsis_p) it 4154 src/xdisp.c setup_for_ellipsis (it, 0); it 4160 src/xdisp.c if (STRINGP (it->string) && !SCHARS (it->string)) it 4161 src/xdisp.c pop_it (it); it 4164 src/xdisp.c else if (STRINGP (it->string) && !SCHARS (it->string)) it 4165 src/xdisp.c pop_it (it); it 4168 src/xdisp.c it->string_from_display_prop_p = false; it 4169 src/xdisp.c it->from_disp_prop_p = false; it 4183 src/xdisp.c if (it->method == GET_FROM_DISPLAY_VECTOR) it 4190 src/xdisp.c handled = handle_overlay_change (it); it 4193 src/xdisp.c if (it->ellipsis_p) it 4195 src/xdisp.c setup_for_ellipsis (it, 0); it 4203 src/xdisp.c compute_stop_pos (it); it 4211 src/xdisp.c compute_stop_pos (struct it *it) it 4217 src/xdisp.c if (STRINGP (it->string)) it 4221 src/xdisp.c it->stop_charpos = it->end_charpos; it 4222 src/xdisp.c object = it->string; it 4224 src/xdisp.c charpos = IT_STRING_CHARPOS (*it); it 4225 src/xdisp.c bytepos = IT_STRING_BYTEPOS (*it); it 4233 src/xdisp.c if (it->end_charpos > ZV) it 4234 src/xdisp.c it->end_charpos = ZV; it 4235 src/xdisp.c it->stop_charpos = it->end_charpos; it 4241 src/xdisp.c charpos = IT_CHARPOS (*it); it 4242 src/xdisp.c bytepos = IT_BYTEPOS (*it); it 4244 src/xdisp.c if (pos < it->stop_charpos) it 4245 src/xdisp.c it->stop_charpos = pos; it 4250 src/xdisp.c && charpos < PT && PT < it->stop_charpos) it 4251 src/xdisp.c it->stop_charpos = PT; it 4286 src/xdisp.c else if (it->stop_charpos < endpos) it 4287 src/xdisp.c pos = it->stop_charpos; it 4336 src/xdisp.c it->stop_charpos = min (XFIXNAT (limit), it->stop_charpos); it 4339 src/xdisp.c it->stop_charpos = min (it->stop_charpos, next_iv->position); it 4343 src/xdisp.c if (it->cmp_it.id < 0) it 4345 src/xdisp.c ptrdiff_t stoppos = it->end_charpos; it 4347 src/xdisp.c if (it->bidi_p && it->bidi_it.scan_dir < 0) it 4349 src/xdisp.c composition_compute_stop_pos (&it->cmp_it, charpos, bytepos, it 4350 src/xdisp.c stoppos, it->string); it 4353 src/xdisp.c eassert (STRINGP (it->string) it 4354 src/xdisp.c || (it->stop_charpos >= BEGV it 4355 src/xdisp.c && it->stop_charpos >= IT_CHARPOS (*it))); it 4517 src/xdisp.c handle_fontified_prop (struct it *it) it 4529 src/xdisp.c if (!STRINGP (it->string) it 4530 src/xdisp.c && it->s == NULL it 4534 src/xdisp.c && (pos = make_fixnum (IT_CHARPOS (*it)), it 4538 src/xdisp.c NILP (prop) && IT_CHARPOS (*it) < Z)) it 4545 src/xdisp.c bool saved_inhibit_flag = it->f->inhibit_clear_image_cache; it 4550 src/xdisp.c eassert (it->end_charpos == ZV); it 4555 src/xdisp.c ptrdiff_t begv = it->large_narrowing_begv; it 4556 src/xdisp.c ptrdiff_t zv = it->large_narrowing_zv; it 4557 src/xdisp.c ptrdiff_t charpos = IT_CHARPOS (*it); it 4570 src/xdisp.c it->f->inhibit_clear_image_cache = true; it 4605 src/xdisp.c it->f->inhibit_clear_image_cache = saved_inhibit_flag; it 4630 src/xdisp.c it->end_charpos = ZV; it 4649 src/xdisp.c face_at_pos (const struct it *it, enum lface_attribute_index attr_filter) it 4653 src/xdisp.c if (!STRINGP (it->string)) it 4655 src/xdisp.c return face_at_buffer_position (it->w, it 4656 src/xdisp.c IT_CHARPOS (*it), it 4658 src/xdisp.c (IT_CHARPOS (*it) it 4660 src/xdisp.c false, it->base_face_id, it 4669 src/xdisp.c = (it->current.overlay_string_index >= 0 it 4670 src/xdisp.c ? it->string_overlays[it->current.overlay_string_index it 4681 src/xdisp.c for (i = it->sp - 1; i >= 0; i--) it 4683 src/xdisp.c if (it->stack[i].current.overlay_string_index >= 0) it 4685 src/xdisp.c = it->string_overlays[it->stack[i].current.overlay_string_index it 4687 src/xdisp.c else if (! NILP (it->stack[i].from_overlay)) it 4688 src/xdisp.c from_overlay = it->stack[i].from_overlay; it 4696 src/xdisp.c bufpos = IT_CHARPOS (*it); it 4700 src/xdisp.c = face_for_overlay_string (it->w, it 4701 src/xdisp.c IT_CHARPOS (*it), it 4703 src/xdisp.c (IT_CHARPOS (*it) it 4728 src/xdisp.c base_face_id = it->string_from_prefix_prop_p it 4730 src/xdisp.c ? lookup_basic_face (it->w, it->f, DEFAULT_FACE_ID) it 4732 src/xdisp.c : underlying_face_id (it); it 4735 src/xdisp.c return face_at_string_position (it->w, it 4736 src/xdisp.c it->string, it 4737 src/xdisp.c IT_STRING_CHARPOS (*it), it 4749 src/xdisp.c handle_face_prop (struct it *it) it 4756 src/xdisp.c const int new_face_id = face_at_pos (it, 0); it 4766 src/xdisp.c if (new_face_id != it->face_id) it 4768 src/xdisp.c struct face *new_face = FACE_FROM_ID (it->f, new_face_id); it 4772 src/xdisp.c struct face *old_face = FACE_FROM_ID_OR_NULL (it->f, it->face_id); it 4777 src/xdisp.c if (!STRINGP (it->string) it 4779 src/xdisp.c && IT_CHARPOS (*it) > BEG) it 4781 src/xdisp.c const int prev_face_id = face_before_it_pos (it); it 4783 src/xdisp.c old_face = FACE_FROM_ID_OR_NULL (it->f, prev_face_id); it 4789 src/xdisp.c it->face_id = new_face_id; it 4792 src/xdisp.c if (!(it->start_of_box_run_p && old_face && old_face->box)) it 4793 src/xdisp.c it->start_of_box_run_p = (new_face->box != FACE_NO_BOX it 4795 src/xdisp.c it->face_box_p = new_face->box != FACE_NO_BOX; it 4808 src/xdisp.c underlying_face_id (const struct it *it) it 4810 src/xdisp.c int face_id = it->base_face_id, i; it 4812 src/xdisp.c eassert (STRINGP (it->string)); it 4814 src/xdisp.c for (i = it->sp - 1; i >= 0; --i) it 4815 src/xdisp.c if (NILP (it->stack[i].string)) it 4816 src/xdisp.c face_id = it->stack[i].face_id; it 4828 src/xdisp.c face_before_or_after_it_pos (struct it *it, bool before_p) it 4832 src/xdisp.c struct it it_copy; it 4835 src/xdisp.c eassert (it->s == NULL); it 4837 src/xdisp.c if (STRINGP (it->string)) it 4846 src/xdisp.c if (IT_STRING_CHARPOS (*it) >= SCHARS (it->string) it 4847 src/xdisp.c || (IT_STRING_CHARPOS (*it) == 0 && before_p) it 4848 src/xdisp.c || it->current_x <= it->first_visible_x) it 4849 src/xdisp.c return it->face_id; it 4851 src/xdisp.c if (!it->bidi_p) it 4857 src/xdisp.c charpos = IT_STRING_CHARPOS (*it) - 1; it 4858 src/xdisp.c else if (it->what == IT_COMPOSITION) it 4861 src/xdisp.c charpos = IT_STRING_CHARPOS (*it) + it->cmp_it.nchars; it 4863 src/xdisp.c charpos = IT_STRING_CHARPOS (*it) + 1; it 4877 src/xdisp.c SAVE_IT (it_copy, *it, it_copy_data); it 4885 src/xdisp.c if (charpos >= SCHARS (it->string)) it 4889 src/xdisp.c while (it_copy.bidi_it.charpos != IT_STRING_CHARPOS (*it)); it 4896 src/xdisp.c int n = (it->what == IT_COMPOSITION ? it->cmp_it.nchars : 1); it 4908 src/xdisp.c RESTORE_IT (it, it, it_copy_data); it 4910 src/xdisp.c eassert (0 <= charpos && charpos <= SCHARS (it->string)); it 4912 src/xdisp.c if (it->current.overlay_string_index >= 0) it 4913 src/xdisp.c bufpos = IT_CHARPOS (*it); it 4917 src/xdisp.c base_face_id = underlying_face_id (it); it 4920 src/xdisp.c face_id = face_at_string_position (it->w, it->string, charpos, it 4927 src/xdisp.c if (STRING_MULTIBYTE (it->string)) it 4929 src/xdisp.c struct text_pos pos1 = string_pos (charpos, it->string); it 4930 src/xdisp.c const unsigned char *p = SDATA (it->string) + BYTEPOS (pos1); it 4931 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, face_id); it 4933 src/xdisp.c face_id = FACE_FOR_CHAR (it->f, face, c, charpos, it->string); it 4940 src/xdisp.c if ((IT_CHARPOS (*it) >= ZV && !before_p) it 4941 src/xdisp.c || (IT_CHARPOS (*it) <= BEGV && before_p)) it 4942 src/xdisp.c return it->face_id; it 4944 src/xdisp.c limit = IT_CHARPOS (*it) + TEXT_PROP_DISTANCE_LIMIT; it 4945 src/xdisp.c pos = it->current.pos; it 4947 src/xdisp.c if (!it->bidi_p) it 4950 src/xdisp.c DEC_TEXT_POS (pos, it->multibyte_p); it 4953 src/xdisp.c if (it->what == IT_COMPOSITION) it 4957 src/xdisp.c pos.charpos += it->cmp_it.nchars; it 4958 src/xdisp.c pos.bytepos += it->len; it 4961 src/xdisp.c INC_TEXT_POS (pos, it->multibyte_p); it 4979 src/xdisp.c if (it->current_x <= it->first_visible_x) it 4980 src/xdisp.c return it->face_id; it 4981 src/xdisp.c SAVE_IT (it_copy, *it, it_copy_data); it 4991 src/xdisp.c RESTORE_IT (it, it, it_copy_data); it 4998 src/xdisp.c int n = (it->what == IT_COMPOSITION ? it->cmp_it.nchars : 1); it 5000 src/xdisp.c it_copy = *it; it 5004 src/xdisp.c if (it->bidi_it.first_elt) it 5016 src/xdisp.c face_id = face_at_buffer_position (it->w, it 5024 src/xdisp.c if (it->multibyte_p) it 5027 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, face_id); it 5028 src/xdisp.c face_id = FACE_FOR_CHAR (it->f, face, c, CHARPOS (pos), Qnil); it 5045 src/xdisp.c handle_invisible_prop (struct it *it) it 5051 src/xdisp.c if (STRINGP (it->string)) it 5058 src/xdisp.c end_charpos = make_fixnum (IT_STRING_CHARPOS (*it)); it 5059 src/xdisp.c prop = Fget_text_property (end_charpos, Qinvisible, it->string); it 5062 src/xdisp.c if (invis != 0 && IT_STRING_CHARPOS (*it) < it->end_charpos) it 5073 src/xdisp.c endpos = len = SCHARS (it->string); it 5079 src/xdisp.c it->string, limit); it 5086 src/xdisp.c prop = Fget_text_property (end_charpos, Qinvisible, it->string); it 5097 src/xdisp.c it->ellipsis_p = true; it 5105 src/xdisp.c old = it->current.string_pos; it 5107 src/xdisp.c if (it->bidi_p) it 5109 src/xdisp.c if (it->bidi_it.first_elt it 5110 src/xdisp.c && it->bidi_it.charpos < SCHARS (it->string)) it 5111 src/xdisp.c bidi_paragraph_init (it->paragraph_embedding, it 5112 src/xdisp.c &it->bidi_it, true); it 5116 src/xdisp.c bidi_move_to_visually_next (&it->bidi_it); it 5118 src/xdisp.c while (oldpos <= it->bidi_it.charpos it 5119 src/xdisp.c && it->bidi_it.charpos < endpos it 5120 src/xdisp.c && it->bidi_it.charpos < it->bidi_it.string.schars); it 5122 src/xdisp.c IT_STRING_CHARPOS (*it) = it->bidi_it.charpos; it 5123 src/xdisp.c IT_STRING_BYTEPOS (*it) = it->bidi_it.bytepos; it 5124 src/xdisp.c if (IT_CHARPOS (*it) >= endpos) it 5125 src/xdisp.c it->prev_stop = endpos; it 5129 src/xdisp.c IT_STRING_CHARPOS (*it) = endpos; it 5130 src/xdisp.c compute_string_pos (&it->current.string_pos, old, it->string); it 5138 src/xdisp.c if (it->current.overlay_string_index >= 0 it 5141 src/xdisp.c next_overlay_string (it); it 5148 src/xdisp.c IT_STRING_CHARPOS (*it) = SCHARS (it->string); it 5149 src/xdisp.c IT_STRING_BYTEPOS (*it) = SBYTES (it->string); it 5160 src/xdisp.c tem = start_charpos = IT_CHARPOS (*it); it 5162 src/xdisp.c prop = get_char_property_and_overlay (pos, Qinvisible, it->window, it 5167 src/xdisp.c if (invis != 0 && start_charpos < it->end_charpos) it 5184 src/xdisp.c newpos = skip_invisible (tem, &next_stop, ZV, it->window); it 5200 src/xdisp.c prop = Fget_char_property (pos, Qinvisible, it->window); it 5217 src/xdisp.c if (it->bidi_p) it 5235 src/xdisp.c bidi_dir_t pdir = it->bidi_it.paragraph_dir; it 5238 src/xdisp.c reseat_1 (it, tpos, false); it 5246 src/xdisp.c it->bidi_it.first_elt = false; it 5247 src/xdisp.c it->bidi_it.paragraph_dir = pdir; it 5248 src/xdisp.c it->bidi_it.ch = (bpos == ZV_BYTE) ? -1 : '\n'; it 5249 src/xdisp.c it->bidi_it.nchars = 1; it 5250 src/xdisp.c it->bidi_it.ch_len = 1; it 5265 src/xdisp.c if (it->bidi_it.first_elt && it->bidi_it.charpos < ZV) it 5274 src/xdisp.c bidi_paragraph_init (it->paragraph_embedding, it 5275 src/xdisp.c &it->bidi_it, true); it 5279 src/xdisp.c bidi_move_to_visually_next (&it->bidi_it); it 5281 src/xdisp.c while (it->stop_charpos <= it->bidi_it.charpos it 5282 src/xdisp.c && it->bidi_it.charpos < newpos); it 5283 src/xdisp.c IT_CHARPOS (*it) = it->bidi_it.charpos; it 5284 src/xdisp.c IT_BYTEPOS (*it) = it->bidi_it.bytepos; it 5289 src/xdisp.c if (IT_CHARPOS (*it) >= newpos) it 5290 src/xdisp.c it->prev_stop = newpos; it 5295 src/xdisp.c IT_CHARPOS (*it) = newpos; it 5296 src/xdisp.c IT_BYTEPOS (*it) = CHAR_TO_BYTE (newpos); it 5313 src/xdisp.c if (!STRINGP (it->object)) it 5315 src/xdisp.c it->position.charpos = newpos - 1; it 5316 src/xdisp.c it->position.bytepos = CHAR_TO_BYTE (it->position.charpos); it 5327 src/xdisp.c && get_overlay_strings (it, it->stop_charpos)) it 5330 src/xdisp.c if (it->sp > 0) it 5332 src/xdisp.c it->stack[it->sp - 1].display_ellipsis_p = display_ellipsis_p; it 5345 src/xdisp.c it->stack[it->sp - 1].stop_charpos it 5346 src/xdisp.c = CHARPOS (it->stack[it->sp - 1].current.pos); it 5351 src/xdisp.c it->ellipsis_p = true; it 5368 src/xdisp.c setup_for_ellipsis (struct it *it, int len) it 5372 src/xdisp.c if (it->dp && VECTORP (DISP_INVIS_VECTOR (it->dp))) it 5374 src/xdisp.c struct Lisp_Vector *v = XVECTOR (DISP_INVIS_VECTOR (it->dp)); it 5375 src/xdisp.c it->dpvec = v->contents; it 5376 src/xdisp.c it->dpend = v->contents + v->header.size; it 5381 src/xdisp.c it->dpvec = default_invis_vector; it 5382 src/xdisp.c it->dpend = default_invis_vector + 3; it 5385 src/xdisp.c it->dpvec_char_len = len; it 5386 src/xdisp.c it->current.dpvec_index = 0; it 5387 src/xdisp.c it->dpvec_face_id = -1; it 5396 src/xdisp.c if (it->saved_face_id >= 0) it 5397 src/xdisp.c it->face_id = it->saved_face_id; it 5401 src/xdisp.c if (it->method == GET_FROM_BUFFER) it 5402 src/xdisp.c it->ignore_overlay_strings_at_pos_p = false; it 5404 src/xdisp.c it->method = GET_FROM_DISPLAY_VECTOR; it 5405 src/xdisp.c it->ellipsis_p = true; it 5466 src/xdisp.c display_min_width (struct it *it, ptrdiff_t bufpos, it 5471 src/xdisp.c if (!NILP (it->min_width_property) it 5472 src/xdisp.c && !EQ (width_spec, it->min_width_property)) it 5474 src/xdisp.c if (!it->glyph_row) it 5482 src/xdisp.c && !EQ (it->min_width_property, it 5487 src/xdisp.c && EQ (it->min_width_property, it 5493 src/xdisp.c if (FRAME_WINDOW_P (it->f)) it 5496 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); it 5497 src/xdisp.c font = face->font ? face->font : FRAME_FONT (it->f); it 5498 src/xdisp.c calc_pixel_width_or_height (&width, it, it 5499 src/xdisp.c XCAR (it->min_width_property), it 5501 src/xdisp.c width -= it->current_x - it->min_width_start; it 5507 src/xdisp.c calc_pixel_width_or_height (&width, it, it 5508 src/xdisp.c XCAR (it->min_width_property), it 5510 src/xdisp.c width -= (it->current_x - it->min_width_start) / it 5511 src/xdisp.c FRAME_COLUMN_WIDTH (it->f); it 5516 src/xdisp.c it->object = list3 (Qspace, QCwidth, w); it 5517 src/xdisp.c produce_stretch_glyph (it); it 5518 src/xdisp.c if (it->area == TEXT_AREA) it 5519 src/xdisp.c it->current_x += it->pixel_width; it 5520 src/xdisp.c it->min_width_property = Qnil; it 5532 src/xdisp.c && !EQ (it->min_width_property, it 5539 src/xdisp.c it->min_width_property = width_spec; it 5540 src/xdisp.c it->min_width_start = it->current_x; it 5577 src/xdisp.c handle_display_prop (struct it *it) it 5585 src/xdisp.c if (STRINGP (it->string)) it 5587 src/xdisp.c object = it->string; it 5588 src/xdisp.c position = &it->current.string_pos; it 5589 src/xdisp.c bufpos = CHARPOS (it->current.pos); it 5593 src/xdisp.c XSETWINDOW (object, it->w); it 5594 src/xdisp.c position = &it->current.pos; it 5599 src/xdisp.c it->slice.x = it->slice.y = it->slice.width = it->slice.height = Qnil; it 5600 src/xdisp.c it->space_width = Qnil; it 5601 src/xdisp.c it->font_height = Qnil; it 5602 src/xdisp.c it->voffset = 0; it 5607 src/xdisp.c if (!it->string_from_display_prop_p) it 5608 src/xdisp.c it->area = TEXT_AREA; it 5614 src/xdisp.c if (!STRINGP (it->string)) it 5615 src/xdisp.c object = it->w->contents; it 5618 src/xdisp.c if (!NILP (it->min_width_property) it 5620 src/xdisp.c display_min_width (it, bufpos, object, Qnil); it 5627 src/xdisp.c display_replaced = handle_display_spec (it, propval, object, overlay, it 5629 src/xdisp.c FRAME_WINDOW_P (it->f)); it 5650 src/xdisp.c handle_display_spec (struct it *it, Lisp_Object spec, Lisp_Object object, it 5685 src/xdisp.c int rv = handle_single_display_spec (it, XCAR (spec), object, it 5694 src/xdisp.c if (!it || STRINGP (object)) it 5704 src/xdisp.c int rv = handle_single_display_spec (it, AREF (spec, i), object, it 5713 src/xdisp.c if (!it || STRINGP (object)) it 5719 src/xdisp.c replacing = handle_single_display_spec (it, spec, object, overlay, position, it 5729 src/xdisp.c display_prop_end (struct it *it, Lisp_Object object, struct text_pos start_pos) it 5738 src/xdisp.c compute_string_pos (&end_pos, start_pos, it->string); it 5772 src/xdisp.c handle_single_display_spec (struct it *it, Lisp_Object spec, Lisp_Object object, it 5826 src/xdisp.c if (it) it 5828 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) it 5831 src/xdisp.c it->font_height = XCAR (XCDR (spec)); it 5832 src/xdisp.c if (!NILP (it->font_height)) it 5836 src/xdisp.c if (CONSP (it->font_height) it 5837 src/xdisp.c && (EQ (XCAR (it->font_height), Qplus) it 5838 src/xdisp.c || EQ (XCAR (it->font_height), Qminus)) it 5839 src/xdisp.c && CONSP (XCDR (it->font_height)) it 5840 src/xdisp.c && RANGED_FIXNUMP (0, XCAR (XCDR (it->font_height)), INT_MAX)) it 5843 src/xdisp.c int steps = XFIXNUM (XCAR (XCDR (it->font_height))); it 5844 src/xdisp.c if (EQ (XCAR (it->font_height), Qplus)) it 5846 src/xdisp.c it->face_id = smaller_face (it->f, it->face_id, steps); it 5848 src/xdisp.c else if (FUNCTIONP (it->font_height) && enable_eval_p) it 5852 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); it 5855 src/xdisp.c height = safe_call1 (it->font_height, it 5861 src/xdisp.c else if (NUMBERP (it->font_height)) it 5866 src/xdisp.c f = FACE_FROM_ID (it->f, it 5867 src/xdisp.c lookup_basic_face (it->w, it->f, DEFAULT_FACE_ID)); it 5868 src/xdisp.c new_height = (XFLOATINT (it->font_height) it 5876 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); it 5880 src/xdisp.c value = safe_eval (it->font_height); it 5889 src/xdisp.c it->face_id = face_with_height (it->f, it->face_id, new_height); it 5901 src/xdisp.c if (it) it 5903 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) it 5908 src/xdisp.c it->space_width = value; it 5920 src/xdisp.c if (it) it 5921 src/xdisp.c display_min_width (it, bufpos, object, XCAR (XCDR (spec))); it 5931 src/xdisp.c if (it) it 5933 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) it 5938 src/xdisp.c it->slice.x = XCAR (tem); it 5941 src/xdisp.c it->slice.y = XCAR (tem); it 5944 src/xdisp.c it->slice.width = XCAR (tem); it 5946 src/xdisp.c it->slice.height = XCAR (tem); it 5960 src/xdisp.c if (it) it 5962 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) it 5969 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); it 5970 src/xdisp.c it->voffset = - (XFLOATINT (value) it 5981 src/xdisp.c if (it && it->string_from_display_prop_p) it 5986 src/xdisp.c if (it) it 5989 src/xdisp.c *position = display_prop_end (it, object, start_pos); it 6017 src/xdisp.c if (it) it 6018 src/xdisp.c it->stop_charpos = position->charpos; it 6027 src/xdisp.c if (it) it 6029 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) it 6037 src/xdisp.c if (it->bidi_p) it 6039 src/xdisp.c it->position = *position; it 6040 src/xdisp.c iterate_out_of_display_property (it); it 6041 src/xdisp.c *position = it->position; it 6056 src/xdisp.c if (it && it->bidi_p) it 6058 src/xdisp.c it->position = *position; it 6059 src/xdisp.c iterate_out_of_display_property (it); it 6060 src/xdisp.c *position = it->position; it 6065 src/xdisp.c if (it) it 6067 src/xdisp.c int face_id = lookup_basic_face (it->w, it->f, DEFAULT_FACE_ID); it 6078 src/xdisp.c face_id2 = lookup_derived_face (it->w, it->f, face_name, it 6087 src/xdisp.c push_it (it, position); it 6089 src/xdisp.c it->area = TEXT_AREA; it 6090 src/xdisp.c it->what = IT_IMAGE; it 6091 src/xdisp.c it->image_id = -1; /* no image */ it 6092 src/xdisp.c it->position = start_pos; it 6093 src/xdisp.c it->object = NILP (object) ? it->w->contents : object; it 6094 src/xdisp.c it->method = GET_FROM_IMAGE; it 6095 src/xdisp.c it->from_overlay = Qnil; it 6096 src/xdisp.c it->face_id = face_id; it 6097 src/xdisp.c it->from_disp_prop_p = true; it 6106 src/xdisp.c it->left_user_fringe_bitmap = fringe_bitmap; it 6107 src/xdisp.c it->left_user_fringe_face_id = face_id; it 6111 src/xdisp.c it->right_user_fringe_bitmap = fringe_bitmap; it 6112 src/xdisp.c it->right_user_fringe_face_id = face_id; it 6156 src/xdisp.c || ((it ? FRAME_WINDOW_P (it->f) : frame_window_p) it 6160 src/xdisp.c || ((it ? FRAME_WINDOW_P (it->f) : frame_window_p) it 6167 src/xdisp.c if (!it) it 6179 src/xdisp.c push_it (it, position); it 6180 src/xdisp.c it->from_overlay = overlay; it 6181 src/xdisp.c it->from_disp_prop_p = true; it 6184 src/xdisp.c it->area = TEXT_AREA; it 6186 src/xdisp.c it->area = LEFT_MARGIN_AREA; it 6188 src/xdisp.c it->area = RIGHT_MARGIN_AREA; it 6192 src/xdisp.c it->string = value; it 6193 src/xdisp.c it->multibyte_p = STRING_MULTIBYTE (it->string); it 6194 src/xdisp.c it->current.overlay_string_index = -1; it 6195 src/xdisp.c IT_STRING_CHARPOS (*it) = IT_STRING_BYTEPOS (*it) = 0; it 6196 src/xdisp.c it->end_charpos = it->string_nchars = SCHARS (it->string); it 6197 src/xdisp.c it->method = GET_FROM_STRING; it 6198 src/xdisp.c it->stop_charpos = 0; it 6199 src/xdisp.c it->prev_stop = 0; it 6200 src/xdisp.c it->base_level_stop = 0; it 6201 src/xdisp.c it->string_from_display_prop_p = true; it 6202 src/xdisp.c it->cmp_it.id = -1; it 6212 src/xdisp.c if (it->bidi_p && it->bidi_it.paragraph_dir == R2L) it 6213 src/xdisp.c it->paragraph_embedding = it->bidi_it.paragraph_dir; it 6215 src/xdisp.c it->paragraph_embedding = L2R; it 6218 src/xdisp.c if (it->bidi_p) it 6220 src/xdisp.c it->bidi_it.string.lstring = it->string; it 6221 src/xdisp.c it->bidi_it.string.s = NULL; it 6222 src/xdisp.c it->bidi_it.string.schars = it->end_charpos; it 6223 src/xdisp.c it->bidi_it.string.bufpos = bufpos; it 6224 src/xdisp.c it->bidi_it.string.from_disp_str = true; it 6225 src/xdisp.c it->bidi_it.string.unibyte = !it->multibyte_p; it 6226 src/xdisp.c it->bidi_it.w = it->w; it 6227 src/xdisp.c bidi_init_it (0, 0, FRAME_WINDOW_P (it->f), &it->bidi_it); it 6232 src/xdisp.c it->method = GET_FROM_STRETCH; it 6233 src/xdisp.c it->object = value; it 6234 src/xdisp.c *position = it->position = start_pos; it 6235 src/xdisp.c retval = 1 + (it->area == TEXT_AREA); it 6239 src/xdisp.c it->what = IT_XWIDGET; it 6240 src/xdisp.c it->method = GET_FROM_XWIDGET; it 6241 src/xdisp.c it->position = start_pos; it 6242 src/xdisp.c it->object = NILP (object) ? it->w->contents : object; it 6244 src/xdisp.c it->xwidget = lookup_xwidget (value); it 6251 src/xdisp.c it->what = IT_IMAGE; it 6256 src/xdisp.c it->image_id = lookup_image (it->f, value, it->face_id); it 6258 src/xdisp.c it->position = start_pos; it 6259 src/xdisp.c it->object = NILP (object) ? it->w->contents : object; it 6260 src/xdisp.c it->method = GET_FROM_IMAGE; it 6463 src/xdisp.c handle_composition_prop (struct it *it) it 6468 src/xdisp.c if (STRINGP (it->string)) it 6472 src/xdisp.c pos = IT_STRING_CHARPOS (*it); it 6473 src/xdisp.c pos_byte = IT_STRING_BYTEPOS (*it); it 6474 src/xdisp.c string = it->string; it 6477 src/xdisp.c it->c = STRING_CHAR (s); it 6479 src/xdisp.c it->c = *s; it 6483 src/xdisp.c pos = IT_CHARPOS (*it); it 6484 src/xdisp.c pos_byte = IT_BYTEPOS (*it); it 6486 src/xdisp.c it->c = FETCH_CHAR (pos_byte); it 6494 src/xdisp.c && (STRINGP (it->string) || (PT <= start || PT >= end))) it 6503 src/xdisp.c if (STRINGP (it->string)) it 6504 src/xdisp.c pos_byte = string_char_to_byte (it->string, start); it 6508 src/xdisp.c it->cmp_it.id = get_composition_id (start, pos_byte, end - start, it 6511 src/xdisp.c if (it->cmp_it.id >= 0) it 6513 src/xdisp.c it->cmp_it.ch = -1; it 6514 src/xdisp.c it->cmp_it.nchars = COMPOSITION_LENGTH (prop); it 6515 src/xdisp.c it->cmp_it.nglyphs = -1; it 6544 src/xdisp.c handle_overlay_change (struct it *it) it 6546 src/xdisp.c if (!STRINGP (it->string) && get_overlay_strings (it, 0)) it 6561 src/xdisp.c next_overlay_string (struct it *it) it 6563 src/xdisp.c ++it->current.overlay_string_index; it 6564 src/xdisp.c if (it->current.overlay_string_index == it->n_overlay_strings) it 6570 src/xdisp.c it->ellipsis_p = it->stack[it->sp - 1].display_ellipsis_p; it 6571 src/xdisp.c pop_it (it); it 6572 src/xdisp.c eassert (it->sp > 0 it 6573 src/xdisp.c || (NILP (it->string) it 6574 src/xdisp.c && it->method == GET_FROM_BUFFER it 6575 src/xdisp.c && it->stop_charpos >= BEGV it 6576 src/xdisp.c && it->stop_charpos <= it->end_charpos)); it 6577 src/xdisp.c it->current.overlay_string_index = -1; it 6578 src/xdisp.c it->n_overlay_strings = 0; it 6583 src/xdisp.c if (it->sp > 0 && STRINGP (it->string) && !SCHARS (it->string)) it 6584 src/xdisp.c pop_it (it); it 6594 src/xdisp.c if (it->overlay_strings_charpos == IT_CHARPOS (*it)) it 6595 src/xdisp.c it->ignore_overlay_strings_at_pos_p = true; it 6600 src/xdisp.c if (NILP (it->string) it 6601 src/xdisp.c && IT_CHARPOS (*it) >= it->end_charpos it 6602 src/xdisp.c && it->overlay_strings_charpos >= it->end_charpos) it 6603 src/xdisp.c it->overlay_strings_at_end_processed_p = true; it 6611 src/xdisp.c it->overlay_strings_charpos = -1; it 6621 src/xdisp.c int i = it->current.overlay_string_index % OVERLAY_STRING_CHUNK_SIZE; it 6623 src/xdisp.c if (it->current.overlay_string_index && i == 0) it 6624 src/xdisp.c load_overlay_strings (it, it->overlay_strings_charpos); it 6628 src/xdisp.c it->string = it->overlay_strings[i]; it 6629 src/xdisp.c it->multibyte_p = STRING_MULTIBYTE (it->string); it 6630 src/xdisp.c SET_TEXT_POS (it->current.string_pos, 0, 0); it 6631 src/xdisp.c it->method = GET_FROM_STRING; it 6632 src/xdisp.c it->stop_charpos = 0; it 6633 src/xdisp.c it->end_charpos = SCHARS (it->string); it 6634 src/xdisp.c if (it->cmp_it.stop_pos >= 0) it 6635 src/xdisp.c it->cmp_it.stop_pos = 0; it 6636 src/xdisp.c it->prev_stop = 0; it 6637 src/xdisp.c it->base_level_stop = 0; it 6640 src/xdisp.c if (it->bidi_p) it 6642 src/xdisp.c it->bidi_it.string.lstring = it->string; it 6643 src/xdisp.c it->bidi_it.string.s = NULL; it 6644 src/xdisp.c it->bidi_it.string.schars = SCHARS (it->string); it 6645 src/xdisp.c it->bidi_it.string.bufpos = it->overlay_strings_charpos; it 6646 src/xdisp.c it->bidi_it.string.from_disp_str = it->string_from_display_prop_p; it 6647 src/xdisp.c it->bidi_it.string.unibyte = !it->multibyte_p; it 6648 src/xdisp.c it->bidi_it.w = it->w; it 6649 src/xdisp.c bidi_init_it (0, 0, FRAME_WINDOW_P (it->f), &it->bidi_it); it 6653 src/xdisp.c CHECK_IT (it); it 6730 src/xdisp.c load_overlay_strings (struct it *it, ptrdiff_t charpos) it 6741 src/xdisp.c charpos = IT_CHARPOS (*it); it 6785 src/xdisp.c if (WINDOWP (window) && XWINDOW (window) != it->w) it 6815 src/xdisp.c it->n_overlay_strings = n; it 6816 src/xdisp.c it->overlay_strings_charpos = charpos; it 6821 src/xdisp.c ptrdiff_t j = it->current.overlay_string_index; it 6824 src/xdisp.c it->overlay_strings[i] = entries[j].string; it 6825 src/xdisp.c it->string_overlays[i] = entries[j].overlay; it 6828 src/xdisp.c CHECK_IT (it); it 6838 src/xdisp.c get_overlay_strings_1 (struct it *it, ptrdiff_t charpos, bool compute_stop_p) it 6847 src/xdisp.c it->current.overlay_string_index = 0; it 6848 src/xdisp.c load_overlay_strings (it, charpos); it 6853 src/xdisp.c if (it->n_overlay_strings) it 6859 src/xdisp.c compute_stop_pos (it); it 6860 src/xdisp.c eassert (it->face_id >= 0); it 6864 src/xdisp.c eassert (!compute_stop_p || it->sp == 0); it 6874 src/xdisp.c if (!(!it->bidi_p it 6875 src/xdisp.c && STRINGP (it->string) && !SCHARS (it->string))) it 6876 src/xdisp.c push_it (it, NULL); it 6880 src/xdisp.c IT_STRING_CHARPOS (*it) = IT_STRING_BYTEPOS (*it) = 0; it 6881 src/xdisp.c it->string = it->overlay_strings[0]; it 6882 src/xdisp.c it->from_overlay = Qnil; it 6883 src/xdisp.c it->stop_charpos = 0; it 6884 src/xdisp.c eassert (STRINGP (it->string)); it 6885 src/xdisp.c it->end_charpos = SCHARS (it->string); it 6886 src/xdisp.c it->prev_stop = 0; it 6887 src/xdisp.c it->base_level_stop = 0; it 6888 src/xdisp.c it->multibyte_p = STRING_MULTIBYTE (it->string); it 6889 src/xdisp.c it->method = GET_FROM_STRING; it 6890 src/xdisp.c it->from_disp_prop_p = 0; it 6891 src/xdisp.c it->cmp_it.id = -1; it 6895 src/xdisp.c if (it->bidi_p && it->bidi_it.paragraph_dir == R2L) it 6896 src/xdisp.c it->paragraph_embedding = it->bidi_it.paragraph_dir; it 6898 src/xdisp.c it->paragraph_embedding = L2R; it 6901 src/xdisp.c if (it->bidi_p) it 6903 src/xdisp.c ptrdiff_t pos = (charpos > 0 ? charpos : IT_CHARPOS (*it)); it 6905 src/xdisp.c it->bidi_it.string.lstring = it->string; it 6906 src/xdisp.c it->bidi_it.string.s = NULL; it 6907 src/xdisp.c it->bidi_it.string.schars = SCHARS (it->string); it 6908 src/xdisp.c it->bidi_it.string.bufpos = pos; it 6909 src/xdisp.c it->bidi_it.string.from_disp_str = it->string_from_display_prop_p; it 6910 src/xdisp.c it->bidi_it.string.unibyte = !it->multibyte_p; it 6911 src/xdisp.c it->bidi_it.w = it->w; it 6912 src/xdisp.c bidi_init_it (0, 0, FRAME_WINDOW_P (it->f), &it->bidi_it); it 6917 src/xdisp.c it->current.overlay_string_index = -1; it 6922 src/xdisp.c get_overlay_strings (struct it *it, ptrdiff_t charpos) it 6924 src/xdisp.c it->string = Qnil; it 6925 src/xdisp.c it->method = GET_FROM_BUFFER; it 6927 src/xdisp.c get_overlay_strings_1 (it, charpos, true); it 6929 src/xdisp.c CHECK_IT (it); it 6932 src/xdisp.c return STRINGP (it->string); it 6948 src/xdisp.c push_it (struct it *it, struct text_pos *position) it 6952 src/xdisp.c eassert (it->sp < IT_STACK_SIZE); it 6953 src/xdisp.c p = it->stack + it->sp; it 6955 src/xdisp.c p->stop_charpos = it->stop_charpos; it 6956 src/xdisp.c p->prev_stop = it->prev_stop; it 6957 src/xdisp.c p->base_level_stop = it->base_level_stop; it 6958 src/xdisp.c p->cmp_it = it->cmp_it; it 6959 src/xdisp.c eassert (it->face_id >= 0); it 6960 src/xdisp.c p->face_id = it->face_id; it 6961 src/xdisp.c p->string = it->string; it 6962 src/xdisp.c p->method = it->method; it 6963 src/xdisp.c p->from_overlay = it->from_overlay; it 6967 src/xdisp.c p->u.image.object = it->object; it 6968 src/xdisp.c p->u.image.image_id = it->image_id; it 6969 src/xdisp.c p->u.image.slice = it->slice; it 6972 src/xdisp.c p->u.stretch.object = it->object; it 6975 src/xdisp.c p->u.xwidget.object = it->object; it 6985 src/xdisp.c p->position = position ? *position : it->position; it 6986 src/xdisp.c p->current = it->current; it 6987 src/xdisp.c p->end_charpos = it->end_charpos; it 6988 src/xdisp.c p->string_nchars = it->string_nchars; it 6989 src/xdisp.c p->area = it->area; it 6990 src/xdisp.c p->multibyte_p = it->multibyte_p; it 6991 src/xdisp.c p->avoid_cursor_p = it->avoid_cursor_p; it 6992 src/xdisp.c p->space_width = it->space_width; it 6993 src/xdisp.c p->font_height = it->font_height; it 6994 src/xdisp.c p->voffset = it->voffset; it 6995 src/xdisp.c p->string_from_display_prop_p = it->string_from_display_prop_p; it 6996 src/xdisp.c p->string_from_prefix_prop_p = it->string_from_prefix_prop_p; it 6998 src/xdisp.c p->line_wrap = it->line_wrap; it 6999 src/xdisp.c p->bidi_p = it->bidi_p; it 7000 src/xdisp.c p->paragraph_embedding = it->paragraph_embedding; it 7001 src/xdisp.c p->from_disp_prop_p = it->from_disp_prop_p; it 7002 src/xdisp.c ++it->sp; it 7005 src/xdisp.c if (it->bidi_p) it 7006 src/xdisp.c bidi_push_it (&it->bidi_it); it 7010 src/xdisp.c iterate_out_of_display_property (struct it *it) it 7012 src/xdisp.c bool buffer_p = !STRINGP (it->string); it 7013 src/xdisp.c ptrdiff_t eob = (buffer_p ? ZV : it->end_charpos); it 7016 src/xdisp.c eassert (eob >= CHARPOS (it->position) && CHARPOS (it->position) >= bob); it 7021 src/xdisp.c if (it->bidi_it.first_elt && it->bidi_it.charpos < eob) it 7022 src/xdisp.c bidi_paragraph_init (it->paragraph_embedding, &it->bidi_it, true); it 7024 src/xdisp.c while (it->bidi_it.charpos >= bob it 7025 src/xdisp.c && it->prev_stop <= it->bidi_it.charpos it 7026 src/xdisp.c && it->bidi_it.charpos < CHARPOS (it->position) it 7027 src/xdisp.c && it->bidi_it.charpos < eob) it 7028 src/xdisp.c bidi_move_to_visually_next (&it->bidi_it); it 7031 src/xdisp.c if (it->bidi_it.charpos > CHARPOS (it->position)) it 7032 src/xdisp.c it->prev_stop = CHARPOS (it->position); it 7035 src/xdisp.c if (it->bidi_it.charpos != CHARPOS (it->position)) it 7036 src/xdisp.c SET_TEXT_POS (it->position, it->bidi_it.charpos, it->bidi_it.bytepos); it 7038 src/xdisp.c it->current.pos = it->position; it 7040 src/xdisp.c it->current.string_pos = it->position; it 7048 src/xdisp.c restore_face_box_flags (struct it *it, int prev_face_id) it 7050 src/xdisp.c struct face *face = FACE_FROM_ID_OR_NULL (it->f, it->face_id); it 7054 src/xdisp.c struct face *prev_face = FACE_FROM_ID_OR_NULL (it->f, prev_face_id); it 7056 src/xdisp.c if (!(it->start_of_box_run_p && prev_face && prev_face->box)) it 7057 src/xdisp.c it->start_of_box_run_p = (face->box != FACE_NO_BOX it 7060 src/xdisp.c it->face_box_p = face->box != FACE_NO_BOX; it 7071 src/xdisp.c pop_it (struct it *it) it 7074 src/xdisp.c bool from_display_prop = it->from_disp_prop_p; it 7075 src/xdisp.c ptrdiff_t prev_pos = IT_CHARPOS (*it); it 7076 src/xdisp.c int prev_face_id = it->face_id; it 7078 src/xdisp.c eassert (it->sp > 0); it 7079 src/xdisp.c --it->sp; it 7080 src/xdisp.c p = it->stack + it->sp; it 7081 src/xdisp.c it->stop_charpos = p->stop_charpos; it 7082 src/xdisp.c it->prev_stop = p->prev_stop; it 7083 src/xdisp.c it->base_level_stop = p->base_level_stop; it 7084 src/xdisp.c it->cmp_it = p->cmp_it; it 7085 src/xdisp.c it->face_id = p->face_id; it 7086 src/xdisp.c it->current = p->current; it 7087 src/xdisp.c it->position = p->position; it 7088 src/xdisp.c it->string = p->string; it 7089 src/xdisp.c it->from_overlay = p->from_overlay; it 7090 src/xdisp.c if (NILP (it->string)) it 7091 src/xdisp.c SET_TEXT_POS (it->current.string_pos, -1, -1); it 7092 src/xdisp.c it->method = p->method; it 7093 src/xdisp.c switch (it->method) it 7096 src/xdisp.c it->image_id = p->u.image.image_id; it 7097 src/xdisp.c it->object = p->u.image.object; it 7098 src/xdisp.c it->slice = p->u.image.slice; it 7101 src/xdisp.c it->object = p->u.xwidget.object; it 7104 src/xdisp.c it->object = p->u.stretch.object; it 7108 src/xdisp.c restore_face_box_flags (it, prev_face_id); it 7109 src/xdisp.c it->object = it->w->contents; it 7114 src/xdisp.c restore_face_box_flags (it, prev_face_id); it 7115 src/xdisp.c it->object = it->string; it 7119 src/xdisp.c if (it->s) it 7120 src/xdisp.c it->method = GET_FROM_C_STRING; it 7121 src/xdisp.c else if (STRINGP (it->string)) it 7122 src/xdisp.c it->method = GET_FROM_STRING; it 7125 src/xdisp.c it->method = GET_FROM_BUFFER; it 7126 src/xdisp.c it->object = it->w->contents; it 7134 src/xdisp.c it->end_charpos = p->end_charpos; it 7135 src/xdisp.c it->string_nchars = p->string_nchars; it 7136 src/xdisp.c it->area = p->area; it 7137 src/xdisp.c it->multibyte_p = p->multibyte_p; it 7138 src/xdisp.c it->avoid_cursor_p = p->avoid_cursor_p; it 7139 src/xdisp.c it->space_width = p->space_width; it 7140 src/xdisp.c it->font_height = p->font_height; it 7141 src/xdisp.c it->voffset = p->voffset; it 7142 src/xdisp.c it->string_from_display_prop_p = p->string_from_display_prop_p; it 7143 src/xdisp.c it->string_from_prefix_prop_p = p->string_from_prefix_prop_p; it 7144 src/xdisp.c it->line_wrap = p->line_wrap; it 7145 src/xdisp.c it->bidi_p = p->bidi_p; it 7146 src/xdisp.c it->paragraph_embedding = p->paragraph_embedding; it 7147 src/xdisp.c it->from_disp_prop_p = p->from_disp_prop_p; it 7148 src/xdisp.c if (it->bidi_p) it 7150 src/xdisp.c bidi_pop_it (&it->bidi_it); it 7159 src/xdisp.c && (it->method == GET_FROM_BUFFER || it->method == GET_FROM_STRING)) it 7160 src/xdisp.c iterate_out_of_display_property (it); it 7162 src/xdisp.c eassert ((BUFFERP (it->object) it 7163 src/xdisp.c && IT_CHARPOS (*it) == it->bidi_it.charpos it 7164 src/xdisp.c && IT_BYTEPOS (*it) == it->bidi_it.bytepos) it 7165 src/xdisp.c || (STRINGP (it->object) it 7166 src/xdisp.c && IT_STRING_CHARPOS (*it) == it->bidi_it.charpos it 7167 src/xdisp.c && IT_STRING_BYTEPOS (*it) == it->bidi_it.bytepos) it 7168 src/xdisp.c || (CONSP (it->object) && it->method == GET_FROM_STRETCH) it 7175 src/xdisp.c || it->sp > 0); it 7180 src/xdisp.c if (from_display_prop && it->sp == 0 && CHARPOS (it->position) != prev_pos) it 7181 src/xdisp.c it->ignore_overlay_strings_at_pos_p = false; it 7193 src/xdisp.c back_to_previous_line_start (struct it *it) it 7195 src/xdisp.c ptrdiff_t cp = IT_CHARPOS (*it), bp = IT_BYTEPOS (*it); it 7198 src/xdisp.c SET_WITH_NARROWED_BEGV (it, IT_CHARPOS (*it), it 7199 src/xdisp.c find_newline_no_quit (cp, bp, -1, &IT_BYTEPOS (*it)), it 7200 src/xdisp.c get_small_narrowing_begv (it->w, IT_CHARPOS (*it))); it 7282 src/xdisp.c forward_to_next_line_start (struct it *it, bool *skipped_p, it 7292 src/xdisp.c if (it->what == IT_CHARACTER it 7293 src/xdisp.c && it->c == '\n' it 7294 src/xdisp.c && CHARPOS (it->position) == IT_CHARPOS (*it)) it 7296 src/xdisp.c if (it->bidi_p && bidi_it_prev) it 7297 src/xdisp.c *bidi_it_prev = it->bidi_it; it 7298 src/xdisp.c set_iterator_to_next (it, false); it 7299 src/xdisp.c it->c = 0; it 7307 src/xdisp.c old_selective = it->selective; it 7308 src/xdisp.c it->selective = 0; it 7315 src/xdisp.c n += !STRINGP (it->string)) it 7317 src/xdisp.c if (!get_next_display_element (it)) it 7319 src/xdisp.c newline_found_p = it->what == IT_CHARACTER && it->c == '\n'; it 7320 src/xdisp.c if (newline_found_p && it->bidi_p && bidi_it_prev) it 7321 src/xdisp.c *bidi_it_prev = it->bidi_it; it 7322 src/xdisp.c set_iterator_to_next (it, false); it 7329 src/xdisp.c ptrdiff_t bytepos, start = IT_CHARPOS (*it); it 7330 src/xdisp.c ptrdiff_t limit = find_newline_no_quit (start, IT_BYTEPOS (*it), it 7332 src/xdisp.c eassert (!STRINGP (it->string)); it 7337 src/xdisp.c bool no_strings_with_newlines = it->stop_charpos >= limit; it 7342 src/xdisp.c && it->line_wrap == TRUNCATE)) it 7361 src/xdisp.c !strings_with_newlines (start, limit, it->w); it 7370 src/xdisp.c if (!it->bidi_p || !bidi_it_prev) it 7373 src/xdisp.c IT_CHARPOS (*it) = limit; it 7374 src/xdisp.c IT_BYTEPOS (*it) = bytepos; it 7386 src/xdisp.c if (it->bidi_it.disp_pos < limit) it 7388 src/xdisp.c it->bidi_it.disp_pos = limit; it 7389 src/xdisp.c it->bidi_it.disp_prop = 0; it 7392 src/xdisp.c bprev = it->bidi_it; it 7393 src/xdisp.c bidi_move_to_visually_next (&it->bidi_it); it 7394 src/xdisp.c } while (it->bidi_it.charpos != limit); it 7395 src/xdisp.c IT_CHARPOS (*it) = limit; it 7396 src/xdisp.c IT_BYTEPOS (*it) = it->bidi_it.bytepos; it 7407 src/xdisp.c if (!get_next_display_element (it)) it 7409 src/xdisp.c newline_found_p = ITERATOR_AT_END_OF_LINE_P (it); it 7410 src/xdisp.c if (newline_found_p && it->bidi_p && bidi_it_prev) it 7411 src/xdisp.c *bidi_it_prev = it->bidi_it; it 7412 src/xdisp.c set_iterator_to_next (it, false); it 7417 src/xdisp.c it->selective = old_selective; it 7428 src/xdisp.c back_to_previous_visible_line_start (struct it *it) it 7430 src/xdisp.c while (IT_CHARPOS (*it) > BEGV) it 7432 src/xdisp.c back_to_previous_line_start (it); it 7434 src/xdisp.c if (IT_CHARPOS (*it) <= BEGV) it 7439 src/xdisp.c if (it->selective > 0 it 7440 src/xdisp.c && indented_beyond_p (IT_CHARPOS (*it), IT_BYTEPOS (*it), it 7441 src/xdisp.c it->selective)) it 7447 src/xdisp.c prop = Fget_char_property (make_fixnum (IT_CHARPOS (*it) - 1), it 7448 src/xdisp.c Qinvisible, it->window); it 7453 src/xdisp.c if (IT_CHARPOS (*it) <= BEGV) it 7457 src/xdisp.c struct it it2; it 7463 src/xdisp.c SAVE_IT (it2, *it, it2data); it 7466 src/xdisp.c if (find_composition (IT_CHARPOS (*it), -1, &beg, &end, &val, Qnil) it 7467 src/xdisp.c && beg < IT_CHARPOS (*it)) it 7485 src/xdisp.c RESTORE_IT (it, it, it2data); it 7490 src/xdisp.c RESTORE_IT (it, it, it2data); it 7496 src/xdisp.c IT_CHARPOS (*it) = beg; it 7497 src/xdisp.c IT_BYTEPOS (*it) = buf_charpos_to_bytepos (current_buffer, beg); it 7501 src/xdisp.c it->continuation_lines_width = 0; it 7503 src/xdisp.c eassert (IT_CHARPOS (*it) >= BEGV); it 7504 src/xdisp.c eassert (it->medium_narrowing_begv > 0 /* long-line optimizations: all bets off */ it 7505 src/xdisp.c || IT_CHARPOS (*it) == BEGV it 7506 src/xdisp.c || FETCH_BYTE (IT_BYTEPOS (*it) - 1) == '\n'); it 7507 src/xdisp.c CHECK_IT (it); it 7517 src/xdisp.c reseat_at_previous_visible_line_start (struct it *it) it 7519 src/xdisp.c back_to_previous_visible_line_start (it); it 7520 src/xdisp.c reseat (it, it->current.pos, true); it 7521 src/xdisp.c CHECK_IT (it); it 7533 src/xdisp.c reseat_at_next_visible_line_start (struct it *it, bool on_newline_p) it 7538 src/xdisp.c = forward_to_next_line_start (it, &skipped_p, it 7543 src/xdisp.c if (it->selective > 0) it 7544 src/xdisp.c while (IT_CHARPOS (*it) < ZV it 7545 src/xdisp.c && indented_beyond_p (IT_CHARPOS (*it), IT_BYTEPOS (*it), it 7546 src/xdisp.c it->selective)) it 7548 src/xdisp.c eassert (IT_BYTEPOS (*it) == BEGV it 7549 src/xdisp.c || FETCH_BYTE (IT_BYTEPOS (*it) - 1) == '\n'); it 7551 src/xdisp.c forward_to_next_line_start (it, &skipped_p, it 7558 src/xdisp.c if (STRINGP (it->string)) it 7560 src/xdisp.c if (IT_STRING_CHARPOS (*it) > 0) it 7562 src/xdisp.c if (!it->bidi_p) it 7564 src/xdisp.c --IT_STRING_CHARPOS (*it); it 7565 src/xdisp.c --IT_STRING_BYTEPOS (*it); it 7572 src/xdisp.c it->bidi_it = bidi_it_prev; it 7573 src/xdisp.c IT_STRING_CHARPOS (*it) = it->bidi_it.charpos; it 7574 src/xdisp.c IT_STRING_BYTEPOS (*it) = it->bidi_it.bytepos; it 7578 src/xdisp.c else if (IT_CHARPOS (*it) > BEGV) it 7580 src/xdisp.c if (!it->bidi_p) it 7582 src/xdisp.c --IT_CHARPOS (*it); it 7583 src/xdisp.c --IT_BYTEPOS (*it); it 7589 src/xdisp.c it->bidi_it = bidi_it_prev; it 7590 src/xdisp.c IT_CHARPOS (*it) = it->bidi_it.charpos; it 7591 src/xdisp.c IT_BYTEPOS (*it) = it->bidi_it.bytepos; it 7593 src/xdisp.c reseat (it, it->current.pos, false); it 7597 src/xdisp.c reseat (it, it->current.pos, false); it 7599 src/xdisp.c CHECK_IT (it); it 7614 src/xdisp.c reseat (struct it *it, struct text_pos pos, bool force_p) it 7616 src/xdisp.c ptrdiff_t original_pos = IT_CHARPOS (*it); it 7618 src/xdisp.c reseat_1 (it, pos, false); it 7622 src/xdisp.c if (!it->medium_narrowing_begv) it 7624 src/xdisp.c it->medium_narrowing_begv it 7625 src/xdisp.c = get_medium_narrowing_begv (it->w, window_point (it->w)); it 7626 src/xdisp.c it->medium_narrowing_zv it 7627 src/xdisp.c = get_medium_narrowing_zv (it->w, window_point (it->w)); it 7628 src/xdisp.c it->large_narrowing_begv it 7629 src/xdisp.c = get_large_narrowing_begv (window_point (it->w)); it 7630 src/xdisp.c it->large_narrowing_zv it 7631 src/xdisp.c = get_large_narrowing_zv (window_point (it->w)); it 7633 src/xdisp.c else if ((pos.charpos < it->medium_narrowing_begv it 7634 src/xdisp.c || pos.charpos > it->medium_narrowing_zv) it 7635 src/xdisp.c && (!redisplaying_p || it->line_wrap == TRUNCATE)) it 7637 src/xdisp.c it->medium_narrowing_begv it 7638 src/xdisp.c = get_medium_narrowing_begv (it->w, pos.charpos); it 7639 src/xdisp.c it->medium_narrowing_zv it 7640 src/xdisp.c = get_medium_narrowing_zv (it->w, pos.charpos); it 7641 src/xdisp.c it->large_narrowing_begv it 7642 src/xdisp.c = get_large_narrowing_begv (window_point (it->w)); it 7643 src/xdisp.c it->large_narrowing_zv it 7644 src/xdisp.c = get_large_narrowing_zv (window_point (it->w)); it 7651 src/xdisp.c || CHARPOS (pos) > it->stop_charpos it 7654 src/xdisp.c if (it->bidi_p) it 7666 src/xdisp.c if (CHARPOS (pos) != it->prev_stop) it 7667 src/xdisp.c it->prev_stop = CHARPOS (pos); it 7668 src/xdisp.c if (CHARPOS (pos) < it->base_level_stop) it 7669 src/xdisp.c it->base_level_stop = 0; /* meaning it's unknown */ it 7670 src/xdisp.c handle_stop (it); it 7674 src/xdisp.c handle_stop (it); it 7675 src/xdisp.c it->prev_stop = it->base_level_stop = 0; it 7680 src/xdisp.c CHECK_IT (it); it 7688 src/xdisp.c reseat_1 (struct it *it, struct text_pos pos, bool set_stop_p) it 7691 src/xdisp.c eassert (it->s == NULL); it 7696 src/xdisp.c it->current.pos = it->position = pos; it 7697 src/xdisp.c it->end_charpos = ZV; it 7698 src/xdisp.c it->dpvec = NULL; it 7699 src/xdisp.c it->current.dpvec_index = -1; it 7700 src/xdisp.c it->current.overlay_string_index = -1; it 7701 src/xdisp.c IT_STRING_CHARPOS (*it) = -1; it 7702 src/xdisp.c IT_STRING_BYTEPOS (*it) = -1; it 7703 src/xdisp.c it->string = Qnil; it 7704 src/xdisp.c it->method = GET_FROM_BUFFER; it 7705 src/xdisp.c it->object = it->w->contents; it 7706 src/xdisp.c it->area = TEXT_AREA; it 7707 src/xdisp.c it->multibyte_p = !NILP (BVAR (current_buffer, enable_multibyte_characters)); it 7708 src/xdisp.c it->sp = 0; it 7709 src/xdisp.c it->string_from_display_prop_p = false; it 7710 src/xdisp.c it->string_from_prefix_prop_p = false; it 7712 src/xdisp.c it->from_disp_prop_p = false; it 7713 src/xdisp.c it->face_before_selective_p = false; it 7714 src/xdisp.c if (it->bidi_p) it 7716 src/xdisp.c bidi_init_it (IT_CHARPOS (*it), IT_BYTEPOS (*it), FRAME_WINDOW_P (it->f), it 7717 src/xdisp.c &it->bidi_it); it 7719 src/xdisp.c it->bidi_it.paragraph_dir = NEUTRAL_DIR; it 7720 src/xdisp.c it->bidi_it.string.s = NULL; it 7721 src/xdisp.c it->bidi_it.string.lstring = Qnil; it 7722 src/xdisp.c it->bidi_it.string.bufpos = 0; it 7723 src/xdisp.c it->bidi_it.string.from_disp_str = false; it 7724 src/xdisp.c it->bidi_it.string.unibyte = false; it 7725 src/xdisp.c it->bidi_it.w = it->w; it 7730 src/xdisp.c it->stop_charpos = CHARPOS (pos); it 7731 src/xdisp.c it->base_level_stop = CHARPOS (pos); it 7734 src/xdisp.c it->cmp_it.id = -1; it 7735 src/xdisp.c it->min_width_property = Qnil; it 7758 src/xdisp.c reseat_to_string (struct it *it, const char *s, Lisp_Object string, it 7763 src/xdisp.c it->stop_charpos = -1; it 7766 src/xdisp.c memset (&it->current, 0, sizeof it->current); it 7767 src/xdisp.c it->current.overlay_string_index = -1; it 7768 src/xdisp.c it->current.dpvec_index = -1; it 7774 src/xdisp.c it->multibyte_p = multibyte > 0; it 7780 src/xdisp.c it->bidi_p = it 7787 src/xdisp.c it->string = string; it 7788 src/xdisp.c it->s = NULL; it 7789 src/xdisp.c it->end_charpos = it->string_nchars = SCHARS (string); it 7790 src/xdisp.c it->method = GET_FROM_STRING; it 7791 src/xdisp.c it->current.string_pos = string_pos (charpos, string); it 7793 src/xdisp.c if (it->bidi_p) it 7795 src/xdisp.c it->bidi_it.string.lstring = string; it 7796 src/xdisp.c it->bidi_it.string.s = NULL; it 7797 src/xdisp.c it->bidi_it.string.schars = it->end_charpos; it 7798 src/xdisp.c it->bidi_it.string.bufpos = 0; it 7799 src/xdisp.c it->bidi_it.string.from_disp_str = false; it 7800 src/xdisp.c it->bidi_it.string.unibyte = !it->multibyte_p; it 7801 src/xdisp.c it->bidi_it.w = it->w; it 7802 src/xdisp.c bidi_init_it (charpos, IT_STRING_BYTEPOS (*it), it 7803 src/xdisp.c FRAME_WINDOW_P (it->f), &it->bidi_it); it 7808 src/xdisp.c it->s = (const unsigned char *) s; it 7809 src/xdisp.c it->string = Qnil; it 7813 src/xdisp.c IT_STRING_CHARPOS (*it) = IT_STRING_BYTEPOS (*it) = -1; it 7814 src/xdisp.c if (it->multibyte_p) it 7816 src/xdisp.c it->current.pos = c_string_pos (charpos, s, true); it 7817 src/xdisp.c it->end_charpos = it->string_nchars = number_of_chars (s, true); it 7821 src/xdisp.c IT_CHARPOS (*it) = IT_BYTEPOS (*it) = charpos; it 7822 src/xdisp.c it->end_charpos = it->string_nchars = strlen (s); it 7825 src/xdisp.c if (it->bidi_p) it 7827 src/xdisp.c it->bidi_it.string.lstring = Qnil; it 7828 src/xdisp.c it->bidi_it.string.s = (const unsigned char *) s; it 7829 src/xdisp.c it->bidi_it.string.schars = it->end_charpos; it 7830 src/xdisp.c it->bidi_it.string.bufpos = 0; it 7831 src/xdisp.c it->bidi_it.string.from_disp_str = false; it 7832 src/xdisp.c it->bidi_it.string.unibyte = !it->multibyte_p; it 7833 src/xdisp.c it->bidi_it.w = it->w; it 7834 src/xdisp.c bidi_init_it (charpos, IT_BYTEPOS (*it), FRAME_WINDOW_P (it->f), it 7835 src/xdisp.c &it->bidi_it); it 7837 src/xdisp.c it->method = GET_FROM_C_STRING; it 7842 src/xdisp.c if (precision > 0 && it->end_charpos - charpos > precision) it 7844 src/xdisp.c it->end_charpos = it->string_nchars = charpos + precision; it 7845 src/xdisp.c if (it->bidi_p) it 7846 src/xdisp.c it->bidi_it.string.schars = it->end_charpos; it 7858 src/xdisp.c if (field_width > it->end_charpos - charpos) it 7859 src/xdisp.c it->end_charpos = charpos + field_width; it 7863 src/xdisp.c it->dp = XCHAR_TABLE (Vstandard_display_table); it 7865 src/xdisp.c it->stop_charpos = charpos; it 7866 src/xdisp.c it->prev_stop = charpos; it 7867 src/xdisp.c it->base_level_stop = 0; it 7868 src/xdisp.c if (it->bidi_p) it 7870 src/xdisp.c it->bidi_it.first_elt = true; it 7871 src/xdisp.c it->bidi_it.paragraph_dir = NEUTRAL_DIR; it 7872 src/xdisp.c it->bidi_it.disp_pos = -1; it 7874 src/xdisp.c if (s == NULL && it->multibyte_p) it 7876 src/xdisp.c ptrdiff_t endpos = SCHARS (it->string); it 7877 src/xdisp.c if (endpos > it->end_charpos) it 7878 src/xdisp.c endpos = it->end_charpos; it 7879 src/xdisp.c composition_compute_stop_pos (&it->cmp_it, charpos, -1, endpos, it 7880 src/xdisp.c it->string); it 7882 src/xdisp.c CHECK_IT (it); it 7893 src/xdisp.c typedef bool (*next_element_function) (struct it *); it 7906 src/xdisp.c #define GET_NEXT_DISPLAY_ELEMENT(it) (*get_next_element[(it)->method]) (it) it 7938 src/xdisp.c lookup_glyphless_char_display (int c, struct it *it) it 7951 src/xdisp.c glyphless_method = FRAME_WINDOW_P (it->f) it 7973 src/xdisp.c it->glyphless_method = GLYPHLESS_DISPLAY_THIN_SPACE; it 7975 src/xdisp.c it->glyphless_method = GLYPHLESS_DISPLAY_EMPTY_BOX; it 7977 src/xdisp.c it->glyphless_method = GLYPHLESS_DISPLAY_HEX_CODE; it 7979 src/xdisp.c it->glyphless_method = GLYPHLESS_DISPLAY_ACRONYM; it 7986 src/xdisp.c it->what = IT_GLYPHLESS; it 7997 src/xdisp.c merge_escape_glyph_face (struct it *it) it 8001 src/xdisp.c if (it->f == last_escape_glyph_frame it 8002 src/xdisp.c && it->face_id == last_escape_glyph_face_id) it 8007 src/xdisp.c face_id = merge_faces (it->w, Qescape_glyph, 0, it->face_id); it 8008 src/xdisp.c last_escape_glyph_frame = it->f; it 8009 src/xdisp.c last_escape_glyph_face_id = it->face_id; it 8022 src/xdisp.c merge_glyphless_glyph_face (struct it *it) it 8026 src/xdisp.c if (it->f == last_glyphless_glyph_frame it 8027 src/xdisp.c && it->face_id == last_glyphless_glyph_face_id) it 8032 src/xdisp.c face_id = merge_faces (it->w, Qglyphless_char, 0, it->face_id); it 8033 src/xdisp.c last_glyphless_glyph_frame = it->f; it 8034 src/xdisp.c last_glyphless_glyph_face_id = it->face_id; it 8057 src/xdisp.c get_next_display_element (struct it *it) it 8066 src/xdisp.c success_p = GET_NEXT_DISPLAY_ELEMENT (it); it 8068 src/xdisp.c if (it->what == IT_CHARACTER) it 8075 src/xdisp.c if (it->bidi_p && it->bidi_it.type == STRONG_R it 8077 src/xdisp.c it->c = bidi_mirror_char (it->c); it 8087 src/xdisp.c if (success_p && it->dpvec == NULL) it 8093 src/xdisp.c int c = it->c; /* This is the character to display. */ it 8095 src/xdisp.c if (! it->multibyte_p && ! ASCII_CHAR_P (c)) it 8102 src/xdisp.c c = BYTE8_TO_CHAR (it->c); it 8105 src/xdisp.c c = BYTE8_TO_CHAR (it->c); it 8108 src/xdisp.c if (it->dp it 8109 src/xdisp.c && (dv = DISP_CHAR_VECTOR (it->dp, c), it 8119 src/xdisp.c it->dpvec_char_len = it->len; it 8120 src/xdisp.c it->dpvec = v->contents; it 8121 src/xdisp.c it->dpend = v->contents + v->header.size; it 8122 src/xdisp.c it->current.dpvec_index = 0; it 8123 src/xdisp.c it->dpvec_face_id = -1; it 8124 src/xdisp.c it->saved_face_id = it->face_id; it 8125 src/xdisp.c it->method = GET_FROM_DISPLAY_VECTOR; it 8126 src/xdisp.c it->ellipsis_p = false; it 8130 src/xdisp.c set_iterator_to_next (it, false); it 8135 src/xdisp.c if (! NILP (lookup_glyphless_char_display (c, it))) it 8137 src/xdisp.c if (it->what == IT_GLYPHLESS) it 8140 src/xdisp.c set_iterator_to_next (it, false); it 8167 src/xdisp.c ? (it->area != TEXT_AREA it 8170 src/xdisp.c && it->glyph_row it 8171 src/xdisp.c && (it->glyph_row->mode_line_p || it->avoid_cursor_p)) it 8192 src/xdisp.c if (ASCII_CHAR_P (c) && it->ctl_arrow_p) it 8198 src/xdisp.c if (it->dp it 8199 src/xdisp.c && (gc = DISP_CTRL_GLYPH (it->dp), GLYPH_CODE_P (gc))) it 8206 src/xdisp.c ? merge_faces (it->w, Qt, lface_id, it->face_id) it 8207 src/xdisp.c : merge_escape_glyph_face (it)); it 8209 src/xdisp.c XSETINT (it->ctl_chars[0], g); it 8210 src/xdisp.c XSETINT (it->ctl_chars[1], c ^ 0100); it 8221 src/xdisp.c face_id = merge_faces (it->w, Qnobreak_space, 0, it 8222 src/xdisp.c it->face_id); it 8223 src/xdisp.c XSETINT (it->ctl_chars[0], it 8224 src/xdisp.c nobreak_char_ascii_display ? ' ' : it->c); it 8235 src/xdisp.c face_id = merge_faces (it->w, Qnobreak_hyphen, 0, it 8236 src/xdisp.c it->face_id); it 8237 src/xdisp.c XSETINT (it->ctl_chars[0], it 8238 src/xdisp.c nobreak_char_ascii_display ? '-' : it->c); it 8248 src/xdisp.c if (it->dp it 8249 src/xdisp.c && (gc = DISP_ESCAPE_GLYPH (it->dp), GLYPH_CODE_P (gc))) it 8256 src/xdisp.c ? merge_faces (it->w, Qt, lface_id, it->face_id) it 8257 src/xdisp.c : merge_escape_glyph_face (it)); it 8263 src/xdisp.c XSETINT (it->ctl_chars[0], escape_glyph); it 8264 src/xdisp.c XSETINT (it->ctl_chars[1], nonascii_space_p ? ' ' : '-'); it 8281 src/xdisp.c XSETINT (it->ctl_chars[0], escape_glyph); it 8283 src/xdisp.c XSETINT (it->ctl_chars[i + 1], str[i]); it 8289 src/xdisp.c it->dpvec_char_len = it->len; it 8290 src/xdisp.c it->dpvec = it->ctl_chars; it 8291 src/xdisp.c it->dpend = it->dpvec + ctl_len; it 8292 src/xdisp.c it->current.dpvec_index = 0; it 8293 src/xdisp.c it->dpvec_face_id = face_id; it 8294 src/xdisp.c it->saved_face_id = it->face_id; it 8295 src/xdisp.c it->method = GET_FROM_DISPLAY_VECTOR; it 8296 src/xdisp.c it->ellipsis_p = false; it 8299 src/xdisp.c it->char_to_display = c; it 8303 src/xdisp.c it->char_to_display = it->c; it 8310 src/xdisp.c if ((it->what == IT_CHARACTER || it->what == IT_COMPOSITION) it 8311 src/xdisp.c && it->multibyte_p it 8313 src/xdisp.c && FRAME_WINDOW_P (it->f)) it 8315 src/xdisp.c struct face *face = FACE_FROM_ID_OR_NULL (it->f, it->face_id); it 8322 src/xdisp.c it->what = IT_GLYPHLESS; it 8323 src/xdisp.c it->glyphless_method = GLYPHLESS_DISPLAY_EMPTY_BOX; it 8325 src/xdisp.c else if (it->what == IT_COMPOSITION && it->cmp_it.ch >= 0) it 8328 src/xdisp.c Lisp_Object gstring = composition_gstring_from_id (it->cmp_it.id); it 8330 src/xdisp.c it->face_id = face_for_font (it->f, LGSTRING_FONT (gstring), face); it 8334 src/xdisp.c ptrdiff_t pos = (it->s ? -1 it 8335 src/xdisp.c : STRINGP (it->string) ? IT_STRING_CHARPOS (*it) it 8336 src/xdisp.c : IT_CHARPOS (*it)); it 8339 src/xdisp.c if (it->what == IT_CHARACTER) it 8340 src/xdisp.c c = it->char_to_display; it 8343 src/xdisp.c struct composition *cmp = composition_table[it->cmp_it.id]; it 8353 src/xdisp.c it->face_id = FACE_FOR_CHAR (it->f, face, c, pos, it->string); it 8361 src/xdisp.c if (it->face_box_p it 8362 src/xdisp.c && it->s == NULL) it 8364 src/xdisp.c if (it->method == GET_FROM_STRING && it->sp) it 8366 src/xdisp.c int face_id = underlying_face_id (it); it 8367 src/xdisp.c struct face *face = FACE_FROM_ID_OR_NULL (it->f, face_id); it 8375 src/xdisp.c int string_face_id = face_after_it_pos (it); it 8376 src/xdisp.c if (FACE_FROM_ID (it->f, string_face_id)->box == FACE_NO_BOX) it 8377 src/xdisp.c it->end_of_box_run_p = true; it 8382 src/xdisp.c else if (((IT_STRING_CHARPOS (*it) >= SCHARS (it->string) - 1) it 8386 src/xdisp.c || (it->what == IT_COMPOSITION it 8387 src/xdisp.c && (IT_STRING_CHARPOS (*it) + it->cmp_it.nchars it 8388 src/xdisp.c >= SCHARS (it->string)))) it 8391 src/xdisp.c && ((it->current.overlay_string_index >= 0 it 8392 src/xdisp.c && (it->current.overlay_string_index it 8393 src/xdisp.c == it->n_overlay_strings - 1)) it 8395 src/xdisp.c || it->from_disp_prop_p)) it 8402 src/xdisp.c struct text_pos pos = it->current.pos; it 8414 src/xdisp.c if (it->from_disp_prop_p) it 8416 src/xdisp.c int stackp = it->sp - 1; it 8420 src/xdisp.c && STRINGP ((it->stack + stackp)->string)) it 8431 src/xdisp.c pos = it->stack[it->sp - 1].position; it 8434 src/xdisp.c pos = (it->stack + stackp)->position; it 8437 src/xdisp.c INC_TEXT_POS (pos, it->multibyte_p); it 8441 src/xdisp.c Lisp_Object base_string = it->stack[it->sp - 1].string; it 8444 src/xdisp.c it->end_of_box_run_p = true; it 8448 src/xdisp.c = face_at_string_position (it->w, base_string, it 8452 src/xdisp.c if (FACE_FROM_ID (it->f, next_face_id)->box it 8454 src/xdisp.c it->end_of_box_run_p = true; it 8458 src/xdisp.c it->end_of_box_run_p = true; it 8462 src/xdisp.c face_at_buffer_position (it->w, CHARPOS (pos), it 8467 src/xdisp.c if (FACE_FROM_ID (it->f, next_face_id)->box it 8469 src/xdisp.c it->end_of_box_run_p = true; it 8476 src/xdisp.c else if (it->method != GET_FROM_DISPLAY_VECTOR) it 8478 src/xdisp.c int face_id = face_after_it_pos (it); it 8479 src/xdisp.c if (face_id != it->face_id it 8480 src/xdisp.c && FACE_FROM_ID (it->f, face_id)->box == FACE_NO_BOX) it 8481 src/xdisp.c it->end_of_box_run_p = true; it 8489 src/xdisp.c if (!success_p && it->sp > 0) it 8491 src/xdisp.c set_iterator_to_next (it, false); it 8492 src/xdisp.c success_p = get_next_display_element (it); it 8516 src/xdisp.c set_iterator_to_next (struct it *it, bool reseat_p) it 8520 src/xdisp.c update_redisplay_ticks (1, it->w); it 8522 src/xdisp.c switch (it->method) it 8528 src/xdisp.c if (ITERATOR_AT_END_OF_LINE_P (it) && reseat_p) it 8529 src/xdisp.c reseat_at_next_visible_line_start (it, false); it 8530 src/xdisp.c else if (it->cmp_it.id >= 0) it 8533 src/xdisp.c if (! it->bidi_p) it 8535 src/xdisp.c IT_CHARPOS (*it) += it->cmp_it.nchars; it 8536 src/xdisp.c IT_BYTEPOS (*it) += it->cmp_it.nbytes; it 8545 src/xdisp.c for (i = 0; i < it->cmp_it.nchars; i++) it 8546 src/xdisp.c bidi_move_to_visually_next (&it->bidi_it); it 8547 src/xdisp.c IT_BYTEPOS (*it) = it->bidi_it.bytepos; it 8548 src/xdisp.c IT_CHARPOS (*it) = it->bidi_it.charpos; it 8551 src/xdisp.c if ((! it->bidi_p || ! it->cmp_it.reversed_p) it 8552 src/xdisp.c && it->cmp_it.to < it->cmp_it.nglyphs) it 8556 src/xdisp.c it->cmp_it.from = it->cmp_it.to; it 8558 src/xdisp.c else if ((it->bidi_p && it->cmp_it.reversed_p) it 8559 src/xdisp.c && it->cmp_it.from > 0) it 8563 src/xdisp.c it->cmp_it.to = it->cmp_it.from; it 8569 src/xdisp.c ptrdiff_t stop = it->end_charpos; it 8571 src/xdisp.c if (it->bidi_it.scan_dir < 0) it 8575 src/xdisp.c composition_compute_stop_pos (&it->cmp_it, IT_CHARPOS (*it), it 8576 src/xdisp.c IT_BYTEPOS (*it), stop, Qnil); it 8581 src/xdisp.c eassert (it->len != 0); it 8583 src/xdisp.c if (!it->bidi_p) it 8585 src/xdisp.c IT_BYTEPOS (*it) += it->len; it 8586 src/xdisp.c IT_CHARPOS (*it) += 1; it 8590 src/xdisp.c int prev_scan_dir = it->bidi_it.scan_dir; it 8593 src/xdisp.c if (it->bidi_it.new_paragraph) it 8594 src/xdisp.c bidi_paragraph_init (it->paragraph_embedding, &it->bidi_it, it 8596 src/xdisp.c bidi_move_to_visually_next (&it->bidi_it); it 8597 src/xdisp.c IT_BYTEPOS (*it) = it->bidi_it.bytepos; it 8598 src/xdisp.c IT_CHARPOS (*it) = it->bidi_it.charpos; it 8599 src/xdisp.c if (prev_scan_dir != it->bidi_it.scan_dir) it 8603 src/xdisp.c ptrdiff_t stop = it->end_charpos; it 8604 src/xdisp.c if (it->bidi_it.scan_dir < 0) it 8606 src/xdisp.c composition_compute_stop_pos (&it->cmp_it, IT_CHARPOS (*it), it 8607 src/xdisp.c IT_BYTEPOS (*it), stop, Qnil); it 8610 src/xdisp.c eassert (IT_BYTEPOS (*it) == CHAR_TO_BYTE (IT_CHARPOS (*it))); it 8616 src/xdisp.c if (!it->bidi_p it 8621 src/xdisp.c || IT_CHARPOS (*it) >= it->bidi_it.string.schars) it 8623 src/xdisp.c IT_BYTEPOS (*it) += it->len; it 8624 src/xdisp.c IT_CHARPOS (*it) += 1; it 8628 src/xdisp.c bidi_move_to_visually_next (&it->bidi_it); it 8629 src/xdisp.c IT_BYTEPOS (*it) = it->bidi_it.bytepos; it 8630 src/xdisp.c IT_CHARPOS (*it) = it->bidi_it.charpos; it 8639 src/xdisp.c ++it->current.dpvec_index; it 8643 src/xdisp.c it->face_id = it->saved_face_id; it 8645 src/xdisp.c if (it->dpvec + it->current.dpvec_index >= it->dpend) it 8647 src/xdisp.c bool recheck_faces = it->ellipsis_p; it 8649 src/xdisp.c if (it->s) it 8650 src/xdisp.c it->method = GET_FROM_C_STRING; it 8651 src/xdisp.c else if (STRINGP (it->string)) it 8652 src/xdisp.c it->method = GET_FROM_STRING; it 8655 src/xdisp.c it->method = GET_FROM_BUFFER; it 8656 src/xdisp.c it->object = it->w->contents; it 8659 src/xdisp.c it->dpvec = NULL; it 8660 src/xdisp.c it->current.dpvec_index = -1; it 8663 src/xdisp.c if (it->dpvec_char_len < 0) it 8664 src/xdisp.c reseat_at_next_visible_line_start (it, true); it 8665 src/xdisp.c else if (it->dpvec_char_len > 0) it 8667 src/xdisp.c it->len = it->dpvec_char_len; it 8668 src/xdisp.c set_iterator_to_next (it, reseat_p); it 8674 src/xdisp.c if (it->method == GET_FROM_STRING) it 8675 src/xdisp.c it->stop_charpos = IT_STRING_CHARPOS (*it); it 8677 src/xdisp.c it->stop_charpos = IT_CHARPOS (*it); it 8684 src/xdisp.c eassert (it->s == NULL && STRINGP (it->string)); it 8690 src/xdisp.c if (it->current.overlay_string_index >= 0) it 8695 src/xdisp.c if (IT_STRING_CHARPOS (*it) >= SCHARS (it->string)) it 8702 src/xdisp.c if (IT_STRING_CHARPOS (*it) >= it->end_charpos) it 8705 src/xdisp.c if (it->cmp_it.id >= 0) it 8710 src/xdisp.c if (! it->bidi_p) it 8712 src/xdisp.c IT_STRING_CHARPOS (*it) += it->cmp_it.nchars; it 8713 src/xdisp.c IT_STRING_BYTEPOS (*it) += it->cmp_it.nbytes; it 8719 src/xdisp.c for (i = 0; i < it->cmp_it.nchars; i++) it 8720 src/xdisp.c bidi_move_to_visually_next (&it->bidi_it); it 8721 src/xdisp.c IT_STRING_BYTEPOS (*it) = it->bidi_it.bytepos; it 8722 src/xdisp.c IT_STRING_CHARPOS (*it) = it->bidi_it.charpos; it 8727 src/xdisp.c if ((! it->bidi_p || ! it->cmp_it.reversed_p) it 8728 src/xdisp.c && (it->cmp_it.to < it->cmp_it.nglyphs)) it 8732 src/xdisp.c it->cmp_it.from = it->cmp_it.to; it 8734 src/xdisp.c else if ((it->bidi_p && it->cmp_it.reversed_p) it 8735 src/xdisp.c && it->cmp_it.from > 0) it 8739 src/xdisp.c it->cmp_it.to = it->cmp_it.from; it 8749 src/xdisp.c ptrdiff_t stop = SCHARS (it->string); it 8751 src/xdisp.c if (it->bidi_p && it->bidi_it.scan_dir < 0) it 8753 src/xdisp.c else if (it->end_charpos < stop) it 8758 src/xdisp.c stop = it->end_charpos; it 8760 src/xdisp.c composition_compute_stop_pos (&it->cmp_it, it 8761 src/xdisp.c IT_STRING_CHARPOS (*it), it 8762 src/xdisp.c IT_STRING_BYTEPOS (*it), stop, it 8763 src/xdisp.c it->string); it 8768 src/xdisp.c if (!it->bidi_p it 8774 src/xdisp.c || IT_STRING_CHARPOS (*it) >= it->bidi_it.string.schars) it 8776 src/xdisp.c IT_STRING_BYTEPOS (*it) += it->len; it 8777 src/xdisp.c IT_STRING_CHARPOS (*it) += 1; it 8781 src/xdisp.c int prev_scan_dir = it->bidi_it.scan_dir; it 8783 src/xdisp.c bidi_move_to_visually_next (&it->bidi_it); it 8784 src/xdisp.c IT_STRING_BYTEPOS (*it) = it->bidi_it.bytepos; it 8785 src/xdisp.c IT_STRING_CHARPOS (*it) = it->bidi_it.charpos; it 8788 src/xdisp.c if (prev_scan_dir != it->bidi_it.scan_dir) it 8790 src/xdisp.c ptrdiff_t stop = SCHARS (it->string); it 8792 src/xdisp.c if (it->bidi_it.scan_dir < 0) it 8794 src/xdisp.c else if (it->end_charpos < stop) it 8795 src/xdisp.c stop = it->end_charpos; it 8797 src/xdisp.c composition_compute_stop_pos (&it->cmp_it, it 8798 src/xdisp.c IT_STRING_CHARPOS (*it), it 8799 src/xdisp.c IT_STRING_BYTEPOS (*it), stop, it 8800 src/xdisp.c it->string); it 8807 src/xdisp.c if (it->current.overlay_string_index >= 0) it 8811 src/xdisp.c if (IT_STRING_CHARPOS (*it) >= SCHARS (it->string)) it 8813 src/xdisp.c it->ellipsis_p = false; it 8814 src/xdisp.c next_overlay_string (it); it 8815 src/xdisp.c if (it->ellipsis_p) it 8816 src/xdisp.c setup_for_ellipsis (it, 0); it 8825 src/xdisp.c if (IT_STRING_CHARPOS (*it) == SCHARS (it->string) it 8826 src/xdisp.c && it->sp > 0) it 8828 src/xdisp.c pop_it (it); it 8829 src/xdisp.c if (it->method == GET_FROM_STRING) it 8842 src/xdisp.c eassert (it->sp > 0); it 8843 src/xdisp.c pop_it (it); it 8844 src/xdisp.c if (it->method == GET_FROM_STRING) it 8853 src/xdisp.c eassert (it->method != GET_FROM_STRING it 8854 src/xdisp.c || (STRINGP (it->string) it 8855 src/xdisp.c && IT_STRING_CHARPOS (*it) >= 0)); it 8868 src/xdisp.c next_element_from_display_vector (struct it *it) it 8871 src/xdisp.c int prev_face_id = it->face_id; it 8875 src/xdisp.c eassert (it->dpvec && it->current.dpvec_index >= 0); it 8877 src/xdisp.c it->face_id = it->saved_face_id; it 8881 src/xdisp.c if (it->dpend - it->dpvec > 0 /* empty dpvec[] is invalid */ it 8882 src/xdisp.c && (gc = it->dpvec[it->current.dpvec_index], GLYPH_CODE_P (gc))) it 8886 src/xdisp.c it->c = GLYPH_CODE_CHAR (gc); it 8887 src/xdisp.c it->len = CHAR_BYTES (it->c); it 8892 src/xdisp.c if (it->dpvec_face_id >= 0) it 8893 src/xdisp.c it->face_id = it->dpvec_face_id; it 8898 src/xdisp.c it->face_id = merge_faces (it->w, Qt, lface_id, it 8899 src/xdisp.c it->saved_face_id); it 8905 src/xdisp.c this_face = FACE_FROM_ID_OR_NULL (it->f, it->face_id); it 8906 src/xdisp.c prev_face = FACE_FROM_ID_OR_NULL (it->f, prev_face_id); it 8909 src/xdisp.c it->start_of_box_run_p = (this_face && this_face->box != FACE_NO_BOX it 8916 src/xdisp.c next_face_id = it->saved_face_id; it 8917 src/xdisp.c if (it->current.dpvec_index < it->dpend - it->dpvec - 1) it 8919 src/xdisp.c if (it->dpvec_face_id >= 0) it 8920 src/xdisp.c next_face_id = it->dpvec_face_id; it 8923 src/xdisp.c Lisp_Object gc = it->dpvec[it->current.dpvec_index + 1]; it 8927 src/xdisp.c next_face_id = merge_faces (it->w, Qt, lface_id, it 8928 src/xdisp.c it->saved_face_id); it 8931 src/xdisp.c next_face = FACE_FROM_ID_OR_NULL (it->f, next_face_id); it 8934 src/xdisp.c it->end_of_box_run_p = true; it 8935 src/xdisp.c it->face_box_p = this_face && this_face->box != FACE_NO_BOX; it 8939 src/xdisp.c it->c = ' ', it->len = 1; it 8944 src/xdisp.c it->what = IT_CHARACTER; it 8951 src/xdisp.c get_visually_first_element (struct it *it) it 8953 src/xdisp.c bool string_p = STRINGP (it->string) || it->s; it 8954 src/xdisp.c ptrdiff_t eob = (string_p ? it->bidi_it.string.schars : ZV); it 8958 src/xdisp.c SET_WITH_NARROWED_BEGV (it, bob, it 8960 src/xdisp.c IT_CHARPOS (*it) < BEGV ? obegv : BEGV, it 8961 src/xdisp.c it->medium_narrowing_begv); it 8963 src/xdisp.c if (STRINGP (it->string)) it 8965 src/xdisp.c it->bidi_it.charpos = IT_STRING_CHARPOS (*it); it 8966 src/xdisp.c it->bidi_it.bytepos = IT_STRING_BYTEPOS (*it); it 8970 src/xdisp.c it->bidi_it.charpos = IT_CHARPOS (*it); it 8971 src/xdisp.c it->bidi_it.bytepos = IT_BYTEPOS (*it); it 8974 src/xdisp.c if (it->bidi_it.charpos == eob) it 8979 src/xdisp.c it->bidi_it.first_elt = false; it 8981 src/xdisp.c else if (it->bidi_it.charpos == bob it 8983 src/xdisp.c && (FETCH_BYTE (it->bidi_it.bytepos - 1) == '\n' it 8984 src/xdisp.c || FETCH_BYTE (it->bidi_it.bytepos) == '\n'))) it 8988 src/xdisp.c bidi_paragraph_init (it->paragraph_embedding, &it->bidi_it, true); it 8989 src/xdisp.c bidi_move_to_visually_next (&it->bidi_it); it 8993 src/xdisp.c ptrdiff_t orig_bytepos = it->bidi_it.bytepos; it 8999 src/xdisp.c it->bidi_it.charpos = it->bidi_it.bytepos = 0; it 9001 src/xdisp.c SET_WITH_NARROWED_BEGV (it, it->bidi_it.charpos, it 9002 src/xdisp.c find_newline_no_quit (IT_CHARPOS (*it), it 9003 src/xdisp.c IT_BYTEPOS (*it), -1, it 9004 src/xdisp.c &it->bidi_it.bytepos), it 9005 src/xdisp.c it->medium_narrowing_begv); it 9006 src/xdisp.c bidi_paragraph_init (it->paragraph_embedding, &it->bidi_it, true); it 9011 src/xdisp.c bidi_move_to_visually_next (&it->bidi_it); it 9013 src/xdisp.c while (it->bidi_it.bytepos != orig_bytepos it 9014 src/xdisp.c && it->bidi_it.charpos < eob); it 9018 src/xdisp.c if (STRINGP (it->string)) it 9020 src/xdisp.c IT_STRING_CHARPOS (*it) = it->bidi_it.charpos; it 9021 src/xdisp.c IT_STRING_BYTEPOS (*it) = it->bidi_it.bytepos; it 9025 src/xdisp.c IT_CHARPOS (*it) = it->bidi_it.charpos; it 9026 src/xdisp.c IT_BYTEPOS (*it) = it->bidi_it.bytepos; it 9029 src/xdisp.c if (STRINGP (it->string) || !it->s) it 9033 src/xdisp.c if (STRINGP (it->string)) it 9035 src/xdisp.c eassert (!it->s); it 9036 src/xdisp.c stop = SCHARS (it->string); it 9037 src/xdisp.c if (stop > it->end_charpos) it 9038 src/xdisp.c stop = it->end_charpos; it 9039 src/xdisp.c charpos = IT_STRING_CHARPOS (*it); it 9040 src/xdisp.c bytepos = IT_STRING_BYTEPOS (*it); it 9044 src/xdisp.c stop = it->end_charpos; it 9045 src/xdisp.c charpos = IT_CHARPOS (*it); it 9046 src/xdisp.c bytepos = IT_BYTEPOS (*it); it 9048 src/xdisp.c if (it->bidi_it.scan_dir < 0) it 9050 src/xdisp.c composition_compute_stop_pos (&it->cmp_it, charpos, bytepos, stop, it 9051 src/xdisp.c it->string); it 9061 src/xdisp.c next_element_from_string (struct it *it) it 9065 src/xdisp.c eassert (STRINGP (it->string)); it 9066 src/xdisp.c eassert (!it->bidi_p || EQ (it->string, it->bidi_it.string.lstring)); it 9067 src/xdisp.c eassert (IT_STRING_CHARPOS (*it) >= 0); it 9068 src/xdisp.c position = it->current.string_pos; it 9074 src/xdisp.c if (it->bidi_p && it->bidi_it.first_elt) it 9076 src/xdisp.c get_visually_first_element (it); it 9077 src/xdisp.c SET_TEXT_POS (position, IT_STRING_CHARPOS (*it), IT_STRING_BYTEPOS (*it)); it 9081 src/xdisp.c if (IT_STRING_CHARPOS (*it) < it->end_charpos) it 9083 src/xdisp.c if (IT_STRING_CHARPOS (*it) >= it->stop_charpos) it 9085 src/xdisp.c if (!(!it->bidi_p it 9086 src/xdisp.c || BIDI_AT_BASE_LEVEL (it->bidi_it) it 9087 src/xdisp.c || IT_STRING_CHARPOS (*it) == it->stop_charpos)) it 9095 src/xdisp.c handle_stop_backwards (it, it->stop_charpos); it 9096 src/xdisp.c return GET_NEXT_DISPLAY_ELEMENT (it); it 9100 src/xdisp.c if (it->bidi_p) it 9104 src/xdisp.c it->prev_stop = it->stop_charpos; it 9108 src/xdisp.c if (BIDI_AT_BASE_LEVEL (it->bidi_it)) it 9109 src/xdisp.c it->base_level_stop = it->stop_charpos; it 9111 src/xdisp.c handle_stop (it); it 9115 src/xdisp.c return GET_NEXT_DISPLAY_ELEMENT (it); it 9118 src/xdisp.c else if (it->bidi_p it 9122 src/xdisp.c && IT_STRING_CHARPOS (*it) < it->prev_stop it 9127 src/xdisp.c && !BIDI_AT_BASE_LEVEL (it->bidi_it)) it 9133 src/xdisp.c if (it->base_level_stop <= 0 it 9134 src/xdisp.c || IT_STRING_CHARPOS (*it) < it->base_level_stop) it 9135 src/xdisp.c it->base_level_stop = 0; it 9136 src/xdisp.c handle_stop_backwards (it, it->base_level_stop); it 9137 src/xdisp.c return GET_NEXT_DISPLAY_ELEMENT (it); it 9141 src/xdisp.c if (it->current.overlay_string_index >= 0) it 9146 src/xdisp.c if (IT_STRING_CHARPOS (*it) >= SCHARS (it->string)) it 9148 src/xdisp.c it->what = IT_EOB; it 9151 src/xdisp.c else if (CHAR_COMPOSED_P (it, IT_STRING_CHARPOS (*it), it 9152 src/xdisp.c IT_STRING_BYTEPOS (*it), it 9153 src/xdisp.c it->bidi_it.scan_dir < 0 it 9155 src/xdisp.c : SCHARS (it->string)) it 9156 src/xdisp.c && next_element_from_composition (it)) it 9160 src/xdisp.c else if (STRING_MULTIBYTE (it->string)) it 9162 src/xdisp.c const unsigned char *s = (SDATA (it->string) it 9163 src/xdisp.c + IT_STRING_BYTEPOS (*it)); it 9164 src/xdisp.c it->c = check_char_and_length (s, &it->len); it 9168 src/xdisp.c it->c = SREF (it->string, IT_STRING_BYTEPOS (*it)); it 9169 src/xdisp.c it->len = 1; it 9178 src/xdisp.c if (IT_STRING_CHARPOS (*it) >= it->end_charpos) it 9180 src/xdisp.c it->what = IT_EOB; it 9183 src/xdisp.c else if (IT_STRING_CHARPOS (*it) >= it->string_nchars) it 9186 src/xdisp.c it->c = ' ', it->len = 1; it 9189 src/xdisp.c else if (CHAR_COMPOSED_P (it, IT_STRING_CHARPOS (*it), it 9190 src/xdisp.c IT_STRING_BYTEPOS (*it), it 9191 src/xdisp.c it->bidi_it.scan_dir < 0 it 9193 src/xdisp.c : it->string_nchars) it 9194 src/xdisp.c && next_element_from_composition (it)) it 9198 src/xdisp.c else if (STRING_MULTIBYTE (it->string)) it 9200 src/xdisp.c const unsigned char *s = (SDATA (it->string) it 9201 src/xdisp.c + IT_STRING_BYTEPOS (*it)); it 9202 src/xdisp.c it->c = check_char_and_length (s, &it->len); it 9206 src/xdisp.c it->c = SREF (it->string, IT_STRING_BYTEPOS (*it)); it 9207 src/xdisp.c it->len = 1; it 9212 src/xdisp.c it->what = IT_CHARACTER; it 9213 src/xdisp.c it->object = it->string; it 9214 src/xdisp.c it->position = position; it 9227 src/xdisp.c next_element_from_c_string (struct it *it) it 9231 src/xdisp.c eassert (it->s); it 9232 src/xdisp.c eassert (!it->bidi_p || it->s == it->bidi_it.string.s); it 9233 src/xdisp.c it->what = IT_CHARACTER; it 9234 src/xdisp.c BYTEPOS (it->position) = CHARPOS (it->position) = 0; it 9235 src/xdisp.c it->object = make_fixnum (0); it 9241 src/xdisp.c if (it->bidi_p && it->bidi_it.first_elt) it 9242 src/xdisp.c get_visually_first_element (it); it 9247 src/xdisp.c if (IT_CHARPOS (*it) >= it->end_charpos) it 9250 src/xdisp.c it->what = IT_EOB; it 9253 src/xdisp.c else if (IT_CHARPOS (*it) >= it->string_nchars) it 9256 src/xdisp.c it->c = ' ', it->len = 1; it 9257 src/xdisp.c BYTEPOS (it->position) = CHARPOS (it->position) = -1; it 9259 src/xdisp.c else if (it->multibyte_p) it 9260 src/xdisp.c it->c = check_char_and_length (it->s + IT_BYTEPOS (*it), &it->len); it 9262 src/xdisp.c it->c = it->s[IT_BYTEPOS (*it)], it->len = 1; it 9274 src/xdisp.c next_element_from_ellipsis (struct it *it) it 9276 src/xdisp.c if (it->selective_display_ellipsis_p) it 9277 src/xdisp.c setup_for_ellipsis (it, it->len); it 9284 src/xdisp.c it->saved_face_id = it->face_id; it 9285 src/xdisp.c it->method = GET_FROM_BUFFER; it 9286 src/xdisp.c it->object = it->w->contents; it 9287 src/xdisp.c reseat_at_next_visible_line_start (it, true); it 9288 src/xdisp.c it->face_before_selective_p = true; it 9291 src/xdisp.c return GET_NEXT_DISPLAY_ELEMENT (it); it 9301 src/xdisp.c next_element_from_image (struct it *it) it 9303 src/xdisp.c it->what = IT_IMAGE; it 9308 src/xdisp.c next_element_from_xwidget (struct it *it) it 9310 src/xdisp.c it->what = IT_XWIDGET; it 9320 src/xdisp.c next_element_from_stretch (struct it *it) it 9322 src/xdisp.c it->what = IT_STRETCH; it 9332 src/xdisp.c compute_stop_pos_backwards (struct it *it) it 9336 src/xdisp.c struct display_pos save_current = it->current; it 9337 src/xdisp.c struct text_pos save_position = it->position; it 9338 src/xdisp.c ptrdiff_t charpos = IT_CHARPOS (*it); it 9340 src/xdisp.c ptrdiff_t save_stop_pos = it->stop_charpos; it 9341 src/xdisp.c ptrdiff_t save_end_pos = it->end_charpos; it 9343 src/xdisp.c eassert (NILP (it->string) && !it->s); it 9344 src/xdisp.c eassert (it->bidi_p); it 9345 src/xdisp.c it->bidi_p = false; it 9348 src/xdisp.c it->end_charpos = min (charpos + 1, ZV); it 9351 src/xdisp.c reseat_1 (it, pos, false); it 9352 src/xdisp.c compute_stop_pos (it); it 9354 src/xdisp.c if (it->stop_charpos <= charpos) it 9357 src/xdisp.c while (charpos > BEGV && it->stop_charpos >= it->end_charpos); it 9359 src/xdisp.c if (it->stop_charpos <= where_we_are) it 9360 src/xdisp.c it->prev_stop = it->stop_charpos; it 9362 src/xdisp.c it->prev_stop = BEGV; it 9363 src/xdisp.c it->bidi_p = true; it 9364 src/xdisp.c it->current = save_current; it 9365 src/xdisp.c it->position = save_position; it 9366 src/xdisp.c it->stop_charpos = save_stop_pos; it 9367 src/xdisp.c it->end_charpos = save_end_pos; it 9379 src/xdisp.c handle_stop_backwards (struct it *it, ptrdiff_t charpos) it 9381 src/xdisp.c bool bufp = !STRINGP (it->string); it 9382 src/xdisp.c ptrdiff_t where_we_are = (bufp ? IT_CHARPOS (*it) : IT_STRING_CHARPOS (*it)); it 9383 src/xdisp.c struct display_pos save_current = it->current; it 9384 src/xdisp.c struct text_pos save_position = it->position; it 9385 src/xdisp.c struct composition_it save_cmp_it = it->cmp_it; it 9390 src/xdisp.c eassert (it->bidi_p); it 9391 src/xdisp.c it->bidi_p = false; it 9394 src/xdisp.c it->prev_stop = charpos; it 9398 src/xdisp.c reseat_1 (it, pos1, false); it 9401 src/xdisp.c it->current.string_pos = string_pos (charpos, it->string); it 9402 src/xdisp.c compute_stop_pos (it); it 9404 src/xdisp.c if (it->stop_charpos <= it->prev_stop) it 9406 src/xdisp.c charpos = it->stop_charpos; it 9410 src/xdisp.c it->bidi_p = true; it 9411 src/xdisp.c it->current = save_current; it 9412 src/xdisp.c it->position = save_position; it 9413 src/xdisp.c it->cmp_it = save_cmp_it; it 9414 src/xdisp.c next_stop = it->stop_charpos; it 9415 src/xdisp.c it->stop_charpos = it->prev_stop; it 9416 src/xdisp.c handle_stop (it); it 9417 src/xdisp.c it->stop_charpos = next_stop; it 9426 src/xdisp.c next_element_from_buffer (struct it *it) it 9430 src/xdisp.c eassert (IT_CHARPOS (*it) >= BEGV); it 9431 src/xdisp.c eassert (NILP (it->string) && !it->s); it 9432 src/xdisp.c eassert (!it->bidi_p it 9433 src/xdisp.c || (NILP (it->bidi_it.string.lstring) it 9434 src/xdisp.c && it->bidi_it.string.s == NULL)); it 9440 src/xdisp.c if (it->bidi_p && it->bidi_it.first_elt) it 9442 src/xdisp.c get_visually_first_element (it); it 9443 src/xdisp.c SET_TEXT_POS (it->position, IT_CHARPOS (*it), IT_BYTEPOS (*it)); it 9446 src/xdisp.c if (IT_CHARPOS (*it) >= it->stop_charpos) it 9448 src/xdisp.c if (IT_CHARPOS (*it) >= it->end_charpos) it 9454 src/xdisp.c if (it->overlay_strings_at_end_processed_p) it 9458 src/xdisp.c it->overlay_strings_at_end_processed_p = true; it 9459 src/xdisp.c overlay_strings_follow_p = get_overlay_strings (it, 0); it 9463 src/xdisp.c success_p = GET_NEXT_DISPLAY_ELEMENT (it); it 9466 src/xdisp.c it->what = IT_EOB; it 9467 src/xdisp.c it->position = it->current.pos; it 9471 src/xdisp.c else if (!(!it->bidi_p it 9472 src/xdisp.c || BIDI_AT_BASE_LEVEL (it->bidi_it) it 9473 src/xdisp.c || IT_CHARPOS (*it) == it->stop_charpos)) it 9481 src/xdisp.c handle_stop_backwards (it, it->stop_charpos); it 9482 src/xdisp.c it->ignore_overlay_strings_at_pos_p = false; it 9483 src/xdisp.c return GET_NEXT_DISPLAY_ELEMENT (it); it 9487 src/xdisp.c if (it->bidi_p) it 9491 src/xdisp.c it->prev_stop = it->stop_charpos; it 9495 src/xdisp.c if (BIDI_AT_BASE_LEVEL (it->bidi_it)) it 9496 src/xdisp.c it->base_level_stop = it->stop_charpos; it 9498 src/xdisp.c handle_stop (it); it 9499 src/xdisp.c it->ignore_overlay_strings_at_pos_p = false; it 9500 src/xdisp.c return GET_NEXT_DISPLAY_ELEMENT (it); it 9503 src/xdisp.c else if (it->bidi_p it 9507 src/xdisp.c && IT_CHARPOS (*it) < it->prev_stop it 9512 src/xdisp.c && !BIDI_AT_BASE_LEVEL (it->bidi_it)) it 9514 src/xdisp.c if (it->base_level_stop <= 0 it 9515 src/xdisp.c || IT_CHARPOS (*it) < it->base_level_stop) it 9521 src/xdisp.c it->base_level_stop = BEGV; it 9522 src/xdisp.c compute_stop_pos_backwards (it); it 9523 src/xdisp.c handle_stop_backwards (it, it->prev_stop); it 9526 src/xdisp.c handle_stop_backwards (it, it->base_level_stop); it 9527 src/xdisp.c it->ignore_overlay_strings_at_pos_p = false; it 9528 src/xdisp.c return GET_NEXT_DISPLAY_ELEMENT (it); it 9539 src/xdisp.c it->ignore_overlay_strings_at_pos_p = false; it 9546 src/xdisp.c if (it->bidi_it.scan_dir < 0) it 9547 src/xdisp.c stop = (PT <= IT_CHARPOS (*it)) ? PT : -1; it 9549 src/xdisp.c stop = (IT_CHARPOS (*it) < PT it 9550 src/xdisp.c && PT < it->end_charpos) ? PT : it->end_charpos; it 9553 src/xdisp.c stop = it->bidi_it.scan_dir < 0 ? -1 : it->end_charpos; it 9554 src/xdisp.c if (CHAR_COMPOSED_P (it, IT_CHARPOS (*it), IT_BYTEPOS (*it), it 9556 src/xdisp.c && next_element_from_composition (it)) it 9562 src/xdisp.c p = BYTE_POS_ADDR (IT_BYTEPOS (*it)); it 9563 src/xdisp.c if (it->multibyte_p && !ASCII_CHAR_P (*p)) it 9564 src/xdisp.c it->c = string_char_and_length (p, &it->len); it 9566 src/xdisp.c it->c = *p, it->len = 1; it 9569 src/xdisp.c it->what = IT_CHARACTER; it 9570 src/xdisp.c it->object = it->w->contents; it 9571 src/xdisp.c it->position = it->current.pos; it 9575 src/xdisp.c if (it->selective) it 9577 src/xdisp.c if (it->c == '\n') it 9581 src/xdisp.c if (it->selective > 0 it 9582 src/xdisp.c && IT_CHARPOS (*it) + 1 < ZV it 9583 src/xdisp.c && indented_beyond_p (IT_CHARPOS (*it) + 1, it 9584 src/xdisp.c IT_BYTEPOS (*it) + 1, it 9585 src/xdisp.c it->selective)) it 9587 src/xdisp.c success_p = next_element_from_ellipsis (it); it 9588 src/xdisp.c it->dpvec_char_len = -1; it 9591 src/xdisp.c else if (it->c == '\r' && it->selective == -1) it 9596 src/xdisp.c success_p = next_element_from_ellipsis (it); it 9597 src/xdisp.c it->dpvec_char_len = -1; it 9603 src/xdisp.c eassert (!success_p || it->what != IT_CHARACTER || it->len > 0); it 9614 src/xdisp.c next_element_from_composition (struct it *it) it 9616 src/xdisp.c it->what = IT_COMPOSITION; it 9617 src/xdisp.c it->len = it->cmp_it.nbytes; it 9618 src/xdisp.c if (STRINGP (it->string)) it 9620 src/xdisp.c if (it->c < 0) it 9622 src/xdisp.c IT_STRING_CHARPOS (*it) += it->cmp_it.nchars; it 9623 src/xdisp.c IT_STRING_BYTEPOS (*it) += it->cmp_it.nbytes; it 9626 src/xdisp.c it->position = it->current.string_pos; it 9627 src/xdisp.c it->object = it->string; it 9628 src/xdisp.c it->c = composition_update_it (&it->cmp_it, IT_STRING_CHARPOS (*it), it 9629 src/xdisp.c IT_STRING_BYTEPOS (*it), it->string); it 9633 src/xdisp.c if (it->c < 0) it 9635 src/xdisp.c IT_CHARPOS (*it) += it->cmp_it.nchars; it 9636 src/xdisp.c IT_BYTEPOS (*it) += it->cmp_it.nbytes; it 9637 src/xdisp.c if (it->bidi_p) it 9639 src/xdisp.c if (it->bidi_it.new_paragraph) it 9640 src/xdisp.c bidi_paragraph_init (it->paragraph_embedding, &it->bidi_it, it 9644 src/xdisp.c while (it->bidi_it.charpos < IT_CHARPOS (*it)) it 9645 src/xdisp.c bidi_move_to_visually_next (&it->bidi_it); it 9649 src/xdisp.c it->position = it->current.pos; it 9650 src/xdisp.c it->object = it->w->contents; it 9651 src/xdisp.c it->c = composition_update_it (&it->cmp_it, IT_CHARPOS (*it), it 9652 src/xdisp.c IT_BYTEPOS (*it), Qnil); it 9666 src/xdisp.c #define IT_POS_VALID_AFTER_MOVE_P(it) \ it 9667 src/xdisp.c ((it)->method != GET_FROM_STRING || IT_STRING_CHARPOS (*it) == 0) it 9704 src/xdisp.c move_it_in_display_line_to (struct it *it, it 9710 src/xdisp.c struct it wrap_it, atpos_it, atx_it, ppos_it; it 9714 src/xdisp.c enum it_method prev_method = it->method; it 9716 src/xdisp.c ptrdiff_t prev_pos = IT_CHARPOS (*it); it 9721 src/xdisp.c saved_glyph_row = it->glyph_row; it 9722 src/xdisp.c it->glyph_row = NULL; it 9740 src/xdisp.c if (it->bidi_p) it 9742 src/xdisp.c if ((op & MOVE_TO_POS) && IT_CHARPOS (*it) >= to_charpos) it 9744 src/xdisp.c SAVE_IT (ppos_it, *it, ppos_data); it 9745 src/xdisp.c closest_pos = IT_CHARPOS (*it); it 9753 src/xdisp.c && BUFFERP (it->object) \ it 9754 src/xdisp.c && (IT_CHARPOS (*it) == to_charpos \ it 9755 src/xdisp.c || ((!it->bidi_p \ it 9756 src/xdisp.c || BIDI_AT_BASE_LEVEL (it->bidi_it)) \ it 9757 src/xdisp.c && IT_CHARPOS (*it) > to_charpos) \ it 9758 src/xdisp.c || (it->what == IT_COMPOSITION \ it 9759 src/xdisp.c && ((IT_CHARPOS (*it) > to_charpos \ it 9760 src/xdisp.c && to_charpos >= it->cmp_it.charpos) \ it 9761 src/xdisp.c || (IT_CHARPOS (*it) < to_charpos \ it 9762 src/xdisp.c && to_charpos <= it->cmp_it.charpos)))) \ it 9763 src/xdisp.c && (it->method == GET_FROM_BUFFER \ it 9764 src/xdisp.c || (it->method == GET_FROM_DISPLAY_VECTOR \ it 9765 src/xdisp.c && it->dpvec + it->current.dpvec_index + 1 >= it->dpend))) it 9767 src/xdisp.c if (it->hpos == 0) it 9773 src/xdisp.c if (!((op && MOVE_TO_X) && to_x == it->first_visible_x) it 9774 src/xdisp.c && should_produce_line_number (it)) it 9776 src/xdisp.c if (it->current_x == it->first_visible_x) it 9777 src/xdisp.c maybe_produce_line_number (it); it 9782 src/xdisp.c if (it->area == TEXT_AREA && !it->string_from_prefix_prop_p) it 9783 src/xdisp.c handle_line_prefix (it); it 9786 src/xdisp.c if (IT_CHARPOS (*it) < CHARPOS (this_line_min_pos)) it 9787 src/xdisp.c SET_TEXT_POS (this_line_min_pos, IT_CHARPOS (*it), IT_BYTEPOS (*it)); it 9801 src/xdisp.c && BUFFERP (it->object) it 9802 src/xdisp.c && it->method == GET_FROM_BUFFER it 9803 src/xdisp.c && (((!it->bidi_p it 9808 src/xdisp.c || BIDI_AT_BASE_LEVEL (it->bidi_it)) it 9809 src/xdisp.c && IT_CHARPOS (*it) > to_charpos) it 9810 src/xdisp.c || (it->bidi_p it 9816 src/xdisp.c && IT_CHARPOS (*it) >= to_charpos) it 9819 src/xdisp.c && IT_CHARPOS (*it) <= to_charpos))))) it 9821 src/xdisp.c if (it->line_wrap != WORD_WRAP || wrap_it.sp < 0) it 9826 src/xdisp.c else if (it->line_wrap == WORD_WRAP && atpos_it.sp < 0) it 9830 src/xdisp.c SAVE_IT (atpos_it, *it, atpos_data); it 9837 src/xdisp.c if (!get_next_display_element (it)) it 9843 src/xdisp.c if (it->line_wrap == TRUNCATE) it 9852 src/xdisp.c && (it->pixel_width > 0 it 9853 src/xdisp.c || IT_CHARPOS (*it) > to_charpos it 9854 src/xdisp.c || it->area != TEXT_AREA)) it 9862 src/xdisp.c if (it->line_wrap == WORD_WRAP && it->area == TEXT_AREA) it 9866 src/xdisp.c if (char_can_wrap_after (it)) it 9871 src/xdisp.c if (may_wrap && char_can_wrap_before (it)) it 9880 src/xdisp.c RESTORE_IT (it, &atpos_it, atpos_data); it 9886 src/xdisp.c RESTORE_IT (it, &atx_it, atx_data); it 9891 src/xdisp.c SAVE_IT (wrap_it, *it, wrap_data); it 9900 src/xdisp.c ascent = it->max_ascent; it 9901 src/xdisp.c descent = it->max_descent; it 9907 src/xdisp.c x = it->current_x; it 9909 src/xdisp.c PRODUCE_GLYPHS (it); it 9911 src/xdisp.c if (it->area != TEXT_AREA) it 9913 src/xdisp.c prev_method = it->method; it 9914 src/xdisp.c if (it->method == GET_FROM_BUFFER) it 9915 src/xdisp.c prev_pos = IT_CHARPOS (*it); it 9916 src/xdisp.c set_iterator_to_next (it, true); it 9917 src/xdisp.c if (IT_CHARPOS (*it) < CHARPOS (this_line_min_pos)) it 9919 src/xdisp.c IT_CHARPOS (*it), IT_BYTEPOS (*it)); it 9920 src/xdisp.c if (it->bidi_p it 9922 src/xdisp.c && IT_CHARPOS (*it) > to_charpos it 9923 src/xdisp.c && IT_CHARPOS (*it) < closest_pos) it 9924 src/xdisp.c closest_pos = IT_CHARPOS (*it); it 9946 src/xdisp.c if (it->nglyphs) it 9950 src/xdisp.c int single_glyph_width = it->pixel_width / it->nglyphs; it 9953 src/xdisp.c int hpos_before_this_char = it->hpos; it 9955 src/xdisp.c for (i = 0; i < it->nglyphs; ++i, x = new_x) it 9964 src/xdisp.c if (it->line_wrap != WORD_WRAP || wrap_it.sp < 0) it 9968 src/xdisp.c SAVE_IT (atpos_it, *it, atpos_data); it 9974 src/xdisp.c if (it->line_wrap != WORD_WRAP || wrap_it.sp < 0) it 9976 src/xdisp.c it->current_x = x; it 9982 src/xdisp.c SAVE_IT (atx_it, *it, atx_data); it 9989 src/xdisp.c it->line_wrap != TRUNCATE it 9991 src/xdisp.c new_x > it->last_visible_x it 9994 src/xdisp.c || (new_x == it->last_visible_x it 9995 src/xdisp.c && FRAME_WINDOW_P (it->f) it 9996 src/xdisp.c && ((it->bidi_p && it->bidi_it.paragraph_dir == R2L) it 9997 src/xdisp.c ? WINDOW_LEFT_FRINGE_WIDTH (it->w) it 9998 src/xdisp.c : WINDOW_RIGHT_FRINGE_WIDTH (it->w))))) it 10004 src/xdisp.c it->hpos == 0 it 10005 src/xdisp.c || (new_x == it->last_visible_x it 10006 src/xdisp.c && FRAME_WINDOW_P (it->f))) it 10008 src/xdisp.c ++it->hpos; it 10009 src/xdisp.c it->current_x = new_x; it 10013 src/xdisp.c if (i == it->nglyphs - 1) it 10026 src/xdisp.c if (it->line_wrap == WORD_WRAP it 10029 src/xdisp.c && IT_OVERFLOW_NEWLINE_INTO_FRINGE (it)) it 10031 src/xdisp.c struct it tem_it; it 10034 src/xdisp.c SAVE_IT (tem_it, *it, tem_data); it 10035 src/xdisp.c set_iterator_to_next (it, true); it 10036 src/xdisp.c if (get_next_display_element (it) it 10037 src/xdisp.c && !char_can_wrap_before (it)) it 10039 src/xdisp.c RESTORE_IT (it, &tem_it, tem_data); it 10041 src/xdisp.c if (it->line_wrap != WORD_WRAP it 10051 src/xdisp.c && IT_OVERFLOW_NEWLINE_INTO_FRINGE (it))) it 10053 src/xdisp.c it->hpos = hpos_before_this_char; it 10054 src/xdisp.c it->current_x = x_before_this_char; it 10058 src/xdisp.c if (it->line_wrap == WORD_WRAP it 10061 src/xdisp.c SAVE_IT (atpos_it, *it, atpos_data); it 10067 src/xdisp.c prev_method = it->method; it 10068 src/xdisp.c if (it->method == GET_FROM_BUFFER) it 10069 src/xdisp.c prev_pos = IT_CHARPOS (*it); it 10070 src/xdisp.c set_iterator_to_next (it, true); it 10071 src/xdisp.c if (IT_CHARPOS (*it) < CHARPOS (this_line_min_pos)) it 10073 src/xdisp.c IT_CHARPOS (*it), IT_BYTEPOS (*it)); it 10081 src/xdisp.c if (!FRAME_WINDOW_P (it->f) it 10082 src/xdisp.c || ((it->bidi_p it 10083 src/xdisp.c && it->bidi_it.paragraph_dir == R2L) it 10084 src/xdisp.c ? WINDOW_LEFT_FRINGE_WIDTH (it->w) it 10085 src/xdisp.c : WINDOW_RIGHT_FRINGE_WIDTH (it->w)) == 0 it 10086 src/xdisp.c || IT_OVERFLOW_NEWLINE_INTO_FRINGE (it)) it 10088 src/xdisp.c if (!get_next_display_element (it)) it 10096 src/xdisp.c if (ITERATOR_AT_END_OF_LINE_P (it)) it 10102 src/xdisp.c if (ITERATOR_AT_END_OF_LINE_P (it) it 10103 src/xdisp.c && (it->line_wrap != WORD_WRAP it 10105 src/xdisp.c || IT_OVERFLOW_NEWLINE_INTO_FRINGE (it))) it 10114 src/xdisp.c IT_RESET_X_ASCENT_DESCENT (it); it 10121 src/xdisp.c if (may_wrap && IT_OVERFLOW_NEWLINE_INTO_FRINGE (it) it 10127 src/xdisp.c && (!moved_forward || char_can_wrap_before (it))) it 10131 src/xdisp.c if ((op & MOVE_TO_X) && new_x == it->last_visible_x it 10134 src/xdisp.c RESTORE_IT (it, &atx_it, atx_data); it 10143 src/xdisp.c RESTORE_IT (it, &wrap_it, wrap_data); it 10149 src/xdisp.c IT_CHARPOS (*it)); it 10156 src/xdisp.c if (it->line_wrap != WORD_WRAP || wrap_it.sp < 0) it 10158 src/xdisp.c if (it->line_wrap == WORD_WRAP && atpos_it.sp < 0) it 10160 src/xdisp.c SAVE_IT (atpos_it, *it, atpos_data); it 10165 src/xdisp.c if (new_x > it->first_visible_x) it 10172 src/xdisp.c it->current_x = it->first_visible_x; it 10173 src/xdisp.c maybe_produce_line_number (it); it 10174 src/xdisp.c it->current_x += new_x - it->first_visible_x; it 10178 src/xdisp.c ++it->hpos; it 10188 src/xdisp.c IT_RESET_X_ASCENT_DESCENT (it); it 10192 src/xdisp.c else if ((op & MOVE_TO_X) && it->current_x >= to_x) it 10198 src/xdisp.c eassert (it->nglyphs == 0); it 10204 src/xdisp.c if (ITERATOR_AT_END_OF_LINE_P (it)) it 10210 src/xdisp.c if (it->bidi_p && (op & MOVE_TO_POS) != 0) it 10212 src/xdisp.c if (!saw_smaller_pos && IT_CHARPOS (*it) > to_charpos) it 10216 src/xdisp.c RESTORE_IT (it, &ppos_it, ppos_data); it 10220 src/xdisp.c move_it_in_display_line_to (it, closest_pos, -1, it 10227 src/xdisp.c else if (it->line_wrap == WORD_WRAP && atpos_it.sp >= 0 it 10228 src/xdisp.c && IT_CHARPOS (*it) > to_charpos) it 10239 src/xdisp.c if (it->line_wrap == TRUNCATE it 10240 src/xdisp.c && it->current_x <= it->first_visible_x it 10242 src/xdisp.c && it->char_to_display == '\n') it 10244 src/xdisp.c it->max_ascent = it->ascent; it 10245 src/xdisp.c it->max_descent = it->descent; it 10251 src/xdisp.c it->constrain_row_ascent_descent_p = false; it 10255 src/xdisp.c prev_method = it->method; it 10256 src/xdisp.c if (it->method == GET_FROM_BUFFER) it 10257 src/xdisp.c prev_pos = IT_CHARPOS (*it); it 10268 src/xdisp.c CONSP (it->object) && EQ (XCAR (it->object), Qspace) it 10269 src/xdisp.c && it->sp > 0 && it->method == GET_FROM_STRETCH it 10270 src/xdisp.c && it->current_x >= it->last_visible_x it 10271 src/xdisp.c && it->continuation_lines_width > 0 it 10272 src/xdisp.c && it->line_wrap == TRUNCATE && it->stack[0].line_wrap != TRUNCATE; it 10276 src/xdisp.c set_iterator_to_next (it, true); it 10277 src/xdisp.c if (IT_CHARPOS (*it) < CHARPOS (this_line_min_pos)) it 10278 src/xdisp.c SET_TEXT_POS (this_line_min_pos, IT_CHARPOS (*it), IT_BYTEPOS (*it)); it 10279 src/xdisp.c if (IT_CHARPOS (*it) < to_charpos) it 10281 src/xdisp.c if (it->bidi_p it 10283 src/xdisp.c && IT_CHARPOS (*it) >= to_charpos it 10284 src/xdisp.c && IT_CHARPOS (*it) < closest_pos) it 10285 src/xdisp.c closest_pos = IT_CHARPOS (*it); it 10289 src/xdisp.c if (it->line_wrap == TRUNCATE it 10290 src/xdisp.c && it->current_x >= it->last_visible_x) it 10292 src/xdisp.c if (!FRAME_WINDOW_P (it->f) it 10293 src/xdisp.c || ((it->bidi_p && it->bidi_it.paragraph_dir == R2L) it 10294 src/xdisp.c ? WINDOW_LEFT_FRINGE_WIDTH (it->w) it 10295 src/xdisp.c : WINDOW_RIGHT_FRINGE_WIDTH (it->w)) == 0 it 10296 src/xdisp.c || IT_OVERFLOW_NEWLINE_INTO_FRINGE (it)) it 10300 src/xdisp.c if ((at_eob_p = !get_next_display_element (it)) it 10306 src/xdisp.c || (it->bidi_p && (op & MOVE_TO_POS) != 0 it 10308 src/xdisp.c && IT_CHARPOS (*it) > to_charpos)) it 10310 src/xdisp.c if (it->bidi_p it 10314 src/xdisp.c RESTORE_IT (it, &ppos_it, ppos_data); it 10316 src/xdisp.c move_it_in_display_line_to (it, closest_pos, -1, it 10322 src/xdisp.c if (ITERATOR_AT_END_OF_LINE_P (it)) it 10328 src/xdisp.c else if (it->bidi_p && (op & MOVE_TO_POS) != 0 it 10330 src/xdisp.c && IT_CHARPOS (*it) > to_charpos) it 10334 src/xdisp.c RESTORE_IT (it, &ppos_it, ppos_data); it 10336 src/xdisp.c move_it_in_display_line_to (it, closest_pos, -1, it 10356 src/xdisp.c && it->line_wrap == WORD_WRAP it 10360 src/xdisp.c RESTORE_IT (it, &wrap_it, wrap_data); it 10362 src/xdisp.c RESTORE_IT (it, &atpos_it, atpos_data); it 10364 src/xdisp.c RESTORE_IT (it, &atx_it, atx_data); it 10379 src/xdisp.c it->glyph_row = saved_glyph_row; it 10385 src/xdisp.c move_it_in_display_line (struct it *it, it 10389 src/xdisp.c if (it->line_wrap == WORD_WRAP it 10392 src/xdisp.c struct it save_it; it 10396 src/xdisp.c SAVE_IT (save_it, *it, save_data); it 10397 src/xdisp.c skip = move_it_in_display_line_to (it, to_charpos, to_x, op); it 10404 src/xdisp.c int prev_x = max (it->current_x - 1, 0); it 10405 src/xdisp.c RESTORE_IT (it, &save_it, save_data); it 10407 src/xdisp.c (it, -1, prev_x, MOVE_TO_X); it 10413 src/xdisp.c move_it_in_display_line_to (it, to_charpos, to_x, op); it 10432 src/xdisp.c move_it_to (struct it *it, ptrdiff_t to_charpos, int to_x, int to_y, int to_vpos, int op) it 10443 src/xdisp.c orig_charpos = IT_CHARPOS (*it); it 10444 src/xdisp.c orig_method = it->method; it 10451 src/xdisp.c if (it->vpos == to_vpos) it 10457 src/xdisp.c skip = move_it_in_display_line_to (it, -1, -1, 0); it 10463 src/xdisp.c if (it->vpos == to_vpos) it 10469 src/xdisp.c skip = move_it_in_display_line_to (it, to_charpos, to_x, op); it 10471 src/xdisp.c if (skip == MOVE_POS_MATCH_OR_ZV || it->vpos == to_vpos) it 10476 src/xdisp.c else if (skip == MOVE_X_REACHED && it->vpos != to_vpos) it 10479 src/xdisp.c skip = move_it_in_display_line_to (it, to_charpos, it 10491 src/xdisp.c struct it it_backup; it 10493 src/xdisp.c if (it->line_wrap == WORD_WRAP) it 10494 src/xdisp.c SAVE_IT (it_backup, *it, backup_data); it 10509 src/xdisp.c (it, to_charpos, ((op & MOVE_TO_X) ? to_x : 0), it 10521 src/xdisp.c line_height = it->max_ascent + it->max_descent; it 10522 src/xdisp.c if (to_y >= it->current_y it 10523 src/xdisp.c && to_y < it->current_y + line_height) it 10528 src/xdisp.c SAVE_IT (it_backup, *it, backup_data); it 10529 src/xdisp.c move_trace ("move_it: from %td\n", IT_CHARPOS (*it)); it 10530 src/xdisp.c skip2 = move_it_in_display_line_to (it, to_charpos, -1, it 10532 src/xdisp.c move_trace ("move_it: to %td\n", IT_CHARPOS (*it)); it 10533 src/xdisp.c line_height = it->max_ascent + it->max_descent; it 10536 src/xdisp.c if (to_y >= it->current_y it 10537 src/xdisp.c && to_y < it->current_y + line_height) it 10547 src/xdisp.c int max_ascent = it->max_ascent; it 10548 src/xdisp.c int max_descent = it->max_descent; it 10550 src/xdisp.c RESTORE_IT (it, &it_backup, backup_data); it 10551 src/xdisp.c it->max_ascent = max_ascent; it 10552 src/xdisp.c it->max_descent = max_descent; it 10569 src/xdisp.c && IT_CHARPOS (*it) != to_charpos it 10571 src/xdisp.c == (IT_CHARPOS (*it) > to_charpos))) it 10573 src/xdisp.c int max_ascent = it->max_ascent; it 10574 src/xdisp.c int max_descent = it->max_descent; it 10576 src/xdisp.c RESTORE_IT (it, &it_backup, backup_data); it 10577 src/xdisp.c it->max_ascent = max_ascent; it 10578 src/xdisp.c it->max_descent = max_descent; it 10586 src/xdisp.c line_height = it->max_ascent + it->max_descent; it 10589 src/xdisp.c if (to_y >= it->current_y it 10590 src/xdisp.c && to_y < it->current_y + line_height) it 10592 src/xdisp.c if (to_y > it->current_y) it 10593 src/xdisp.c max_current_x = max (it->current_x, max_current_x); it 10600 src/xdisp.c && it->line_wrap == WORD_WRAP) it 10602 src/xdisp.c int prev_x = max (it->current_x - 1, 0); it 10603 src/xdisp.c RESTORE_IT (it, &it_backup, backup_data); it 10605 src/xdisp.c (it, -1, prev_x, MOVE_TO_X); it 10614 src/xdisp.c max_current_x = max (it->current_x, max_current_x); it 10618 src/xdisp.c else if (BUFFERP (it->object) it 10619 src/xdisp.c && (it->method == GET_FROM_BUFFER it 10620 src/xdisp.c || it->method == GET_FROM_STRETCH) it 10621 src/xdisp.c && IT_CHARPOS (*it) >= to_charpos it 10627 src/xdisp.c && !(it->bidi_p it 10628 src/xdisp.c && it->bidi_it.scan_dir == -1)) it 10631 src/xdisp.c skip = move_it_in_display_line_to (it, to_charpos, -1, MOVE_TO_POS); it 10636 src/xdisp.c max_current_x = max (it->current_x, max_current_x); it 10641 src/xdisp.c max_current_x = max (it->current_x, max_current_x); it 10642 src/xdisp.c if (!IT_OVERFLOW_NEWLINE_INTO_FRINGE (it)) it 10643 src/xdisp.c it->override_ascent = -1; it 10644 src/xdisp.c set_iterator_to_next (it, true); it 10645 src/xdisp.c it->continuation_lines_width = 0; it 10649 src/xdisp.c max_current_x = it->last_visible_x; it 10650 src/xdisp.c it->continuation_lines_width = 0; it 10651 src/xdisp.c reseat_at_next_visible_line_start (it, false); it 10653 src/xdisp.c && (IT_CHARPOS (*it) > to_charpos it 10654 src/xdisp.c || (IT_CHARPOS (*it) == to_charpos it 10662 src/xdisp.c && (it->sp == 0 it 10663 src/xdisp.c || (STRINGP (it->string) it 10664 src/xdisp.c && (it->current.overlay_string_index < 0 it 10665 src/xdisp.c || (it->current.overlay_string_index >= 0 it 10666 src/xdisp.c && it->current.overlay_string_index it 10667 src/xdisp.c >= it->n_overlay_strings - 1)) it 10668 src/xdisp.c && IT_STRING_CHARPOS (*it) >= it->end_charpos))))) it 10676 src/xdisp.c max_current_x = it->last_visible_x; it 10681 src/xdisp.c if (it->c == '\t') it 10683 src/xdisp.c it->continuation_lines_width += it->last_visible_x; it 10687 src/xdisp.c if (it->current_x != it->last_visible_x it 10691 src/xdisp.c line_start_x = it->current_x + it->pixel_width it 10692 src/xdisp.c - it->last_visible_x; it 10693 src/xdisp.c if (FRAME_WINDOW_P (it->f)) it 10695 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); it 10709 src/xdisp.c += it->tab_width * face_font->space_width; it 10712 src/xdisp.c set_iterator_to_next (it, false); it 10725 src/xdisp.c if (IT_CHARPOS (*it) == orig_charpos it 10726 src/xdisp.c && it->method == orig_method it 10728 src/xdisp.c set_iterator_to_next (it, false); it 10729 src/xdisp.c it->continuation_lines_width += it->current_x; it 10738 src/xdisp.c it->current_x = line_start_x; it 10740 src/xdisp.c it->hpos = 0; it 10741 src/xdisp.c it->line_number_produced_p = false; it 10742 src/xdisp.c it->current_y += it->max_ascent + it->max_descent; it 10743 src/xdisp.c ++it->vpos; it 10744 src/xdisp.c last_height = it->max_ascent + it->max_descent; it 10745 src/xdisp.c it->max_ascent = it->max_descent = 0; it 10755 src/xdisp.c if (!FRAME_WINDOW_P (it->f) it 10757 src/xdisp.c && IT_CHARPOS (*it) == to_charpos it 10758 src/xdisp.c && it->what == IT_CHARACTER it 10759 src/xdisp.c && it->nglyphs > 1 it 10760 src/xdisp.c && it->line_wrap == WINDOW_WRAP it 10761 src/xdisp.c && it->current_x == it->last_visible_x - 1 it 10762 src/xdisp.c && it->c != '\n' it 10763 src/xdisp.c && it->c != '\t' it 10764 src/xdisp.c && it->w->window_end_valid it 10765 src/xdisp.c && it->vpos < it->w->window_end_vpos) it 10767 src/xdisp.c it->continuation_lines_width += it->current_x; it 10768 src/xdisp.c it->current_x = it->hpos = it->max_ascent = it->max_descent = 0; it 10769 src/xdisp.c it->current_y += it->max_ascent + it->max_descent; it 10770 src/xdisp.c ++it->vpos; it 10771 src/xdisp.c last_height = it->max_ascent + it->max_descent; it 10793 src/xdisp.c move_it_vertically_backward (struct it *it, int dy) it 10796 src/xdisp.c struct it it2, it3; it 10800 src/xdisp.c = (it->last_visible_x - it->first_visible_x) / FRAME_COLUMN_WIDTH (it->f); it 10806 src/xdisp.c start_pos = IT_CHARPOS (*it); it 10809 src/xdisp.c nlines = max (1, dy / default_line_pixel_height (it->w)); it 10810 src/xdisp.c if (it->line_wrap == TRUNCATE || nchars_per_row == 0) it 10818 src/xdisp.c while (nlines-- && IT_CHARPOS (*it) > pos_limit) it 10819 src/xdisp.c back_to_previous_visible_line_start (it); it 10825 src/xdisp.c reseat_1 (it, it->current.pos, true); it 10828 src/xdisp.c it->current_x = it->hpos = 0; /* FIXME: this is incorrect when bidi it 10830 src/xdisp.c it->continuation_lines_width = 0; it 10836 src/xdisp.c SAVE_IT (it2, *it, it2data); it 10853 src/xdisp.c eassert (IT_CHARPOS (*it) >= BEGV); it 10857 src/xdisp.c eassert (IT_CHARPOS (*it) >= BEGV); it 10860 src/xdisp.c h = it2.current_y - it->current_y; it 10862 src/xdisp.c nlines = it2.vpos - it->vpos; it 10866 src/xdisp.c it->vpos -= nlines; it 10867 src/xdisp.c it->current_y -= h; it 10874 src/xdisp.c RESTORE_IT (it, it, it2data); it 10876 src/xdisp.c move_it_by_lines (it, nlines); it 10883 src/xdisp.c if (it->bidi_p it 10884 src/xdisp.c && !it->continuation_lines_width it 10885 src/xdisp.c && !STRINGP (it->string) it 10886 src/xdisp.c && IT_CHARPOS (*it) > BEGV it 10887 src/xdisp.c && FETCH_BYTE (IT_BYTEPOS (*it) - 1) != '\n') it 10889 src/xdisp.c ptrdiff_t cp = IT_CHARPOS (*it), bp = IT_BYTEPOS (*it); it 10892 src/xdisp.c SET_WITH_NARROWED_BEGV (it, cp, it 10894 src/xdisp.c get_small_narrowing_begv (it->w, IT_CHARPOS (*it))); it 10895 src/xdisp.c move_it_to (it, cp, -1, -1, -1, MOVE_TO_POS); it 10903 src/xdisp.c int target_y = it->current_y + h - dy; it 10911 src/xdisp.c RESTORE_IT (it, it, it2data); it 10914 src/xdisp.c if (target_y < it->current_y it 10919 src/xdisp.c && (it->current_y - target_y it 10920 src/xdisp.c > min (window_box_height (it->w), line_height * 2 / 3)) it 10921 src/xdisp.c && IT_CHARPOS (*it) > BEGV) it 10924 src/xdisp.c target_y - it->current_y); it 10925 src/xdisp.c dy = it->current_y - target_y; it 10928 src/xdisp.c else if (target_y >= it->current_y + line_height it 10929 src/xdisp.c && IT_CHARPOS (*it) < ZV) it 10939 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) it 10940 src/xdisp.c move_it_vertically (it, target_y - it->current_y); it 10947 src/xdisp.c last_pos = it->current.pos; it 10948 src/xdisp.c last_y = it->current_y; it 10949 src/xdisp.c last_vpos = it->vpos; it 10950 src/xdisp.c move_it_by_lines (it, 1); it 10952 src/xdisp.c while (target_y > it->current_y && IT_CHARPOS (*it) < ZV); it 10953 src/xdisp.c if (it->current_y > target_y) it 10955 src/xdisp.c reseat (it, last_pos, true); it 10956 src/xdisp.c it->current_y = last_y; it 10957 src/xdisp.c it->vpos = last_vpos; it 10970 src/xdisp.c move_it_vertically (struct it *it, int dy) it 10973 src/xdisp.c move_it_vertically_backward (it, -dy); it 10976 src/xdisp.c move_trace ("move_it_v: from %td, %d\n", IT_CHARPOS (*it), dy); it 10977 src/xdisp.c move_it_to (it, ZV, -1, it->current_y + dy, -1, it 10979 src/xdisp.c move_trace ("move_it_v: to %td\n", IT_CHARPOS (*it)); it 10983 src/xdisp.c if (IT_CHARPOS (*it) == ZV it 10985 src/xdisp.c && FETCH_BYTE (IT_BYTEPOS (*it) - 1) != '\n') it 10986 src/xdisp.c move_it_by_lines (it, 0); it 10994 src/xdisp.c move_it_past_eol (struct it *it) it 10998 src/xdisp.c rc = move_it_in_display_line_to (it, Z, 0, MOVE_TO_POS); it 11000 src/xdisp.c set_iterator_to_next (it, false); it 11013 src/xdisp.c move_it_by_lines (struct it *it, ptrdiff_t dvpos) it 11035 src/xdisp.c move_it_vertically_backward (it, 0); it 11041 src/xdisp.c move_it_to (it, -1, -1, -1, it->vpos + dvpos, MOVE_TO_VPOS); it 11042 src/xdisp.c if (!IT_POS_VALID_AFTER_MOVE_P (it)) it 11054 src/xdisp.c move_it_to (it, IT_CHARPOS (*it) + it->string_from_display_prop_p, it 11060 src/xdisp.c struct it it2; it 11064 src/xdisp.c = (it->last_visible_x - it->first_visible_x) / FRAME_COLUMN_WIDTH (it->f); it 11071 src/xdisp.c dvpos += it->vpos; it 11072 src/xdisp.c orig_charpos = IT_CHARPOS (*it); it 11073 src/xdisp.c move_it_vertically_backward (it, 0); it 11074 src/xdisp.c dvpos -= it->vpos; it 11078 src/xdisp.c start_charpos = IT_CHARPOS (*it); it 11079 src/xdisp.c if (it->line_wrap == TRUNCATE || nchars_per_row == 0) it 11084 src/xdisp.c for (i = -dvpos; i > 0 && IT_CHARPOS (*it) > pos_limit; --i) it 11085 src/xdisp.c back_to_previous_visible_line_start (it); it 11086 src/xdisp.c if (i > 0 && IT_CHARPOS (*it) <= pos_limit) it 11088 src/xdisp.c reseat (it, it->current.pos, true); it 11091 src/xdisp.c while (!IT_POS_VALID_AFTER_MOVE_P (it)) it 11094 src/xdisp.c dvpos += it->vpos; it 11095 src/xdisp.c move_it_vertically_backward (it, 0); it 11096 src/xdisp.c dvpos -= it->vpos; it 11097 src/xdisp.c if (IT_POS_VALID_AFTER_MOVE_P (it)) it 11101 src/xdisp.c back_to_previous_visible_line_start (it); it 11102 src/xdisp.c reseat (it, it->current.pos, true); it 11106 src/xdisp.c it->current_x = it->hpos = 0; it 11110 src/xdisp.c SAVE_IT (it2, *it, it2data); it 11113 src/xdisp.c it->vpos -= it2.vpos; it 11114 src/xdisp.c it->current_y -= it2.current_y; it 11115 src/xdisp.c it->current_x = it->hpos = 0; it 11123 src/xdisp.c SAVE_IT (it2, *it, it2data); it 11124 src/xdisp.c move_it_to (it, -1, -1, -1, it->vpos + delta, MOVE_TO_VPOS); it 11127 src/xdisp.c if (it->vpos - it2.vpos > delta || IT_CHARPOS (*it) == orig_charpos) it 11128 src/xdisp.c RESTORE_IT (it, &it2, it2data); it 11144 src/xdisp.c RESTORE_IT (it, it, it2data); it 11147 src/xdisp.c back_to_previous_visible_line_start (it); it 11148 src/xdisp.c it->vpos--; it 11150 src/xdisp.c reseat_1 (it, it->current.pos, true); it 11153 src/xdisp.c RESTORE_IT (it, it, it2data); it 11158 src/xdisp.c partial_line_height (struct it *it_origin) it 11171 src/xdisp.c struct it it; it 11172 src/xdisp.c SAVE_IT (it, *it_origin, it_data); it 11173 src/xdisp.c move_it_to (&it, ZV, -1, it.last_visible_y, -1, it 11175 src/xdisp.c if (it.what == IT_EOB) it 11177 src/xdisp.c int vis_height = it.last_visible_y - it.current_y; it 11178 src/xdisp.c int height = it.ascent + it.descent; it 11183 src/xdisp.c int last_line_y = it.current_y; it 11184 src/xdisp.c move_it_by_lines (&it, 1); it 11185 src/xdisp.c partial_height = (it.current_y > it.last_visible_y) it 11186 src/xdisp.c ? it.last_visible_y - last_line_y : 0; it 11188 src/xdisp.c RESTORE_IT (&it, &it, it_data); it 11204 src/xdisp.c fast_move_it_horizontally (struct it *it, ptrdiff_t nchars) it 11207 src/xdisp.c ptrdiff_t nl_pos = find_newline_no_quit (IT_CHARPOS (*it), IT_BYTEPOS (*it), it 11212 src/xdisp.c if (nl_pos - IT_CHARPOS (*it) > nchars) it 11215 src/xdisp.c IT_CHARPOS (*it) + nchars, it 11216 src/xdisp.c CHAR_TO_BYTE (IT_CHARPOS (*it) + nchars)); it 11233 src/xdisp.c reseat (it, new_pos, false); it 11240 src/xdisp.c in_display_vector_p (struct it *it) it 11242 src/xdisp.c return (it->method == GET_FROM_DISPLAY_VECTOR it 11243 src/xdisp.c && it->current.dpvec_index > 0 it 11244 src/xdisp.c && it->dpvec + it->current.dpvec_index != it->dpend); it 11257 src/xdisp.c struct it it; it 11340 src/xdisp.c start_display (&it, w, startp); it 11342 src/xdisp.c int start_y = it.current_y; it 11350 src/xdisp.c it.bidi_p = false; it 11356 src/xdisp.c it.current_y = 0; it 11358 src/xdisp.c move_it_by_lines (&it, 0); it 11366 src/xdisp.c while (it.current_y > vertical_offset) it 11368 src/xdisp.c last_y = it.current_y; it 11369 src/xdisp.c move_it_vertically_backward (&it, it 11371 src/xdisp.c + it.current_y)); it 11373 src/xdisp.c if (it.current_y == last_y) it 11379 src/xdisp.c move_it_vertically (&it, vertical_offset); it 11382 src/xdisp.c it.current_y = (WINDOW_TAB_LINE_HEIGHT (w) it 11384 src/xdisp.c start = clip_to_bounds (BEGV, IT_CHARPOS (it), ZV); it 11385 src/xdisp.c start_y = it.current_y; it 11386 src/xdisp.c start_x = it.current_x; it 11393 src/xdisp.c reseat_at_previous_visible_line_start (&it); it 11394 src/xdisp.c it.current_x = it.hpos = 0; it 11395 src/xdisp.c if (IT_CHARPOS (it) != start) it 11398 src/xdisp.c struct it it1; it 11400 src/xdisp.c SAVE_IT (it1, it, it1data); it 11401 src/xdisp.c move_it_to (&it, start, -1, -1, -1, MOVE_TO_POS); it 11407 src/xdisp.c if (IT_CHARPOS (it) > start && start > BEGV) it 11412 src/xdisp.c RESTORE_IT (&it, &it1, it1data); it 11419 src/xdisp.c move_it_to (&it, start - 1, -1, -1, -1, MOVE_TO_POS); it 11421 src/xdisp.c move_it_in_display_line (&it, start, it1_x + 1, it 11423 src/xdisp.c move_it_to (&it, start - 1, -1, -1, -1, MOVE_TO_POS); it 11424 src/xdisp.c start_x = it.current_x; it 11428 src/xdisp.c if (IT_CHARPOS (it) == start - 1) it 11429 src/xdisp.c start_x += it.pixel_width; it 11433 src/xdisp.c start_x = it.current_x; it 11438 src/xdisp.c start_x = it.current_x; it 11444 src/xdisp.c it.current_y = start_y; it 11448 src/xdisp.c it.current_x = 0; it 11451 src/xdisp.c it.last_visible_x = max_x; it 11460 src/xdisp.c struct it it2; it 11461 src/xdisp.c SAVE_IT (it2, it, it2data); it 11463 src/xdisp.c x = move_it_to (&it, end, to_x, max_y, -1, move_op); it 11469 src/xdisp.c if (IT_CHARPOS (it) > end) it 11472 src/xdisp.c RESTORE_IT (&it, &it2, it2data); it 11473 src/xdisp.c x = move_it_to (&it, end, to_x, max_y, -1, move_op); it 11477 src/xdisp.c if (IT_CHARPOS (it) == end) it 11479 src/xdisp.c x += it.pixel_width; it 11483 src/xdisp.c doff = (max (it.max_ascent, it.ascent) it 11484 src/xdisp.c + max (it.max_descent, it.descent)); it 11487 src/xdisp.c it.max_ascent = max (it.max_ascent, it.ascent); it 11488 src/xdisp.c it.max_descent = max (it.max_descent, it.descent); it 11505 src/xdisp.c if (it.current_y > start_y) it 11511 src/xdisp.c y = (it.current_y + doff it 11515 src/xdisp.c y = (it.current_y + it.max_ascent + it.max_descent + doff it 11711 src/xdisp.c struct it it; it 11722 src/xdisp.c start_display (&it, w, startpos); it 11724 src/xdisp.c if (it.line_wrap != TRUNCATE) it 11726 src/xdisp.c it.glyph_row = NULL; it 11727 src/xdisp.c rc = move_it_in_display_line_to (&it, ZV, -1, MOVE_TO_POS); it 12758 src/xdisp.c struct it it; it 12771 src/xdisp.c init_iterator (&it, w, BEGV, BEGV_BYTE, NULL, DEFAULT_FACE_ID); it 12786 src/xdisp.c move_it_to (&it, ZV, -1, -1, -1, MOVE_TO_POS); it 12789 src/xdisp.c if (it.max_ascent == 0 && it.max_descent == 0) it 12791 src/xdisp.c height = it.current_y; it 12797 src/xdisp.c if (!(it.line_wrap == TRUNCATE it 12798 src/xdisp.c && it.current_x <= it.first_visible_x it 12804 src/xdisp.c height = it.current_y + it.max_ascent + it.max_descent; it 12805 src/xdisp.c height -= min (it.extra_line_spacing, it.max_extra_line_spacing); it 12813 src/xdisp.c init_iterator (&it, w, ZV, ZV_BYTE, NULL, DEFAULT_FACE_ID); it 12814 src/xdisp.c move_it_vertically_backward (&it, height - unit); it 12824 src/xdisp.c move_it_by_lines (&it, 0); it 12825 src/xdisp.c start = it.current.pos; it 13558 src/xdisp.c struct it it; it 13609 src/xdisp.c init_iterator (&it, XWINDOW (f->selected_window), -1, -1, it 13611 src/xdisp.c display_mode_element (&it, 0, -1, -1, fmt, Qnil, false); it 14075 src/xdisp.c struct it it; it 14096 src/xdisp.c init_iterator (&it, w, -1, -1, f->desired_matrix->rows it 14099 src/xdisp.c it.first_visible_x = 0; it 14100 src/xdisp.c it.last_visible_x = FRAME_PIXEL_WIDTH (f); it 14108 src/xdisp.c init_iterator (&it, tab_w, -1, -1, tab_w->desired_matrix->rows, it 14110 src/xdisp.c it.first_visible_x = 0; it 14111 src/xdisp.c it.last_visible_x = FRAME_PIXEL_WIDTH (f); it 14118 src/xdisp.c init_iterator (&it, w, -1, -1, f->desired_matrix->rows it 14121 src/xdisp.c it.first_visible_x = 0; it 14122 src/xdisp.c it.last_visible_x = FRAME_COLS (f); it 14128 src/xdisp.c it.paragraph_embedding = L2R; it 14133 src/xdisp.c struct glyph_row *row = it.glyph_row + i; it 14141 src/xdisp.c items = it.f->tab_bar_items; it 14143 src/xdisp.c for (i = 0, j = 0; i < it.f->n_tab_bar_items; ++i, j += TAB_BAR_ITEM_NSLOTS) it 14151 src/xdisp.c if (it.current_x < it.last_visible_x) it 14152 src/xdisp.c display_string (NULL, string, Qnil, 0, 0, &it, it 14157 src/xdisp.c if (it.current_x < it.last_visible_x) it 14158 src/xdisp.c display_string ("", Qnil, Qnil, 0, 0, &it, -1, 0, 0, -1); it 14161 src/xdisp.c compute_line_metrics (&it); it 14221 src/xdisp.c display_tab_bar_line (struct it *it, int height) it 14223 src/xdisp.c struct glyph_row *row = it->glyph_row; it 14224 src/xdisp.c int max_x = it->last_visible_x; it 14230 src/xdisp.c row->y = it->current_y; it 14234 src/xdisp.c it->start_of_box_run_p = true; it 14237 src/xdisp.c while (it->current_x < max_x) it 14240 src/xdisp.c struct it it_before; it 14243 src/xdisp.c if (!get_next_display_element (it)) it 14246 src/xdisp.c if (height < 0 && !it->hpos) it 14253 src/xdisp.c it_before = *it; it 14255 src/xdisp.c PRODUCE_GLYPHS (it); it 14268 src/xdisp.c *it = it_before; it 14273 src/xdisp.c && (it->vpos > 0 || IT_STRING_CHARPOS (*it) < it->end_charpos-1)) it 14278 src/xdisp.c ++it->hpos; it 14283 src/xdisp.c enough = ITERATOR_AT_END_OF_LINE_P (it); it 14284 src/xdisp.c set_iterator_to_next (it, true); it 14303 src/xdisp.c it->face_id = DEFAULT_FACE_ID; it 14305 src/xdisp.c extend_face_to_end_of_line (it); it 14312 src/xdisp.c if ((height -= it->max_ascent + it->max_descent) > 0) it 14315 src/xdisp.c height %= FRAME_LINE_HEIGHT (it->f); it 14316 src/xdisp.c it->max_ascent += height / 2; it 14317 src/xdisp.c it->max_descent += (height + 1) / 2; it 14320 src/xdisp.c compute_line_metrics (it); it 14325 src/xdisp.c row->height = row->phys_height = it->last_visible_y - row->y; it 14336 src/xdisp.c it->current_x = it->hpos = 0; it 14337 src/xdisp.c it->current_y += row->height; it 14338 src/xdisp.c ++it->vpos; it 14339 src/xdisp.c ++it->glyph_row; it 14350 src/xdisp.c struct it it; it 14358 src/xdisp.c init_iterator (&it, w, -1, -1, temp_row, TAB_BAR_FACE_ID); it 14360 src/xdisp.c it.first_visible_x = 0; it 14361 src/xdisp.c it.last_visible_x = WINDOW_PIXEL_WIDTH (w); it 14362 src/xdisp.c reseat_to_string (&it, NULL, f->desired_tab_bar_string, it 14364 src/xdisp.c it.paragraph_embedding = L2R; it 14367 src/xdisp.c while (!ITERATOR_AT_END_P (&it)) it 14369 src/xdisp.c it.glyph_row = temp_row; it 14370 src/xdisp.c display_tab_bar_line (&it, -1); it 14376 src/xdisp.c *n_rows = it.vpos > 0 ? it.vpos : -1; it 14379 src/xdisp.c return it.current_y; it 14381 src/xdisp.c return (it.current_y + FRAME_LINE_HEIGHT (f) - 1) / FRAME_LINE_HEIGHT (f); it 14416 src/xdisp.c struct it it; it 14471 src/xdisp.c init_iterator (&it, w, -1, -1, w->desired_matrix->rows, TAB_BAR_FACE_ID); it 14472 src/xdisp.c it.first_visible_x = 0; it 14473 src/xdisp.c it.last_visible_x = WINDOW_PIXEL_WIDTH (w); it 14474 src/xdisp.c row = it.glyph_row; it 14476 src/xdisp.c reseat_to_string (&it, NULL, f->desired_tab_bar_string, 0, 0, 0, it 14485 src/xdisp.c it.paragraph_embedding = L2R; it 14505 src/xdisp.c height = max (1, (it.last_visible_y - border) / rows); it 14506 src/xdisp.c extra = it.last_visible_y - border - height * rows; it 14508 src/xdisp.c while (it.current_y < it.last_visible_y) it 14516 src/xdisp.c display_tab_bar_line (&it, height + h); it 14521 src/xdisp.c while (it.current_y < it.last_visible_y) it 14522 src/xdisp.c display_tab_bar_line (&it, 0); it 14536 src/xdisp.c if (IT_STRING_CHARPOS (it) < it.end_charpos) it 14543 src/xdisp.c row = it.glyph_row - 1; it 14555 src/xdisp.c && MATRIX_ROW_BOTTOM_Y (row) > it.last_visible_y) it 15158 src/xdisp.c display_tool_bar_line (struct it *it, int height) it 15160 src/xdisp.c struct glyph_row *row = it->glyph_row; it 15161 src/xdisp.c int max_x = it->last_visible_x; it 15167 src/xdisp.c row->y = it->current_y; it 15171 src/xdisp.c it->start_of_box_run_p = true; it 15173 src/xdisp.c while (it->current_x < max_x) it 15176 src/xdisp.c struct it it_before; it 15179 src/xdisp.c if (!get_next_display_element (it)) it 15182 src/xdisp.c if (height < 0 && !it->hpos) it 15189 src/xdisp.c it_before = *it; it 15191 src/xdisp.c PRODUCE_GLYPHS (it); it 15204 src/xdisp.c *it = it_before; it 15209 src/xdisp.c && (it->vpos > 0 || IT_STRING_CHARPOS (*it) < it->end_charpos-1)) it 15214 src/xdisp.c ++it->hpos; it 15220 src/xdisp.c if (ITERATOR_AT_END_OF_LINE_P (it)) it 15223 src/xdisp.c set_iterator_to_next (it, true); it 15238 src/xdisp.c it->face_id = DEFAULT_FACE_ID; it 15240 src/xdisp.c extend_face_to_end_of_line (it); it 15247 src/xdisp.c if ((height -= it->max_ascent + it->max_descent) > 0) it 15250 src/xdisp.c height %= FRAME_LINE_HEIGHT (it->f); it 15251 src/xdisp.c it->max_ascent += height / 2; it 15252 src/xdisp.c it->max_descent += (height + 1) / 2; it 15255 src/xdisp.c compute_line_metrics (it); it 15260 src/xdisp.c row->height = row->phys_height = it->last_visible_y - row->y; it 15271 src/xdisp.c it->current_x = it->hpos = 0; it 15272 src/xdisp.c it->current_y += row->height; it 15273 src/xdisp.c ++it->vpos; it 15274 src/xdisp.c ++it->glyph_row; it 15285 src/xdisp.c struct it it; it 15293 src/xdisp.c init_iterator (&it, w, -1, -1, temp_row, TOOL_BAR_FACE_ID); it 15295 src/xdisp.c it.first_visible_x = 0; it 15296 src/xdisp.c it.last_visible_x = WINDOW_PIXEL_WIDTH (w); it 15297 src/xdisp.c reseat_to_string (&it, NULL, f->desired_tool_bar_string, it 15299 src/xdisp.c it.paragraph_embedding = L2R; it 15301 src/xdisp.c while (!ITERATOR_AT_END_P (&it)) it 15304 src/xdisp.c it.glyph_row = temp_row; it 15305 src/xdisp.c display_tool_bar_line (&it, -1); it 15311 src/xdisp.c *n_rows = it.vpos > 0 ? it.vpos : -1; it 15314 src/xdisp.c return it.current_y; it 15316 src/xdisp.c return (it.current_y + FRAME_LINE_HEIGHT (f) - 1) / FRAME_LINE_HEIGHT (f); it 15356 src/xdisp.c struct it it; it 15380 src/xdisp.c init_iterator (&it, w, -1, -1, w->desired_matrix->rows, TOOL_BAR_FACE_ID); it 15381 src/xdisp.c it.first_visible_x = 0; it 15382 src/xdisp.c it.last_visible_x = WINDOW_PIXEL_WIDTH (w); it 15383 src/xdisp.c row = it.glyph_row; it 15388 src/xdisp.c reseat_to_string (&it, NULL, f->desired_tool_bar_string, it 15397 src/xdisp.c it.paragraph_embedding = L2R; it 15433 src/xdisp.c height = max (1, (it.last_visible_y - border) / rows); it 15434 src/xdisp.c extra = it.last_visible_y - border - height * rows; it 15436 src/xdisp.c while (it.current_y < it.last_visible_y) it 15444 src/xdisp.c display_tool_bar_line (&it, height + h); it 15449 src/xdisp.c while (it.current_y < it.last_visible_y) it 15450 src/xdisp.c display_tool_bar_line (&it, 0); it 15464 src/xdisp.c if (IT_STRING_CHARPOS (it) < it.end_charpos) it 15471 src/xdisp.c row = it.glyph_row - 1; it 15483 src/xdisp.c && MATRIX_ROW_BOTTOM_Y (row) > it.last_visible_y) it 15947 src/xdisp.c struct it it; it 15964 src/xdisp.c init_to_row_start (&it, w, cursor_row); it 15966 src/xdisp.c it.first_visible_x = window_hscroll_limited (w, it.f) it 15967 src/xdisp.c * FRAME_COLUMN_WIDTH (it.f); it 15968 src/xdisp.c it.last_visible_x = DISP_INFINITY; it 15970 src/xdisp.c ptrdiff_t nchars = pt - IT_CHARPOS (it); it 15978 src/xdisp.c fast_move_it_horizontally (&it, nchars); it 15979 src/xdisp.c it.current_x += nchars * FRAME_COLUMN_WIDTH (it.f); it 15982 src/xdisp.c move_it_in_display_line_to (&it, pt, -1, MOVE_TO_POS); it 15989 src/xdisp.c if (it.method == GET_FROM_STRING && pt > 1) it 15991 src/xdisp.c init_to_row_start (&it, w, cursor_row); it 15993 src/xdisp.c it.first_visible_x = (window_hscroll_limited (w, it.f) it 15994 src/xdisp.c * FRAME_COLUMN_WIDTH (it.f)); it 15998 src/xdisp.c fast_move_it_horizontally (&it, nchars - 1); it 15999 src/xdisp.c it.current_x += (nchars - 1) * FRAME_COLUMN_WIDTH (it.f); it 16002 src/xdisp.c move_it_in_display_line_to (&it, pt - 1, -1, MOVE_TO_POS); it 16008 src/xdisp.c hscroll = max (0, (it.current_x it 16009 src/xdisp.c - (ITERATOR_AT_END_OF_LINE_P (&it) it 16010 src/xdisp.c ? (text_area_width - 4 * FRAME_COLUMN_WIDTH (it.f)) it 16012 src/xdisp.c / FRAME_COLUMN_WIDTH (it.f); it 16022 src/xdisp.c - hscroll_step_abs * FRAME_COLUMN_WIDTH (it.f) it 16025 src/xdisp.c = max (0, it.current_x - wanted_x) / FRAME_COLUMN_WIDTH (it.f); it 16034 src/xdisp.c hscroll_step_abs * FRAME_COLUMN_WIDTH (it.f) it 16037 src/xdisp.c = max (0, it.current_x - wanted_x) / FRAME_COLUMN_WIDTH (it.f); it 16350 src/xdisp.c overlay_arrow_at_row (struct it *it, struct glyph_row *row) it 16370 src/xdisp.c if (FRAME_WINDOW_P (it->f) it 16373 src/xdisp.c && WINDOW_LEFT_FRINGE_WIDTH (it->w) > 0) it 16803 src/xdisp.c struct it it; it 16808 src/xdisp.c start_display (&it, w, tlbufpos); it 16811 src/xdisp.c if (it.current_x != this_line_start_x) it 16817 src/xdisp.c if (it.sp > 1 it 16818 src/xdisp.c && it.method == GET_FROM_IMAGE && it.image_id == -1) it 16823 src/xdisp.c it.vpos = this_line_vpos; it 16824 src/xdisp.c it.current_y = this_line_y; it 16825 src/xdisp.c it.glyph_row = MATRIX_ROW (w->desired_matrix, this_line_vpos); it 16826 src/xdisp.c display_line (&it, -1); it 16847 src/xdisp.c if (it.current_y < it.last_visible_y) it 16874 src/xdisp.c if (MATRIX_ROW_DISPLAYS_TEXT_P (it.glyph_row - 1)) it 16929 src/xdisp.c struct it it; it 16935 src/xdisp.c init_iterator (&it, w, CHARPOS (tlbufpos), BYTEPOS (tlbufpos), it 16937 src/xdisp.c it.current_x = this_line_start_x; it 16938 src/xdisp.c it.current_y = this_line_y; it 16939 src/xdisp.c it.vpos = this_line_vpos; it 16942 src/xdisp.c && it.line_wrap == TRUNCATE it 16948 src/xdisp.c reseat_at_next_visible_line_start (&it, false); it 16949 src/xdisp.c if (IT_CHARPOS (it) <= PT) /* point moved off this line */ it 16950 src/xdisp.c it.vpos = this_line_vpos + 1; it 16956 src/xdisp.c move_it_to (&it, PT, -1, -1, -1, MOVE_TO_POS); it 16959 src/xdisp.c if (it.vpos == this_line_vpos it 16963 src/xdisp.c eassert (this_line_vpos == it.vpos); it 16964 src/xdisp.c eassert (this_line_y == it.current_y); it 18482 src/xdisp.c struct it it; it 18535 src/xdisp.c start_display (&it, w, startp); it 18536 src/xdisp.c scroll_margin_y = it.last_visible_y - partial_line_height (&it) it 18539 src/xdisp.c move_it_to (&it, PT, -1, scroll_margin_y - 1, -1, it 18542 src/xdisp.c if (PT > CHARPOS (it.current.pos)) it 18544 src/xdisp.c int y0 = line_bottom_y (&it); it 18551 src/xdisp.c int y_to_move = it.last_visible_y + slack; it 18557 src/xdisp.c move_it_to (&it, PT, -1, y_to_move, it 18559 src/xdisp.c dy = line_bottom_y (&it) - y0; it 18567 src/xdisp.c else if (PT == IT_CHARPOS (it) it 18568 src/xdisp.c && IT_CHARPOS (it) < ZV it 18569 src/xdisp.c && it.method == GET_FROM_STRING it 18571 src/xdisp.c && it.current_x == 0) it 18574 src/xdisp.c int y1 = it.current_y; it 18584 src/xdisp.c skip = move_it_in_display_line_to (&it, ZV, -1, MOVE_TO_POS); it 18586 src/xdisp.c || IT_CHARPOS (it) != PT it 18587 src/xdisp.c || it.method == GET_FROM_BUFFER) it 18589 src/xdisp.c vpos = it.vpos; it 18590 src/xdisp.c move_it_to (&it, -1, -1, -1, vpos + 1, MOVE_TO_VPOS); it 18591 src/xdisp.c } while (it.vpos > vpos); it 18593 src/xdisp.c dy = it.current_y - y1; it 18640 src/xdisp.c start_display (&it, w, startp); it 18642 src/xdisp.c move_it_vertically (&it, amount_to_scroll); it 18651 src/xdisp.c struct it it1; it 18657 src/xdisp.c SAVE_IT (it1, it, it1data); it 18660 src/xdisp.c RESTORE_IT (&it, &it, it1data); it 18661 src/xdisp.c move_it_by_lines (&it, 1); it 18662 src/xdisp.c SAVE_IT (it1, it, it1data); it 18663 src/xdisp.c } while (IT_CHARPOS (it) < ZV it 18669 src/xdisp.c if (IT_CHARPOS (it) == CHARPOS (startp)) it 18670 src/xdisp.c move_it_by_lines (&it, 1); it 18671 src/xdisp.c startp = it.current.pos; it 18684 src/xdisp.c start_display (&it, w, startp); it 18685 src/xdisp.c y_start = it.current_y; it 18686 src/xdisp.c move_it_vertically (&it, this_scroll_margin); it 18687 src/xdisp.c scroll_margin_pos = it.current.pos; it 18691 src/xdisp.c if (IT_CHARPOS (it) == ZV it 18692 src/xdisp.c && it.current_y - y_start < this_scroll_margin) it 18693 src/xdisp.c y_offset = this_scroll_margin - (it.current_y - y_start); it 18708 src/xdisp.c start_display (&it, w, pos); it 18709 src/xdisp.c y0 = it.current_y; it 18710 src/xdisp.c y_to_move = max (it.last_visible_y, it 18712 src/xdisp.c move_it_to (&it, CHARPOS (scroll_margin_pos), 0, it 18715 src/xdisp.c dy = it.current_y - y0; it 18717 src/xdisp.c || IT_CHARPOS (it) < CHARPOS (scroll_margin_pos)) it 18724 src/xdisp.c start_display (&it, w, startp); it 18755 src/xdisp.c move_it_vertically_backward (&it, amount_to_scroll); it 18756 src/xdisp.c startp = it.current.pos; it 18824 src/xdisp.c struct it it; it 18837 src/xdisp.c init_iterator (&it, w, CHARPOS (start_pos), BYTEPOS (start_pos), it 18839 src/xdisp.c reseat_at_previous_visible_line_start (&it); it 18847 src/xdisp.c if (IT_CHARPOS (it) <= PT it 18848 src/xdisp.c && (CHARPOS (start_pos) - IT_CHARPOS (it) it 18860 src/xdisp.c pos_before_pt = pos = it.current.pos; it 18862 src/xdisp.c while ((distance = eabs (CHARPOS (start_pos) - IT_CHARPOS (it))), it 18868 src/xdisp.c pos = it.current.pos; it 18869 src/xdisp.c if (it.line_wrap == WORD_WRAP) it 18880 src/xdisp.c move_it_to (&it, ZV, it.last_visible_x, it.current_y, -1, it 18882 src/xdisp.c move_it_to (&it, ZV, 0, it 18883 src/xdisp.c it.current_y + it.max_ascent + it.max_descent, -1, it 18887 src/xdisp.c move_it_by_lines (&it, 1); it 19353 src/xdisp.c struct it it; it 19361 src/xdisp.c start_display (&it, w, start_pos); it 19362 src/xdisp.c move_it_to (&it, -1, it.last_visible_x, window_box_height (w), -1, it 19364 src/xdisp.c end -= (BUF_Z (buf) - IT_CHARPOS (it)) - w->window_end_pos; it 19392 src/xdisp.c struct it it; it 19402 src/xdisp.c start_display (&it, w, startp); it 19403 src/xdisp.c it.last_visible_x = INT_MAX; it 19404 src/xdisp.c whole = move_it_to (&it, -1, INT_MAX, window_box_height (w), -1, it 19419 src/xdisp.c if (it.bidi_p) it 19543 src/xdisp.c struct it it; it 19768 src/xdisp.c start_display (&it, w, startp); it 19769 src/xdisp.c move_it_to (&it, PT, 0, it.last_visible_y, -1, it 19773 src/xdisp.c it_charpos = IT_CHARPOS (it); it 19779 src/xdisp.c if (it.current_y == 0 || line_bottom_y (&it) < it.last_visible_y) it 20232 src/xdisp.c init_iterator (&it, w, PT, PT_BYTE, NULL, DEFAULT_FACE_ID); it 20233 src/xdisp.c it.current_y = it.last_visible_y; it 20251 src/xdisp.c struct it it1; it 20254 src/xdisp.c SAVE_IT (it1, it, it1data); it 20258 src/xdisp.c RESTORE_IT (&it, &it, it1data); it 20288 src/xdisp.c centering_position = it.last_visible_y; it 20308 src/xdisp.c && it.line_wrap == TRUNCATE) it 20315 src/xdisp.c while (nlines-- && IT_CHARPOS (it) > BEGV) it 20316 src/xdisp.c back_to_previous_visible_line_start (&it); it 20317 src/xdisp.c reseat_1 (&it, it.current.pos, true); it 20320 src/xdisp.c move_it_vertically_backward (&it, centering_position); it 20322 src/xdisp.c eassert (IT_CHARPOS (it) >= BEGV); it 20329 src/xdisp.c if (it.current_y <= 0) it 20331 src/xdisp.c init_iterator (&it, w, PT, PT_BYTE, NULL, DEFAULT_FACE_ID); it 20332 src/xdisp.c move_it_vertically_backward (&it, 0); it 20333 src/xdisp.c it.current_y = 0; it 20336 src/xdisp.c it.current_x = it.hpos = 0; it 20341 src/xdisp.c set_marker_both (w->start, Qnil, IT_CHARPOS (it), IT_BYTEPOS (it)); it 20344 src/xdisp.c startp = run_window_scroll_functions (window, it.current.pos); it 20383 src/xdisp.c move_it_by_lines (&it, 1); it 20384 src/xdisp.c try_window (window, it.current.pos, 0); it 20386 src/xdisp.c else if (PT < IT_CHARPOS (it)) it 20389 src/xdisp.c move_it_by_lines (&it, -1); it 20390 src/xdisp.c try_window (window, it.current.pos, 0); it 20393 src/xdisp.c && (it.method == GET_FROM_STRING it 20394 src/xdisp.c || overlay_touches_p (IT_CHARPOS (it))) it 20395 src/xdisp.c && IT_CHARPOS (it) < ZV) it 20405 src/xdisp.c ptrdiff_t pos0 = IT_CHARPOS (it); it 20409 src/xdisp.c move_it_by_lines (&it, 1); it 20410 src/xdisp.c } while (IT_CHARPOS (it) == pos0); it 20411 src/xdisp.c try_window (window, it.current.pos, 0); it 20497 src/xdisp.c move_it_by_lines (&it, move_down ? margin + 1 : -(margin + 1)); it 20499 src/xdisp.c if (1 == try_window (window, it.current.pos, it 20734 src/xdisp.c struct it it; it 20747 src/xdisp.c start_display (&it, w, pos); it 20748 src/xdisp.c it.glyph_row->reversed_p = false; it 20751 src/xdisp.c while (it.current_y < it.last_visible_y) it 20753 src/xdisp.c int last_row_scale = it.w->nrows_scale_factor; it 20754 src/xdisp.c int last_col_scale = it.w->ncols_scale_factor; it 20755 src/xdisp.c if (display_line (&it, cursor_vpos)) it 20756 src/xdisp.c last_text_row = it.glyph_row - 1; it 20761 src/xdisp.c && last_row_scale == it.w->nrows_scale_factor it 20762 src/xdisp.c && last_col_scale == it.w->ncols_scale_factor)) it 20768 src/xdisp.c ptrdiff_t it_charpos = IT_CHARPOS (it); it 20783 src/xdisp.c start_display (&it, w, pos); it 20792 src/xdisp.c || w->cursor.y > (it.last_visible_y - partial_line_height (&it) it 20844 src/xdisp.c struct it it; it 20928 src/xdisp.c start_display (&it, w, new_start); it 20932 src/xdisp.c while (it.current_y < it.last_visible_y && !f->fonts_changed) it 20938 src/xdisp.c while (IT_CHARPOS (it) > CHARPOS (start)) it 20956 src/xdisp.c if (IT_CHARPOS (it) == CHARPOS (start) it 20962 src/xdisp.c && it.current.dpvec_index < 0) it 20965 src/xdisp.c it.glyph_row->reversed_p = false; it 20966 src/xdisp.c if (display_line (&it, -1)) it 20967 src/xdisp.c last_text_row = it.glyph_row - 1; it 20974 src/xdisp.c if (it.current_y < it.last_visible_y) it 20979 src/xdisp.c nrows_scrolled = it.vpos - (start_row - MATRIX_FIRST_TEXT_ROW (w->current_matrix)); it 20984 src/xdisp.c int dy = it.current_y - start_row->y; it 21005 src/xdisp.c run.desired_y = it.current_y; it 21006 src/xdisp.c run.height = it.last_visible_y - it.current_y; it 21033 src/xdisp.c max_y = it.last_visible_y; it 21038 src/xdisp.c row->y = it.current_y; it 21048 src/xdisp.c it.current_y += row->height; it 21052 src/xdisp.c if (MATRIX_ROW_BOTTOM_Y (row) >= it.last_visible_y) it 21132 src/xdisp.c init_to_row_start (&it, w, first_row_to_display); it 21136 src/xdisp.c it.vpos = (MATRIX_ROW_VPOS (first_row_to_display, w->current_matrix) it 21138 src/xdisp.c it.current_y = (first_row_to_display->y - first_reusable_row->y it 21144 src/xdisp.c it.glyph_row = MATRIX_ROW (w->desired_matrix, it.vpos); it 21148 src/xdisp.c while (it.current_y < it.last_visible_y && !f->fonts_changed) it 21149 src/xdisp.c if (display_line (&it, w->cursor.vpos)) it 21150 src/xdisp.c last_text_row = it.glyph_row - 1; it 21173 src/xdisp.c run.height = it.last_visible_y - run.current_y; it 21191 src/xdisp.c max_y = it.last_visible_y; it 21290 src/xdisp.c find_last_row_displaying_text (struct glyph_matrix *, struct it *, it 21300 src/xdisp.c find_last_row_displaying_text (struct glyph_matrix *matrix, struct it *it, it 21314 src/xdisp.c if (MATRIX_ROW_BOTTOM_Y (row) >= it->last_visible_y) it 21637 src/xdisp.c struct it it; it 21929 src/xdisp.c if (! init_to_row_end (&it, w, last_unchanged_at_beg_row)) it 21934 src/xdisp.c if (it.sp > 1 it 21935 src/xdisp.c && it.method == GET_FROM_IMAGE && it.image_id == -1) it 21937 src/xdisp.c start_pos = it.current.pos; it 21942 src/xdisp.c it.vpos = 1 + MATRIX_ROW_VPOS (last_unchanged_at_beg_row, it 21944 src/xdisp.c it.glyph_row = MATRIX_ROW (desired_matrix, it.vpos); it 21945 src/xdisp.c it.current_y = MATRIX_ROW_BOTTOM_Y (last_unchanged_at_beg_row); it 21947 src/xdisp.c eassert (it.hpos == 0 && it.current_x == 0); it 21953 src/xdisp.c start_display (&it, w, start); it 21954 src/xdisp.c it.vpos = it.first_vpos; it 21955 src/xdisp.c start_pos = it.current.pos; it 21987 src/xdisp.c < it.last_visible_y)) it 21992 src/xdisp.c >= it.last_visible_y)) it 22030 src/xdisp.c if (it.current_y < it.last_visible_y it 22033 src/xdisp.c || IT_CHARPOS (it) < stop_pos)) it 22034 src/xdisp.c it.glyph_row->reversed_p = false; it 22035 src/xdisp.c while (it.current_y < it.last_visible_y it 22038 src/xdisp.c || IT_CHARPOS (it) < stop_pos)) it 22040 src/xdisp.c if (display_line (&it, -1)) it 22041 src/xdisp.c last_text_row = it.glyph_row - 1; it 22069 src/xdisp.c && it.current_y < it.last_visible_y) it 22071 src/xdisp.c dvpos = (it.vpos it 22074 src/xdisp.c dy = it.current_y - first_unchanged_at_end_row->y; it 22077 src/xdisp.c run.height = it.last_visible_y - max (run.current_y, run.desired_y); it 22145 src/xdisp.c : cursor_height + bot_scroll_margin)) > it.last_visible_y) it 22263 src/xdisp.c if (first_unchanged_at_end_row->y >= it.last_visible_y it 22287 src/xdisp.c if (MATRIX_ROW_BOTTOM_Y (last_row) - dy >= it.last_visible_y) it 22289 src/xdisp.c init_to_row_start (&it, w, last_row); it 22290 src/xdisp.c it.vpos = last_vpos; it 22291 src/xdisp.c it.current_y = last_row->y; it 22295 src/xdisp.c init_to_row_end (&it, w, last_row); it 22296 src/xdisp.c it.vpos = 1 + last_vpos; it 22297 src/xdisp.c it.current_y = MATRIX_ROW_BOTTOM_Y (last_row); it 22303 src/xdisp.c it.continuation_lines_width = last_row->continuation_lines_width; it 22304 src/xdisp.c it.hpos = it.current_x = 0; it 22307 src/xdisp.c it.glyph_row = MATRIX_ROW (desired_matrix, it.vpos); it 22308 src/xdisp.c while (it.current_y < it.last_visible_y && !f->fonts_changed) it 22314 src/xdisp.c SET_MATRIX_ROW_ENABLED_P (w->current_matrix, it.vpos, false); it 22315 src/xdisp.c if (display_line (&it, w->cursor.vpos)) it 22316 src/xdisp.c last_text_row_at_end = it.glyph_row - 1; it 22328 src/xdisp.c row = find_last_row_displaying_text (w->current_matrix, &it, it 22840 src/xdisp.c struct it it; it 22845 src/xdisp.c init_iterator (&it, w, -1, -1, &scratch_glyph_row, DEFAULT_FACE_ID); it 22847 src/xdisp.c it.glyph_row->used[TEXT_AREA] = 0; it 22848 src/xdisp.c SET_TEXT_POS (it.position, 0, 0); it 22858 src/xdisp.c it.c = it.char_to_display = check_char_and_length (p, &it.len); it 22861 src/xdisp.c it.c = it.char_to_display = *p, it.len = 1; it 22862 src/xdisp.c if (! ASCII_CHAR_P (it.c)) it 22863 src/xdisp.c it.char_to_display = BYTE8_TO_CHAR (it.c); it 22865 src/xdisp.c p += it.len; it 22870 src/xdisp.c it.face_id = compute_char_face (f, it.char_to_display, face); it 22873 src/xdisp.c n_glyphs_before = it.glyph_row->used[TEXT_AREA]; it 22874 src/xdisp.c SET_TEXT_POS (it.position, -1, -1); it 22875 src/xdisp.c PRODUCE_GLYPHS (&it); it 22879 src/xdisp.c if (it.current_x > it.last_visible_x) it 22881 src/xdisp.c it.glyph_row->used[TEXT_AREA] = n_glyphs_before; it 22887 src/xdisp.c return it.glyph_row; it 22895 src/xdisp.c insert_left_trunc_glyphs (struct it *it) it 22897 src/xdisp.c struct it truncate_it; it 22900 src/xdisp.c eassert (!FRAME_WINDOW_P (it->f) it 22901 src/xdisp.c || (!it->glyph_row->reversed_p it 22902 src/xdisp.c && WINDOW_LEFT_FRINGE_WIDTH (it->w) == 0) it 22903 src/xdisp.c || (it->glyph_row->reversed_p it 22904 src/xdisp.c && WINDOW_RIGHT_FRINGE_WIDTH (it->w) == 0)); it 22907 src/xdisp.c truncate_it = *it; it 22918 src/xdisp.c if (!it->glyph_row->reversed_p) it 22924 src/xdisp.c to = it->glyph_row->glyphs[TEXT_AREA]; it 22925 src/xdisp.c toend = to + it->glyph_row->used[TEXT_AREA]; it 22926 src/xdisp.c if (FRAME_WINDOW_P (it->f)) it 22944 src/xdisp.c it->glyph_row->x = 0; it 22945 src/xdisp.c while (g < toend && w < it->truncation_pixel_width) it 22953 src/xdisp.c it->glyph_row->used[TEXT_AREA] -= g - to - tused; it 22955 src/xdisp.c used = it->glyph_row->used[TEXT_AREA]; it 22956 src/xdisp.c if (it->glyph_row->truncated_on_right_p it 22957 src/xdisp.c && WINDOW_RIGHT_FRINGE_WIDTH (it->w) == 0 it 22958 src/xdisp.c && it->glyph_row->glyphs[TEXT_AREA][used - 2].type it 22961 src/xdisp.c int extra = w - it->truncation_pixel_width; it 22963 src/xdisp.c it->glyph_row->glyphs[TEXT_AREA][used - 2].pixel_width += extra; it 22971 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) it 22982 src/xdisp.c it->glyph_row->used[TEXT_AREA] = to - it->glyph_row->glyphs[TEXT_AREA]; it 22992 src/xdisp.c toend = it->glyph_row->glyphs[TEXT_AREA]; it 22993 src/xdisp.c to = toend + it->glyph_row->used[TEXT_AREA] - 1; it 22994 src/xdisp.c if (FRAME_WINDOW_P (it->f)) it 22999 src/xdisp.c while (g >= toend && w < it->truncation_pixel_width) it 23006 src/xdisp.c if (it->glyph_row->truncated_on_right_p it 23007 src/xdisp.c && WINDOW_LEFT_FRINGE_WIDTH (it->w) == 0 it 23008 src/xdisp.c && it->glyph_row->glyphs[TEXT_AREA][1].type == STRETCH_GLYPH) it 23010 src/xdisp.c int extra = w - it->truncation_pixel_width; it 23012 src/xdisp.c it->glyph_row->glyphs[TEXT_AREA][1].pixel_width += extra; it 23018 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) it 23034 src/xdisp.c struct glyph *g0 = it->glyph_row->glyphs[TEXT_AREA]; it 23035 src/xdisp.c struct glyph *g = g0 + it->glyph_row->used[TEXT_AREA] - 1; it 23041 src/xdisp.c it->glyph_row->used[TEXT_AREA] += move_by; it 23082 src/xdisp.c compute_line_metrics (struct it *it) it 23084 src/xdisp.c struct glyph_row *row = it->glyph_row; it 23086 src/xdisp.c if (FRAME_WINDOW_P (it->f)) it 23095 src/xdisp.c if (it->max_ascent + it->max_descent == 0) it 23096 src/xdisp.c it->max_descent = it->max_phys_descent = FRAME_LINE_HEIGHT (it->f); it 23097 src/xdisp.c row->ascent = it->max_ascent; it 23098 src/xdisp.c row->height = it->max_ascent + it->max_descent; it 23099 src/xdisp.c row->phys_ascent = it->max_phys_ascent; it 23100 src/xdisp.c row->phys_height = it->max_phys_ascent + it->max_phys_descent; it 23101 src/xdisp.c row->extra_line_spacing = it->max_extra_line_spacing; it 23118 src/xdisp.c if (row == MATRIX_FIRST_TEXT_ROW (it->w->desired_matrix) it 23128 src/xdisp.c min_y = WINDOW_TAB_LINE_HEIGHT (it->w) + WINDOW_HEADER_LINE_HEIGHT (it->w); it 23129 src/xdisp.c max_y = WINDOW_BOX_HEIGHT_NO_MODE_LINE (it->w); it 23140 src/xdisp.c row->pixel_width -= it->continuation_pixel_width; it 23142 src/xdisp.c row->pixel_width -= it->truncation_pixel_width; it 23151 src/xdisp.c it->max_ascent = it->max_descent = 0; it 23152 src/xdisp.c it->max_phys_ascent = it->max_phys_descent = 0; it 23157 src/xdisp.c clear_position (struct it *it) it 23159 src/xdisp.c it->position.charpos = 0; it 23160 src/xdisp.c it->position.bytepos = 0; it 23176 src/xdisp.c append_space_for_newline (struct it *it, bool default_face_p) it 23178 src/xdisp.c int n = it->glyph_row->used[TEXT_AREA]; it 23180 src/xdisp.c if (it->glyph_row->glyphs[TEXT_AREA] + n it 23181 src/xdisp.c < it->glyph_row->glyphs[1 + TEXT_AREA]) it 23187 src/xdisp.c enum display_element_type saved_what = it->what; it 23188 src/xdisp.c int saved_c = it->c, saved_len = it->len; it 23189 src/xdisp.c int saved_char_to_display = it->char_to_display; it 23190 src/xdisp.c int saved_x = it->current_x; it 23191 src/xdisp.c const int saved_face_id = it->face_id; it 23192 src/xdisp.c bool saved_box_end = it->end_of_box_run_p; it 23193 src/xdisp.c struct text_pos saved_pos = it->position; it 23194 src/xdisp.c Lisp_Object saved_object = it->object; it 23197 src/xdisp.c it->what = IT_CHARACTER; it 23198 src/xdisp.c clear_position (it); it 23199 src/xdisp.c it->object = Qnil; it 23200 src/xdisp.c it->len = 1; it 23206 src/xdisp.c || FRAME_WINDOW_P (it->f) it 23211 src/xdisp.c lookup_basic_face (it->w, it->f, DEFAULT_FACE_ID); it 23214 src/xdisp.c if (FRAME_WINDOW_P (it->f)) it 23217 src/xdisp.c = FACE_FROM_ID (it->f, local_default_face_id); it 23220 src/xdisp.c : FRAME_FONT (it->f)); it 23227 src/xdisp.c it->face_id = local_default_face_id; it 23234 src/xdisp.c fill_column_indicator_column (it, char_width); it 23235 src/xdisp.c int saved_end_of_box_run = it->end_of_box_run_p; it 23238 src/xdisp.c if (it->current_x == indicator_column) it 23240 src/xdisp.c it->c = it->char_to_display it 23242 src/xdisp.c it->face_id it 23243 src/xdisp.c = merge_faces (it->w, Qfill_column_indicator, it 23245 src/xdisp.c face = FACE_FROM_ID (it->f, it->face_id); it 23249 src/xdisp.c it->c = it->char_to_display = ' '; it 23253 src/xdisp.c face = FACE_FROM_ID (it->f, it->face_id); it 23254 src/xdisp.c it->face_id = FACE_FOR_CHAR (it->f, face, 0, -1, Qnil); it 23259 src/xdisp.c if (!(it->glyph_row->reversed_p it 23263 src/xdisp.c && saved_x + FRAME_COLUMN_WIDTH (it->f) < it->last_visible_x)) it 23266 src/xdisp.c PRODUCE_GLYPHS (it); it 23270 src/xdisp.c it->end_of_box_run_p = saved_end_of_box_run; it 23272 src/xdisp.c if (FRAME_WINDOW_P (it->f)) it 23277 src/xdisp.c struct glyph *g = it->glyph_row->glyphs[TEXT_AREA] + n; it 23278 src/xdisp.c struct font *font = face->font ? face->font : FRAME_FONT (it->f); it 23282 src/xdisp.c int extra_line_spacing = it->extra_line_spacing; it 23286 src/xdisp.c boff = VCENTER_BASELINE_OFFSET (font, it->f) - boff; it 23288 src/xdisp.c it->object = saved_object; /* get_it_property needs this */ it 23289 src/xdisp.c normal_char_ascent_descent (font, -1, &it->ascent, &it->descent); it 23292 src/xdisp.c height = get_it_property (it, Qline_height); it 23302 src/xdisp.c height = calc_line_height_property (it, height, font, boff, true); it 23304 src/xdisp.c if (it->override_ascent >= 0) it 23306 src/xdisp.c it->ascent = it->override_ascent; it 23307 src/xdisp.c it->descent = it->override_descent; it 23308 src/xdisp.c boff = it->override_boff; it 23316 src/xdisp.c it->phys_ascent = it->ascent; it 23317 src/xdisp.c it->phys_descent = it->descent; it 23319 src/xdisp.c && XFIXNUM (height) > it->ascent + it->descent) it 23320 src/xdisp.c it->ascent = XFIXNUM (height) - it->descent; it 23323 src/xdisp.c spacing = calc_line_height_property (it, total_height, font, it 23327 src/xdisp.c spacing = get_it_property (it, Qline_spacing); it 23328 src/xdisp.c spacing = calc_line_height_property (it, spacing, font, it 23335 src/xdisp.c extra_line_spacing -= (it->phys_ascent + it->phys_descent); it 23340 src/xdisp.c it->descent += extra_line_spacing; it 23341 src/xdisp.c if (extra_line_spacing > it->max_extra_line_spacing) it 23342 src/xdisp.c it->max_extra_line_spacing = extra_line_spacing; it 23344 src/xdisp.c it->max_ascent = it->ascent; it 23345 src/xdisp.c it->max_descent = it->descent; it 23347 src/xdisp.c it->glyph_row->height = 0; it 23350 src/xdisp.c g->ascent = it->max_ascent; it 23351 src/xdisp.c g->descent = it->max_descent; it 23354 src/xdisp.c it->override_ascent = -1; it 23355 src/xdisp.c it->constrain_row_ascent_descent_p = false; it 23356 src/xdisp.c it->current_x = saved_x; it 23357 src/xdisp.c it->object = saved_object; it 23358 src/xdisp.c it->position = saved_pos; it 23359 src/xdisp.c it->what = saved_what; it 23360 src/xdisp.c it->face_id = saved_face_id; it 23361 src/xdisp.c it->len = saved_len; it 23362 src/xdisp.c it->c = saved_c; it 23363 src/xdisp.c it->char_to_display = saved_char_to_display; it 23364 src/xdisp.c it->end_of_box_run_p = saved_box_end; it 23380 src/xdisp.c extend_face_to_end_of_line (struct it *it) it 23382 src/xdisp.c struct frame *f = it->f; it 23389 src/xdisp.c if ((it->current_x >= it->last_visible_x it 23391 src/xdisp.c && it->glyph_row->reversed_p it 23392 src/xdisp.c && !it->glyph_row->continued_p)) it 23395 src/xdisp.c && !(WINDOW_LEFT_MARGIN_WIDTH (it->w) > 0 it 23396 src/xdisp.c || WINDOW_RIGHT_MARGIN_WIDTH (it->w) > 0)) it 23407 src/xdisp.c FACE_FROM_ID_OR_NULL (f, lookup_basic_face (it->w, f, DEFAULT_FACE_ID)); it 23412 src/xdisp.c (it->face_id == default_face->id || it->s != NULL) it 23413 src/xdisp.c ? it->face_id it 23414 src/xdisp.c : (it->glyph_row->ends_at_zv_p it 23416 src/xdisp.c : face_at_pos (it, LFACE_EXTEND_INDEX)); it 23422 src/xdisp.c struct face *face = FACE_FROM_ID (f, (it->face_before_selective_p it 23423 src/xdisp.c ? it->saved_face_id it 23427 src/xdisp.c && MATRIX_ROW_DISPLAYS_TEXT_P (it->glyph_row) it 23436 src/xdisp.c && !it->glyph_row->reversed_p it 23442 src/xdisp.c it->glyph_row->fill_line_p = true; it 23444 src/xdisp.c const int orig_face_id = it->face_id; it 23450 src/xdisp.c if (!ASCII_CHAR_P (it->c)) it 23451 src/xdisp.c it->face_id = FACE_FOR_CHAR (f, face, 0, -1, Qnil); it 23459 src/xdisp.c if (it->glyph_row->used[TEXT_AREA] == 0) it 23461 src/xdisp.c it->glyph_row->glyphs[TEXT_AREA][0] = space_glyph; it 23462 src/xdisp.c it->glyph_row->glyphs[TEXT_AREA][0].face_id = face->id; it 23463 src/xdisp.c it->glyph_row->used[TEXT_AREA] = 1; it 23467 src/xdisp.c if (!(it->glyph_row->mode_line_p it 23469 src/xdisp.c && it->w == XWINDOW (f->tab_bar_window)) it 23472 src/xdisp.c && it->w == XWINDOW (f->tool_bar_window)) it 23476 src/xdisp.c if (WINDOW_LEFT_MARGIN_WIDTH (it->w) > 0 it 23477 src/xdisp.c && it->glyph_row->used[LEFT_MARGIN_AREA] == 0) it 23479 src/xdisp.c it->glyph_row->glyphs[LEFT_MARGIN_AREA][0] = space_glyph; it 23480 src/xdisp.c it->glyph_row->glyphs[LEFT_MARGIN_AREA][0].face_id = it 23482 src/xdisp.c it->glyph_row->used[LEFT_MARGIN_AREA] = 1; it 23484 src/xdisp.c if (WINDOW_RIGHT_MARGIN_WIDTH (it->w) > 0 it 23485 src/xdisp.c && it->glyph_row->used[RIGHT_MARGIN_AREA] == 0) it 23487 src/xdisp.c it->glyph_row->glyphs[RIGHT_MARGIN_AREA][0] = space_glyph; it 23488 src/xdisp.c it->glyph_row->glyphs[RIGHT_MARGIN_AREA][0].face_id = it 23490 src/xdisp.c it->glyph_row->used[RIGHT_MARGIN_AREA] = 1; it 23502 src/xdisp.c fill_column_indicator_column (it, char_width); it 23504 src/xdisp.c const char saved_char = it->char_to_display; it 23505 src/xdisp.c const struct text_pos saved_pos = it->position; it 23506 src/xdisp.c const bool saved_avoid_cursor = it->avoid_cursor_p; it 23507 src/xdisp.c const bool saved_box_start = it->start_of_box_run_p; it 23508 src/xdisp.c Lisp_Object save_object = it->object; it 23509 src/xdisp.c const int saved_face_id = it->face_id; it 23511 src/xdisp.c it->face_id = extend_face_id; it 23512 src/xdisp.c it->avoid_cursor_p = true; it 23513 src/xdisp.c it->object = Qnil; it 23515 src/xdisp.c const int stretch_height = it->ascent + it->descent; it 23520 src/xdisp.c && indicator_column > it->current_x it 23521 src/xdisp.c && indicator_column < it->last_visible_x) it 23528 src/xdisp.c indicator_column - it->current_x - char_width; it 23530 src/xdisp.c clear_position (it); it 23536 src/xdisp.c append_stretch_glyph (it, Qnil, stretch_width, it 23542 src/xdisp.c if (it->current_x < indicator_column) it 23544 src/xdisp.c const int save_face_id = it->face_id; it 23545 src/xdisp.c const int save_ascent = it->ascent; it 23546 src/xdisp.c const int save_descent = it->descent; it 23547 src/xdisp.c it->char_to_display it 23549 src/xdisp.c it->face_id it 23550 src/xdisp.c = merge_faces (it->w, Qfill_column_indicator, it 23552 src/xdisp.c PRODUCE_GLYPHS (it); it 23553 src/xdisp.c it->face_id = save_face_id; it 23554 src/xdisp.c it->ascent = save_ascent; it 23555 src/xdisp.c it->descent = save_descent; it 23561 src/xdisp.c if (!it->glyph_row->reversed_p) it 23563 src/xdisp.c const int stretch_width = it->last_visible_x - it->current_x; it 23567 src/xdisp.c clear_position (it); it 23568 src/xdisp.c append_stretch_glyph (it, Qnil, stretch_width, it 23573 src/xdisp.c it->char_to_display = saved_char; it 23574 src/xdisp.c it->position = saved_pos; it 23575 src/xdisp.c it->avoid_cursor_p = saved_avoid_cursor; it 23576 src/xdisp.c it->start_of_box_run_p = saved_box_start; it 23577 src/xdisp.c it->object = save_object; it 23578 src/xdisp.c it->face_id = saved_face_id; it 23580 src/xdisp.c if (it->glyph_row->reversed_p) it 23588 src/xdisp.c struct glyph *row_start = it->glyph_row->glyphs[TEXT_AREA]; it 23589 src/xdisp.c struct glyph *row_end = row_start + it->glyph_row->used[TEXT_AREA]; it 23602 src/xdisp.c if ((WINDOW_LEFT_FRINGE_WIDTH (it->w) == 0) it 23603 src/xdisp.c == (WINDOW_RIGHT_FRINGE_WIDTH (it->w) == 0) it 23604 src/xdisp.c || WINDOW_RIGHT_FRINGE_WIDTH (it->w) != 0) it 23605 src/xdisp.c stretch_width = window_box_width (it->w, TEXT_AREA); it 23607 src/xdisp.c stretch_width = it->last_visible_x - it->first_visible_x; it 23613 src/xdisp.c (((it->ascent + it->descent) it 23615 src/xdisp.c saved_pos = it->position; it 23616 src/xdisp.c clear_position (it); it 23617 src/xdisp.c saved_avoid_cursor = it->avoid_cursor_p; it 23618 src/xdisp.c it->avoid_cursor_p = true; it 23619 src/xdisp.c saved_face_id = it->face_id; it 23620 src/xdisp.c saved_box_start = it->start_of_box_run_p; it 23624 src/xdisp.c it->face_id = (it->glyph_row->ends_at_zv_p ? it 23627 src/xdisp.c it->start_of_box_run_p = false; it 23628 src/xdisp.c append_stretch_glyph (it, Qnil, stretch_width, it 23629 src/xdisp.c it->ascent + it->descent, stretch_ascent); it 23630 src/xdisp.c it->position = saved_pos; it 23631 src/xdisp.c it->avoid_cursor_p = saved_avoid_cursor; it 23632 src/xdisp.c it->face_id = saved_face_id; it 23633 src/xdisp.c it->start_of_box_run_p = saved_box_start; it 23640 src/xdisp.c it->glyph_row->x = stretch_width; it 23642 src/xdisp.c it->face_id = orig_face_id; it 23648 src/xdisp.c int saved_x = it->current_x; it 23649 src/xdisp.c struct text_pos saved_pos = it->position; it 23650 src/xdisp.c Lisp_Object saved_object = it->object;; it 23651 src/xdisp.c enum display_element_type saved_what = it->what; it 23653 src/xdisp.c it->what = IT_CHARACTER; it 23654 src/xdisp.c clear_position (it); it 23655 src/xdisp.c it->object = Qnil; it 23656 src/xdisp.c it->c = it->char_to_display = ' '; it 23657 src/xdisp.c it->len = 1; it 23659 src/xdisp.c if (WINDOW_LEFT_MARGIN_WIDTH (it->w) > 0 it 23660 src/xdisp.c && (it->glyph_row->used[LEFT_MARGIN_AREA] it 23661 src/xdisp.c < WINDOW_LEFT_MARGIN_WIDTH (it->w)) it 23662 src/xdisp.c && !it->glyph_row->mode_line_p it 23665 src/xdisp.c struct glyph *g = it->glyph_row->glyphs[LEFT_MARGIN_AREA]; it 23666 src/xdisp.c struct glyph *e = g + it->glyph_row->used[LEFT_MARGIN_AREA]; it 23668 src/xdisp.c for (it->current_x = 0; g < e; g++) it 23669 src/xdisp.c it->current_x += g->pixel_width; it 23671 src/xdisp.c it->area = LEFT_MARGIN_AREA; it 23672 src/xdisp.c it->face_id = default_face->id; it 23673 src/xdisp.c while (it->glyph_row->used[LEFT_MARGIN_AREA] it 23674 src/xdisp.c < WINDOW_LEFT_MARGIN_WIDTH (it->w) it 23675 src/xdisp.c && g < it->glyph_row->glyphs[TEXT_AREA]) it 23677 src/xdisp.c PRODUCE_GLYPHS (it); it 23680 src/xdisp.c it->current_x += it->pixel_width; it 23684 src/xdisp.c it->current_x = saved_x; it 23685 src/xdisp.c it->area = TEXT_AREA; it 23691 src/xdisp.c it->face_id = (it->glyph_row->ends_at_zv_p ? it 23698 src/xdisp.c it->current_x = it->glyph_row->used[TEXT_AREA]; it 23708 src/xdisp.c fill_column_indicator_column (it, 1) - it->first_visible_x; it 23711 src/xdisp.c while (it->current_x <= it->last_visible_x) it 23713 src/xdisp.c if (it->current_x != indicator_column) it 23714 src/xdisp.c PRODUCE_GLYPHS (it); it 23717 src/xdisp.c int saved_face_id = it->face_id; it 23718 src/xdisp.c it->face_id it 23719 src/xdisp.c = merge_faces (it->w, Qfill_column_indicator, 0, extend_face_id); it 23720 src/xdisp.c it->c = it->char_to_display it 23723 src/xdisp.c PRODUCE_GLYPHS (it); it 23725 src/xdisp.c it->face_id = saved_face_id; it 23726 src/xdisp.c it->c = it->char_to_display = ' '; it 23730 src/xdisp.c if (WINDOW_RIGHT_MARGIN_WIDTH (it->w) > 0 it 23731 src/xdisp.c && (it->glyph_row->used[RIGHT_MARGIN_AREA] it 23732 src/xdisp.c < WINDOW_RIGHT_MARGIN_WIDTH (it->w)) it 23733 src/xdisp.c && !it->glyph_row->mode_line_p it 23736 src/xdisp.c struct glyph *g = it->glyph_row->glyphs[RIGHT_MARGIN_AREA]; it 23737 src/xdisp.c struct glyph *e = g + it->glyph_row->used[RIGHT_MARGIN_AREA]; it 23740 src/xdisp.c it->current_x += g->pixel_width; it 23742 src/xdisp.c it->area = RIGHT_MARGIN_AREA; it 23743 src/xdisp.c it->face_id = default_face->id; it 23744 src/xdisp.c while (it->glyph_row->used[RIGHT_MARGIN_AREA] it 23745 src/xdisp.c < WINDOW_RIGHT_MARGIN_WIDTH (it->w) it 23746 src/xdisp.c && g < it->glyph_row->glyphs[LAST_AREA]) it 23748 src/xdisp.c PRODUCE_GLYPHS (it); it 23749 src/xdisp.c it->current_x += it->pixel_width; it 23753 src/xdisp.c it->area = TEXT_AREA; it 23758 src/xdisp.c it->current_x = saved_x; it 23759 src/xdisp.c it->object = saved_object; it 23760 src/xdisp.c it->position = saved_pos; it 23761 src/xdisp.c it->what = saved_what; it 23762 src/xdisp.c it->face_id = orig_face_id; it 23793 src/xdisp.c highlight_trailing_whitespace (struct it *it) it 23795 src/xdisp.c struct glyph_row *row = it->glyph_row; it 23841 src/xdisp.c int face_id = lookup_named_face (it->w, it->f, Qtrailing_whitespace, false); it 23972 src/xdisp.c push_prefix_prop (struct it *it, Lisp_Object prop) it 23975 src/xdisp.c STRINGP (it->string) ? it->current.string_pos : it->current.pos; it 23977 src/xdisp.c eassert (it->method == GET_FROM_BUFFER it 23978 src/xdisp.c || it->method == GET_FROM_DISPLAY_VECTOR it 23979 src/xdisp.c || it->method == GET_FROM_STRING it 23980 src/xdisp.c || it->method == GET_FROM_IMAGE); it 23986 src/xdisp.c push_it (it, &pos); it 23992 src/xdisp.c pop_it (it); it 23996 src/xdisp.c it->string = prop; it 23997 src/xdisp.c it->string_from_prefix_prop_p = true; it 23998 src/xdisp.c it->multibyte_p = STRING_MULTIBYTE (it->string); it 23999 src/xdisp.c it->current.overlay_string_index = -1; it 24000 src/xdisp.c IT_STRING_CHARPOS (*it) = IT_STRING_BYTEPOS (*it) = 0; it 24001 src/xdisp.c it->end_charpos = it->string_nchars = SCHARS (it->string); it 24002 src/xdisp.c it->method = GET_FROM_STRING; it 24003 src/xdisp.c it->stop_charpos = 0; it 24004 src/xdisp.c it->prev_stop = 0; it 24005 src/xdisp.c it->base_level_stop = 0; it 24006 src/xdisp.c it->cmp_it.id = -1; it 24010 src/xdisp.c if (it->bidi_p && it->bidi_it.paragraph_dir == R2L) it 24011 src/xdisp.c it->paragraph_embedding = it->bidi_it.paragraph_dir; it 24013 src/xdisp.c it->paragraph_embedding = L2R; it 24016 src/xdisp.c if (it->bidi_p) it 24018 src/xdisp.c it->bidi_it.string.lstring = it->string; it 24019 src/xdisp.c it->bidi_it.string.s = NULL; it 24020 src/xdisp.c it->bidi_it.string.schars = it->end_charpos; it 24021 src/xdisp.c it->bidi_it.string.bufpos = IT_CHARPOS (*it); it 24022 src/xdisp.c it->bidi_it.string.from_disp_str = it->string_from_display_prop_p; it 24023 src/xdisp.c it->bidi_it.string.unibyte = !it->multibyte_p; it 24024 src/xdisp.c it->bidi_it.w = it->w; it 24025 src/xdisp.c bidi_init_it (0, 0, FRAME_WINDOW_P (it->f), &it->bidi_it); it 24030 src/xdisp.c it->method = GET_FROM_STRETCH; it 24031 src/xdisp.c it->object = prop; it 24036 src/xdisp.c it->what = IT_IMAGE; it 24037 src/xdisp.c it->image_id = lookup_image (it->f, prop, it->face_id); it 24038 src/xdisp.c it->method = GET_FROM_IMAGE; it 24043 src/xdisp.c pop_it (it); /* bogus display property, give up */ it 24053 src/xdisp.c get_it_property (struct it *it, Lisp_Object prop) it 24055 src/xdisp.c Lisp_Object position, object = it->object; it 24058 src/xdisp.c position = make_fixnum (IT_STRING_CHARPOS (*it)); it 24061 src/xdisp.c position = make_fixnum (IT_CHARPOS (*it)); it 24062 src/xdisp.c object = it->window; it 24074 src/xdisp.c get_line_prefix_it_property (struct it *it, Lisp_Object prop) it 24076 src/xdisp.c Lisp_Object prefix = get_it_property (it, prop); it 24080 src/xdisp.c if (NILP (prefix) && it->sp > 0 && STRINGP (it->object)) it 24081 src/xdisp.c return Fget_char_property (make_fixnum (IT_CHARPOS (*it)), prop, it 24082 src/xdisp.c it->w->contents); it 24089 src/xdisp.c handle_line_prefix (struct it *it) it 24093 src/xdisp.c if (it->continuation_lines_width > 0) it 24095 src/xdisp.c prefix = get_line_prefix_it_property (it, Qwrap_prefix); it 24101 src/xdisp.c prefix = get_line_prefix_it_property (it, Qline_prefix); it 24105 src/xdisp.c if (! NILP (prefix) && push_prefix_prop (it, prefix)) it 24110 src/xdisp.c it->line_wrap = TRUNCATE; it 24111 src/xdisp.c it->avoid_cursor_p = true; it 24122 src/xdisp.c unproduce_glyphs (struct it *it, int n) it 24126 src/xdisp.c eassert (it->glyph_row); it 24127 src/xdisp.c eassert (it->glyph_row->reversed_p); it 24128 src/xdisp.c eassert (it->area == TEXT_AREA); it 24129 src/xdisp.c eassert (n <= it->glyph_row->used[TEXT_AREA]); it 24131 src/xdisp.c if (n > it->glyph_row->used[TEXT_AREA]) it 24132 src/xdisp.c n = it->glyph_row->used[TEXT_AREA]; it 24133 src/xdisp.c glyph = it->glyph_row->glyphs[TEXT_AREA] + n; it 24134 src/xdisp.c end = it->glyph_row->glyphs[TEXT_AREA] + it->glyph_row->used[TEXT_AREA]; it 24142 src/xdisp.c find_row_edges (struct it *it, struct glyph_row *row, it 24160 src/xdisp.c max_pos = CHARPOS (it->current.pos); it 24161 src/xdisp.c max_bpos = BYTEPOS (it->current.pos); it 24181 src/xdisp.c row->maxpos = it->current.pos; it 24188 src/xdisp.c if (STRINGP (it->object) it 24190 src/xdisp.c && row > it->w->desired_matrix->rows it 24213 src/xdisp.c if (EQ ((end - 1)->object, it->object)) it 24234 src/xdisp.c if (EQ ((end + 1)->object, it->object)) it 24258 src/xdisp.c else if (CHARPOS (it->eol_pos) > 0) it 24260 src/xdisp.c CHARPOS (it->eol_pos) + 1, BYTEPOS (it->eol_pos) + 1); it 24269 src/xdisp.c if (IT_CHARPOS (*it) == max_pos && it->method != GET_FROM_BUFFER) it 24281 src/xdisp.c row->maxpos = it->current.pos; it 24282 src/xdisp.c else if (max_pos == min_pos && it->method != GET_FROM_BUFFER) it 24289 src/xdisp.c row->maxpos = it->current.pos; it 24314 src/xdisp.c display_count_lines_visually (struct it *it) it 24316 src/xdisp.c struct it tem_it; it 24325 src/xdisp.c if (it->lnum_bytepos > 0) it 24326 src/xdisp.c return it->lnum + 1; it 24331 src/xdisp.c if (IT_CHARPOS (*it) <= PT) it 24333 src/xdisp.c from = it->current.pos; it 24339 src/xdisp.c to = IT_CHARPOS (*it); it 24345 src/xdisp.c start_display (&tem_it, it->w, from); it 24355 src/xdisp.c return IT_CHARPOS (*it) <= PT ? -tem_it.vpos : tem_it.vpos; it 24363 src/xdisp.c maybe_produce_line_number (struct it *it) it 24365 src/xdisp.c ptrdiff_t last_line = it->lnum; it 24386 src/xdisp.c this_line = display_count_lines_visually (it); it 24392 src/xdisp.c if (it->w->base_line_number > 0 it 24393 src/xdisp.c && it->w->base_line_pos > 0 it 24394 src/xdisp.c && it->w->base_line_pos <= IT_CHARPOS (*it) it 24403 src/xdisp.c start_from = CHAR_TO_BYTE (it->w->base_line_pos); it 24404 src/xdisp.c last_line = it->w->base_line_number - 1; it 24408 src/xdisp.c if (!it->lnum_bytepos) it 24412 src/xdisp.c start_from = it->lnum_bytepos; it 24425 src/xdisp.c IT_BYTEPOS (*it), it 24426 src/xdisp.c IT_CHARPOS (*it), &bytepos); it 24428 src/xdisp.c eassert (bytepos == IT_BYTEPOS (*it)); it 24432 src/xdisp.c if (this_line != last_line || !it->lnum_bytepos) it 24434 src/xdisp.c it->lnum = this_line; it 24435 src/xdisp.c it->lnum_bytepos = IT_BYTEPOS (*it); it 24439 src/xdisp.c struct it tem_it; it 24441 src/xdisp.c bool beyond_zv = IT_BYTEPOS (*it) >= ZV_BYTE ? true : false; it 24443 src/xdisp.c int lnum_face_id = merge_faces (it->w, Qline_number, 0, DEFAULT_FACE_ID); it 24445 src/xdisp.c = merge_faces (it->w, Qline_number_current_line, 0, DEFAULT_FACE_ID); it 24454 src/xdisp.c && !it->pt_lnum) it 24457 src/xdisp.c if (PT_BYTE > it->lnum_bytepos && !EQ (Vdisplay_line_numbers, Qvisual)) it 24458 src/xdisp.c it->pt_lnum = it 24459 src/xdisp.c this_line + display_count_lines_logically (it->lnum_bytepos, PT_BYTE, it 24462 src/xdisp.c it->pt_lnum = display_count_lines_logically (beg_byte, PT_BYTE, PT, it 24466 src/xdisp.c if (!it->lnum_width) it 24469 src/xdisp.c it->lnum_width = XFIXNAT (Vdisplay_line_numbers_width); it 24480 src/xdisp.c max_lnum = it->w->desired_matrix->nrows - 2; it 24482 src/xdisp.c max_lnum = it->pt_lnum + it->w->desired_matrix->nrows - 1; it 24484 src/xdisp.c max_lnum = this_line + it->w->desired_matrix->nrows - 1 - it->vpos; it 24486 src/xdisp.c it->lnum_width = max (it->lnum_width, log10 (max_lnum) + 1); it 24487 src/xdisp.c eassert (it->lnum_width > 0); it 24490 src/xdisp.c lnum_offset = it->pt_lnum; it 24503 src/xdisp.c lnum_to_display = it->pt_lnum + 1; it 24509 src/xdisp.c pint2str (lnum_buf, it->lnum_width + 1, lnum_to_display); it 24513 src/xdisp.c init_iterator (&tem_it, it->w, -1, -1, &scratch_glyph_row, it 24531 src/xdisp.c - 3 * FRAME_COLUMN_WIDTH (it->f); it 24539 src/xdisp.c : this_line == it->pt_lnum) it 24540 src/xdisp.c && it->what != IT_EOB) it 24546 src/xdisp.c tem_it.face_id = merge_faces (it->w, Qline_number_major_tick, it 24550 src/xdisp.c tem_it.face_id = merge_faces (it->w, Qline_number_minor_tick, it 24562 src/xdisp.c && (it->continuation_lines_width > 0 it 24576 src/xdisp.c it->lnum_width = 0; it 24577 src/xdisp.c it->lnum_pixel_width = 0; it 24587 src/xdisp.c it->lnum_pixel_width = tem_it.current_x; it 24591 src/xdisp.c struct glyph *p = it->glyph_row ? it->glyph_row->glyphs[TEXT_AREA] : NULL; it 24592 src/xdisp.c short *u = it->glyph_row ? &it->glyph_row->used[TEXT_AREA] : NULL; it 24594 src/xdisp.c eassert (it->glyph_row == NULL || it->glyph_row->used[TEXT_AREA] == 0); it 24598 src/xdisp.c it->current_x += g->pixel_width; it 24602 src/xdisp.c if (it->current_x > it->first_visible_x) it 24603 src/xdisp.c it->hpos++; it 24616 src/xdisp.c if (it->glyph_row) it 24618 src/xdisp.c struct glyph_row *row = it->glyph_row; it 24620 src/xdisp.c it->max_ascent = max (row->ascent, tem_it.max_ascent); it 24621 src/xdisp.c it->max_descent = max (row->height - row->ascent, tem_it.max_descent); it 24622 src/xdisp.c it->max_phys_ascent = max (row->phys_ascent, tem_it.max_phys_ascent); it 24623 src/xdisp.c it->max_phys_descent = max (row->phys_height - row->phys_ascent, it 24628 src/xdisp.c it->max_ascent = max (it->max_ascent, tem_it.max_ascent); it 24629 src/xdisp.c it->max_descent = max (it->max_descent, tem_it.max_descent); it 24630 src/xdisp.c it->max_phys_ascent = max (it->max_phys_ascent, it 24632 src/xdisp.c it->max_phys_descent = max (it->max_phys_descent, it 24637 src/xdisp.c it->line_number_produced_p = true; it 24645 src/xdisp.c should_produce_line_number (struct it *it) it 24651 src/xdisp.c if (MINI_WINDOW_P (it->w)) it 24656 src/xdisp.c if (FRAME_TOOLTIP_P (XFRAME (WINDOW_FRAME (it->w)))) it 24664 src/xdisp.c Lisp_Object val = Fget_char_property (make_fixnum (IT_CHARPOS (*it)), it 24666 src/xdisp.c it->window); it 24670 src/xdisp.c if (NILP (val) && IT_CHARPOS (*it) >= ZV) it 24710 src/xdisp.c display_line (struct it *it, int cursor_vpos) it 24712 src/xdisp.c struct glyph_row *row = it->glyph_row; it 24714 src/xdisp.c struct it wrap_it; it 24728 src/xdisp.c int tab_line = window_wants_tab_line (it->w); it 24729 src/xdisp.c int header_line = window_wants_header_line (it->w); it 24731 src/xdisp.c && it->vpos == cursor_vpos - tab_line - header_line it 24732 src/xdisp.c && hscrolling_current_line_p (it->w)); it 24733 src/xdisp.c int first_visible_x = it->first_visible_x; it 24734 src/xdisp.c int last_visible_x = it->last_visible_x; it 24738 src/xdisp.c eassert (it->hpos == 0 && it->current_x == 0); it 24740 src/xdisp.c if (MATRIX_ROW_VPOS (row, it->w->desired_matrix) it 24741 src/xdisp.c >= it->w->desired_matrix->nrows) it 24743 src/xdisp.c it->w->nrows_scale_factor++; it 24744 src/xdisp.c it->f->fonts_changed = true; it 24749 src/xdisp.c prepare_desired_row (it->w, row, false); it 24751 src/xdisp.c row->y = it->current_y; it 24752 src/xdisp.c row->start = it->start; it 24753 src/xdisp.c row->continuation_lines_width = it->continuation_lines_width; it 24755 src/xdisp.c row->starts_in_middle_of_char_p = it->starts_in_middle_of_char_p; it 24756 src/xdisp.c it->starts_in_middle_of_char_p = false; it 24757 src/xdisp.c it->stretch_adjust = 0; it 24758 src/xdisp.c it->line_number_produced_p = false; it 24765 src/xdisp.c (window_hscroll_limited (it->w, it->f) - it->w->min_hscroll) it 24766 src/xdisp.c * FRAME_COLUMN_WIDTH (it->f); it 24768 src/xdisp.c bool line_number_needed = should_produce_line_number (it); it 24773 src/xdisp.c if (it->current_x < it->first_visible_x + x_incr) it 24780 src/xdisp.c it->first_visible_x += x_incr; it 24781 src/xdisp.c it->last_visible_x += x_incr; it 24784 src/xdisp.c && it->line_wrap == TRUNCATE it 24785 src/xdisp.c && window_hscroll_limited (it->w, it->f) > large_hscroll_threshold) it 24792 src/xdisp.c it->first_visible_x / FRAME_COLUMN_WIDTH (it->f); it 24793 src/xdisp.c move_result = fast_move_it_horizontally (it, chars_to_skip); it 24796 src/xdisp.c it->current_x = it->first_visible_x; it 24798 src/xdisp.c it->current_x = it->first_visible_x - FRAME_COLUMN_WIDTH (it->f); it 24801 src/xdisp.c move_result = move_it_in_display_line_to (it, ZV, it->first_visible_x, it 24809 src/xdisp.c if (it->current_x < it->first_visible_x it 24812 src/xdisp.c it->current_x = it->first_visible_x; it 24816 src/xdisp.c it->line_number_produced_p = false; it 24830 src/xdisp.c maybe_produce_line_number (it); it 24832 src/xdisp.c else if (it->area == TEXT_AREA) it 24836 src/xdisp.c maybe_produce_line_number (it); it 24840 src/xdisp.c handle_line_prefix (it); it 24856 src/xdisp.c row->ascent = it->max_ascent; it 24857 src/xdisp.c row->height = it->max_ascent + it->max_descent; it 24858 src/xdisp.c row->phys_ascent = it->max_phys_ascent; it 24859 src/xdisp.c row->phys_height = it->max_phys_ascent + it->max_phys_descent; it 24860 src/xdisp.c row->extra_line_spacing = it->max_extra_line_spacing; it 24879 src/xdisp.c if (IT_CHARPOS (*it) > max_pos) \ it 24881 src/xdisp.c max_pos = IT_CHARPOS (*it); \ it 24882 src/xdisp.c max_bpos = IT_BYTEPOS (*it); \ it 24897 src/xdisp.c if (!get_next_display_element (it)) it 24904 src/xdisp.c if (IT_OVERFLOW_NEWLINE_INTO_FRINGE (it)) it 24906 src/xdisp.c else if ((append_space_for_newline (it, true) it 24917 src/xdisp.c if (!NILP (BVAR (XBUFFER (it->w->contents), indicate_empty_lines)) it 24918 src/xdisp.c && (!MINI_WINDOW_P (it->w))) it 24922 src/xdisp.c it->continuation_lines_width = 0; it 24927 src/xdisp.c it->font_height = Qnil; it 24928 src/xdisp.c it->voffset = 0; it 24939 src/xdisp.c || lookup_basic_face (it->w, it->f, DEFAULT_FACE_ID) it 24941 src/xdisp.c extend_face_to_end_of_line (it); it 24948 src/xdisp.c x = it->current_x; it 24952 src/xdisp.c if (it->line_wrap != TRUNCATE) it 24954 src/xdisp.c ascent = it->max_ascent; it 24955 src/xdisp.c descent = it->max_descent; it 24956 src/xdisp.c phys_ascent = it->max_phys_ascent; it 24957 src/xdisp.c phys_descent = it->max_phys_descent; it 24959 src/xdisp.c if (it->line_wrap == WORD_WRAP && it->area == TEXT_AREA) it 24963 src/xdisp.c if (char_can_wrap_after (it)) it 24968 src/xdisp.c if (may_wrap && char_can_wrap_before (it)) it 24970 src/xdisp.c SAVE_IT (wrap_it, *it, wrap_data); it 24988 src/xdisp.c PRODUCE_GLYPHS (it); it 24992 src/xdisp.c if (it->area != TEXT_AREA) it 24994 src/xdisp.c row->ascent = max (row->ascent, it->max_ascent); it 24995 src/xdisp.c row->height = max (row->height, it->max_ascent + it->max_descent); it 24996 src/xdisp.c row->phys_ascent = max (row->phys_ascent, it->max_phys_ascent); it 24998 src/xdisp.c it->max_phys_ascent + it->max_phys_descent); it 25000 src/xdisp.c it->max_extra_line_spacing); it 25001 src/xdisp.c set_iterator_to_next (it, true); it 25005 src/xdisp.c if (it->area == TEXT_AREA && pending_handle_line_prefix) it 25009 src/xdisp.c maybe_produce_line_number (it); it 25012 src/xdisp.c handle_line_prefix (it); it 25027 src/xdisp.c hpos_before = it->hpos; it 25033 src/xdisp.c && it->current_x < it->last_visible_x) it 25035 src/xdisp.c it->hpos += nglyphs; it 25036 src/xdisp.c row->ascent = max (row->ascent, it->max_ascent); it 25037 src/xdisp.c row->height = max (row->height, it->max_ascent + it->max_descent); it 25038 src/xdisp.c row->phys_ascent = max (row->phys_ascent, it->max_phys_ascent); it 25040 src/xdisp.c it->max_phys_ascent + it->max_phys_descent); it 25042 src/xdisp.c it->max_extra_line_spacing); it 25043 src/xdisp.c if (it->current_x - it->pixel_width < it->first_visible_x it 25053 src/xdisp.c row->x = x - it->first_visible_x; it 25056 src/xdisp.c if (it->bidi_p) it 25057 src/xdisp.c RECORD_MAX_MIN_POS (it); it 25076 src/xdisp.c it->line_wrap != TRUNCATE it 25078 src/xdisp.c new_x > it->last_visible_x it 25080 src/xdisp.c || (new_x == it->last_visible_x it 25081 src/xdisp.c && FRAME_WINDOW_P (it->f) it 25083 src/xdisp.c ? WINDOW_LEFT_FRINGE_WIDTH (it->w) it 25084 src/xdisp.c : WINDOW_RIGHT_FRINGE_WIDTH (it->w))))) it 25088 src/xdisp.c if (it->hpos == 0 it 25089 src/xdisp.c || (new_x == it->last_visible_x it 25090 src/xdisp.c && FRAME_WINDOW_P (it->f) it 25092 src/xdisp.c ? WINDOW_LEFT_FRINGE_WIDTH (it->w) it 25093 src/xdisp.c : WINDOW_RIGHT_FRINGE_WIDTH (it->w)))) it 25100 src/xdisp.c it->current_x = new_x; it 25101 src/xdisp.c it->continuation_lines_width += new_x; it 25102 src/xdisp.c ++it->hpos; it 25107 src/xdisp.c if (!IT_OVERFLOW_NEWLINE_INTO_FRINGE (it) it 25119 src/xdisp.c && (!may_wrap || !char_can_wrap_before (it))) it 25125 src/xdisp.c if (it->bidi_p) it 25126 src/xdisp.c RECORD_MAX_MIN_POS (it); it 25127 src/xdisp.c set_iterator_to_next (it, true); it 25128 src/xdisp.c if (IT_OVERFLOW_NEWLINE_INTO_FRINGE (it)) it 25130 src/xdisp.c if (!get_next_display_element (it)) it 25133 src/xdisp.c it->continuation_lines_width = 0; it 25134 src/xdisp.c it->font_height = Qnil; it 25135 src/xdisp.c it->voffset = 0; it 25139 src/xdisp.c else if (ITERATOR_AT_END_OF_LINE_P (it)) it 25156 src/xdisp.c && (!may_wrap || !char_can_wrap_before (it))) it 25161 src/xdisp.c else if (it->bidi_p) it 25162 src/xdisp.c RECORD_MAX_MIN_POS (it); it 25163 src/xdisp.c if (WINDOW_LEFT_MARGIN_WIDTH (it->w) > 0 it 25164 src/xdisp.c || WINDOW_RIGHT_MARGIN_WIDTH (it->w) > 0) it 25165 src/xdisp.c extend_face_to_end_of_line (it); it 25168 src/xdisp.c && !FRAME_WINDOW_P (it->f)) it 25174 src/xdisp.c unproduce_glyphs (it, row->used[TEXT_AREA] it 25182 src/xdisp.c produce_special_glyphs (it, IT_CONTINUATION); it 25185 src/xdisp.c it->current_x = x_before; it 25186 src/xdisp.c it->continuation_lines_width += x_before; it 25190 src/xdisp.c it->max_ascent = ascent; it 25191 src/xdisp.c it->max_descent = descent; it 25192 src/xdisp.c it->max_phys_ascent = phys_ascent; it 25193 src/xdisp.c it->max_phys_descent = phys_descent; it 25194 src/xdisp.c if (WINDOW_LEFT_MARGIN_WIDTH (it->w) > 0 it 25195 src/xdisp.c || WINDOW_RIGHT_MARGIN_WIDTH (it->w) > 0) it 25196 src/xdisp.c extend_face_to_end_of_line (it); it 25202 src/xdisp.c unproduce_glyphs (it, it 25204 src/xdisp.c RESTORE_IT (it, &wrap_it, wrap_data); it 25205 src/xdisp.c it->continuation_lines_width += wrap_x; it 25222 src/xdisp.c extend_face_to_end_of_line (it); it 25224 src/xdisp.c else if ((it->what == IT_CHARACTER it 25225 src/xdisp.c || it->what == IT_STRETCH it 25226 src/xdisp.c || it->what == IT_COMPOSITION) it 25227 src/xdisp.c && it->c == '\t' && FRAME_WINDOW_P (it->f)) it 25235 src/xdisp.c ? WINDOW_LEFT_FRINGE_WIDTH (it->w) it 25236 src/xdisp.c : WINDOW_RIGHT_FRINGE_WIDTH (it->w)) == 0) it 25237 src/xdisp.c produce_special_glyphs (it, IT_CONTINUATION); it 25238 src/xdisp.c it->continuation_lines_width += it->last_visible_x; it 25241 src/xdisp.c glyph->pixel_width = it->last_visible_x - x; it 25242 src/xdisp.c it->starts_in_middle_of_char_p = true; it 25243 src/xdisp.c if (WINDOW_LEFT_MARGIN_WIDTH (it->w) > 0 it 25244 src/xdisp.c || WINDOW_RIGHT_MARGIN_WIDTH (it->w) > 0) it 25245 src/xdisp.c extend_face_to_end_of_line (it); it 25253 src/xdisp.c unproduce_glyphs (it, row->used[TEXT_AREA] it 25258 src/xdisp.c it->current_x = x_before; it 25259 src/xdisp.c it->continuation_lines_width += x; it 25260 src/xdisp.c if (!FRAME_WINDOW_P (it->f) it 25262 src/xdisp.c ? WINDOW_LEFT_FRINGE_WIDTH (it->w) it 25263 src/xdisp.c : WINDOW_RIGHT_FRINGE_WIDTH (it->w)) == 0) it 25264 src/xdisp.c produce_special_glyphs (it, IT_CONTINUATION); it 25267 src/xdisp.c extend_face_to_end_of_line (it); it 25272 src/xdisp.c it->starts_in_middle_of_char_p = true; it 25277 src/xdisp.c it->max_ascent = ascent; it 25278 src/xdisp.c it->max_descent = descent; it 25279 src/xdisp.c it->max_phys_ascent = phys_ascent; it 25280 src/xdisp.c it->max_phys_descent = phys_descent; it 25285 src/xdisp.c else if (new_x > it->first_visible_x) it 25288 src/xdisp.c ++it->hpos; it 25293 src/xdisp.c if (it->bidi_p) it 25294 src/xdisp.c RECORD_MAX_MIN_POS (it); it 25296 src/xdisp.c if (x < it->first_visible_x && !row->reversed_p it 25304 src/xdisp.c row->x = x - it->first_visible_x; it 25312 src/xdisp.c && new_x > it->last_visible_x it 25314 src/xdisp.c && !(it->line_wrap == TRUNCATE it 25315 src/xdisp.c && WINDOW_LEFT_FRINGE_WIDTH (it->w) == 0)) it 25317 src/xdisp.c eassert (FRAME_WINDOW_P (it->f)); it 25318 src/xdisp.c row->x = it->last_visible_x - new_x; it 25328 src/xdisp.c eassert (it->first_visible_x <= it->last_visible_x); it 25333 src/xdisp.c if (it->bidi_p && nglyphs == 0) it 25334 src/xdisp.c RECORD_MAX_MIN_POS (it); it 25336 src/xdisp.c row->ascent = max (row->ascent, it->max_ascent); it 25337 src/xdisp.c row->height = max (row->height, it->max_ascent + it->max_descent); it 25338 src/xdisp.c row->phys_ascent = max (row->phys_ascent, it->max_phys_ascent); it 25340 src/xdisp.c it->max_phys_ascent + it->max_phys_descent); it 25342 src/xdisp.c it->max_extra_line_spacing); it 25353 src/xdisp.c if (ITERATOR_AT_END_OF_LINE_P (it)) it 25357 src/xdisp.c row->ends_in_newline_from_string_p = STRINGP (it->object); it 25361 src/xdisp.c if (!IT_OVERFLOW_NEWLINE_INTO_FRINGE (it)) it 25362 src/xdisp.c append_space_for_newline (it, false); it 25365 src/xdisp.c extend_face_to_end_of_line (it); it 25369 src/xdisp.c row->glyphs[TEXT_AREA]->charpos = CHARPOS (it->position); it 25373 src/xdisp.c it->eol_pos = it->current.pos; it 25376 src/xdisp.c set_iterator_to_next (it, true); it 25377 src/xdisp.c it->continuation_lines_width = 0; it 25389 src/xdisp.c CONSP (it->object) && EQ (XCAR (it->object), Qspace) it 25390 src/xdisp.c && it->sp > 0 && it->method == GET_FROM_STRETCH it 25391 src/xdisp.c && it->current_x >= it->last_visible_x it 25392 src/xdisp.c && it->continuation_lines_width > 0 it 25393 src/xdisp.c && it->line_wrap == TRUNCATE && it->stack[0].line_wrap != TRUNCATE; it 25398 src/xdisp.c set_iterator_to_next (it, true); it 25402 src/xdisp.c if (it->line_wrap == TRUNCATE it 25403 src/xdisp.c && ((FRAME_WINDOW_P (it->f) it 25409 src/xdisp.c ? WINDOW_LEFT_FRINGE_WIDTH (it->w) it 25410 src/xdisp.c : WINDOW_RIGHT_FRINGE_WIDTH (it->w)) it 25411 src/xdisp.c || it->what == IT_IMAGE)) it 25412 src/xdisp.c ? (it->current_x >= it->last_visible_x) it 25413 src/xdisp.c : (it->current_x > it->last_visible_x))) it 25416 src/xdisp.c if (!FRAME_WINDOW_P (it->f) it 25418 src/xdisp.c ? WINDOW_LEFT_FRINGE_WIDTH (it->w) it 25419 src/xdisp.c : WINDOW_RIGHT_FRINGE_WIDTH (it->w)) == 0) it 25439 src/xdisp.c unproduce_glyphs (it, i + 1); it 25447 src/xdisp.c if (it->current_x > it->last_visible_x) it 25449 src/xdisp.c it->current_x = x_before; it 25450 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) it 25455 src/xdisp.c produce_special_glyphs (it, IT_TRUNCATION); it 25461 src/xdisp.c produce_special_glyphs (it, IT_TRUNCATION); it 25463 src/xdisp.c it->hpos = hpos_before; it 25466 src/xdisp.c else if (IT_OVERFLOW_NEWLINE_INTO_FRINGE (it)) it 25469 src/xdisp.c if (!get_next_display_element (it)) it 25471 src/xdisp.c it->continuation_lines_width = 0; it 25472 src/xdisp.c it->font_height = Qnil; it 25473 src/xdisp.c it->voffset = 0; it 25478 src/xdisp.c if (ITERATOR_AT_END_OF_LINE_P (it)) it 25483 src/xdisp.c it->current_x = x_before; it 25484 src/xdisp.c it->hpos = hpos_before; it 25488 src/xdisp.c it->continuation_lines_width = 0; it 25489 src/xdisp.c reseat_at_next_visible_line_start (it, false); it 25494 src/xdisp.c if (IT_BYTEPOS (*it) > BEG_BYTE) it 25496 src/xdisp.c IT_BYTEPOS (*it) >= ZV_BYTE it 25509 src/xdisp.c if (it->first_visible_x it 25510 src/xdisp.c && IT_CHARPOS (*it) != CHARPOS (row->start.pos)) it 25512 src/xdisp.c if (!FRAME_WINDOW_P (it->f) it 25514 src/xdisp.c ? WINDOW_RIGHT_FRINGE_WIDTH (it->w) it 25515 src/xdisp.c : WINDOW_LEFT_FRINGE_WIDTH (it->w)) == 0) it 25519 src/xdisp.c insert_left_trunc_glyphs (it); it 25528 src/xdisp.c row->end = it->current; it 25529 src/xdisp.c if (!it->bidi_p) it 25540 src/xdisp.c find_row_edges (it, row, min_pos, min_bpos, max_pos, max_bpos); it 25548 src/xdisp.c && (overlay_arrow_string = overlay_arrow_at_row (it, row), it 25555 src/xdisp.c = get_overlay_arrow_glyph_row (it->w, overlay_arrow_string); it 25587 src/xdisp.c highlight_trailing_whitespace (it); it 25590 src/xdisp.c compute_line_metrics (it); it 25599 src/xdisp.c = (it->method == GET_FROM_DISPLAY_VECTOR it 25600 src/xdisp.c && it->ellipsis_p); it 25603 src/xdisp.c row->left_user_fringe_bitmap = it->left_user_fringe_bitmap; it 25604 src/xdisp.c row->left_user_fringe_face_id = it->left_user_fringe_face_id; it 25605 src/xdisp.c row->right_user_fringe_bitmap = it->right_user_fringe_bitmap; it 25606 src/xdisp.c row->right_user_fringe_face_id = it->right_user_fringe_face_id; it 25608 src/xdisp.c it->left_user_fringe_bitmap = 0; it 25609 src/xdisp.c it->left_user_fringe_face_id = 0; it 25610 src/xdisp.c it->right_user_fringe_bitmap = 0; it 25611 src/xdisp.c it->right_user_fringe_face_id = 0; it 25618 src/xdisp.c if (MINI_WINDOW_P (it->w) && it->line_wrap == TRUNCATE it 25619 src/xdisp.c && FRAME_WINDOW_P (it->f) && !cursor_in_echo_area) it 25623 src/xdisp.c cvpos = it->w->cursor.vpos; it 25633 src/xdisp.c || (it->bidi_p it 25634 src/xdisp.c && !MATRIX_ROW (it->w->desired_matrix, cvpos)->ends_at_zv_p)) it 25638 src/xdisp.c set_cursor_from_row (it->w, row, it->w->desired_matrix, 0, 0, 0, 0); it 25644 src/xdisp.c it->current_x = it->hpos = 0; it 25645 src/xdisp.c it->current_y += row->height; it 25650 src/xdisp.c it->first_visible_x = first_visible_x; it 25651 src/xdisp.c it->last_visible_x = last_visible_x; it 25653 src/xdisp.c SET_TEXT_POS (it->eol_pos, 0, 0); it 25654 src/xdisp.c ++it->vpos; it 25655 src/xdisp.c ++it->glyph_row; it 25660 src/xdisp.c if (it->glyph_row < MATRIX_BOTTOM_TEXT_ROW (it->w->desired_matrix, it->w)) it 25661 src/xdisp.c it->glyph_row->reversed_p = row->reversed_p; it 25662 src/xdisp.c it->start = row->end; it 26122 src/xdisp.c struct it it; it 26131 src/xdisp.c start_display (&it, w, pt); it 26138 src/xdisp.c if (it.line_wrap == TRUNCATE) it 26139 src/xdisp.c it.last_visible_x = DISP_INFINITY; it 26141 src/xdisp.c if (it.cmp_it.id < 0 it 26142 src/xdisp.c && it.method == GET_FROM_STRING it 26143 src/xdisp.c && it.area == TEXT_AREA it 26144 src/xdisp.c && it.string_from_display_prop_p it 26145 src/xdisp.c && (it.sp > 0 && it.stack[it.sp - 1].method == GET_FROM_BUFFER)) it 26153 src/xdisp.c reseat_at_previous_visible_line_start (&it); it 26154 src/xdisp.c it.current_x = it.hpos = it.current_y = it.vpos = 0; it 26155 src/xdisp.c if (IT_CHARPOS (it) != PT) it 26157 src/xdisp.c move_it_to (&it, overshoot_expected ? PT - 1 : PT, it 26162 src/xdisp.c if (it.method == GET_FROM_DISPLAY_VECTOR it 26163 src/xdisp.c && it.current.dpvec_index > 0 it 26169 src/xdisp.c else if (IT_CHARPOS (it) != PT && !overshoot_expected) it 26170 src/xdisp.c move_it_in_display_line (&it, PT, -1, MOVE_TO_POS); it 26172 src/xdisp.c pt_x = it.current_x; it 26173 src/xdisp.c pt_vpos = it.vpos; it 26176 src/xdisp.c struct glyph_row *row = it.glyph_row; it 26182 src/xdisp.c get_next_display_element (&it); it 26183 src/xdisp.c at_eol_p = ITERATOR_AT_END_OF_LINE_P (&it); it 26184 src/xdisp.c it.glyph_row = NULL; it 26185 src/xdisp.c PRODUCE_GLYPHS (&it); /* compute it.pixel_width */ it 26186 src/xdisp.c it.glyph_row = row; it 26190 src/xdisp.c it.current_x = pt_x; it 26193 src/xdisp.c at_eol_p = ITERATOR_AT_END_OF_LINE_P (&it); it 26194 src/xdisp.c pixel_width = it.pixel_width; it 26205 src/xdisp.c if (it.bidi_p) it 26206 src/xdisp.c pt_x += pixel_width * it.bidi_it.scan_dir; it 26220 src/xdisp.c target_x = pt_x - (!FRAME_WINDOW_P (it.f)) * pixel_width; it 26230 src/xdisp.c start_display (&it, w, pt); it 26231 src/xdisp.c if (it.line_wrap == TRUNCATE) it 26232 src/xdisp.c it.last_visible_x = DISP_INFINITY; it 26233 src/xdisp.c reseat_at_previous_visible_line_start (&it); it 26234 src/xdisp.c it.current_x = it.current_y = it.hpos = 0; it 26236 src/xdisp.c move_it_by_lines (&it, pt_vpos); it 26240 src/xdisp.c move_it_by_lines (&it, -1); it 26241 src/xdisp.c target_x = it.last_visible_x - !FRAME_WINDOW_P (it.f); it 26253 src/xdisp.c if (!FRAME_WINDOW_P (it.f) && it.line_wrap == WORD_WRAP) it 26256 src/xdisp.c struct it it2; it 26258 src/xdisp.c SAVE_IT (it2, it, it_data); it 26259 src/xdisp.c move_it_in_display_line_to (&it, ZV, target_x, it 26263 src/xdisp.c if (it.current_x != target_x) it 26264 src/xdisp.c target_x = it.current_x - 1; it 26265 src/xdisp.c RESTORE_IT (&it, &it2, it_data); it 26272 src/xdisp.c || (target_x >= it.last_visible_x it 26273 src/xdisp.c && it.line_wrap != TRUNCATE)) it 26276 src/xdisp.c move_it_by_lines (&it, 0); it 26277 src/xdisp.c move_it_by_lines (&it, 1); it 26288 src/xdisp.c if (FRAME_WINDOW_P (it.f) && dir < 0) it 26293 src/xdisp.c if (it.current_x == 0) it 26294 src/xdisp.c get_next_display_element (&it); it 26295 src/xdisp.c if (it.what == IT_COMPOSITION) it 26297 src/xdisp.c new_pos.charpos = it.cmp_it.charpos; it 26301 src/xdisp.c new_pos = it.current.pos; it 26303 src/xdisp.c while (it.current_x + it.pixel_width <= target_x it 26308 src/xdisp.c || (it.line_wrap == WORD_WRAP it 26311 src/xdisp.c int new_x = it.current_x + it.pixel_width; it 26319 src/xdisp.c if (it.what == IT_COMPOSITION) it 26321 src/xdisp.c new_pos.charpos = it.cmp_it.charpos; it 26325 src/xdisp.c new_pos = it.current.pos; it 26326 src/xdisp.c if (new_x == it.current_x) it 26328 src/xdisp.c rc = move_it_in_display_line_to (&it, ZV, new_x, it 26330 src/xdisp.c if (ITERATOR_AT_END_OF_LINE_P (&it) && !target_is_eol_p) it 26337 src/xdisp.c it.current.pos = new_pos; it 26339 src/xdisp.c else if (it.current_x != target_x) it 26340 src/xdisp.c move_it_in_display_line_to (&it, ZV, target_x, MOVE_TO_POS | MOVE_TO_X); it 26346 src/xdisp.c while (IT_CHARPOS (it) == PT) it 26348 src/xdisp.c set_iterator_to_next (&it, false); it 26349 src/xdisp.c if (!get_next_display_element (&it)) it 26355 src/xdisp.c SET_PT_BOTH (IT_CHARPOS (it), IT_BYTEPOS (it)); it 26491 src/xdisp.c struct it it; it 26522 src/xdisp.c init_iterator (&it, w, -1, -1, f->desired_matrix->rows, MENU_FACE_ID); it 26523 src/xdisp.c it.first_visible_x = 0; it 26524 src/xdisp.c it.last_visible_x = FRAME_PIXEL_WIDTH (f); it 26532 src/xdisp.c init_iterator (&it, menu_w, -1, -1, menu_w->desired_matrix->rows, it 26534 src/xdisp.c it.first_visible_x = 0; it 26535 src/xdisp.c it.last_visible_x = FRAME_PIXEL_WIDTH (f); it 26542 src/xdisp.c init_iterator (&it, w, -1, -1, f->desired_matrix->rows, it 26544 src/xdisp.c it.first_visible_x = 0; it 26545 src/xdisp.c it.last_visible_x = FRAME_COLS (f); it 26551 src/xdisp.c it.paragraph_embedding = L2R; it 26556 src/xdisp.c struct glyph_row *row = it.glyph_row + i; it 26564 src/xdisp.c items = FRAME_MENU_BAR_ITEMS (it.f); it 26575 src/xdisp.c ASET (items, i + 3, make_fixnum (it.hpos)); it 26578 src/xdisp.c if (it.current_x < it.last_visible_x) it 26579 src/xdisp.c display_string (NULL, string, Qnil, 0, 0, &it, it 26584 src/xdisp.c if (it.current_x < it.last_visible_x) it 26585 src/xdisp.c display_string ("", Qnil, Qnil, 0, 0, &it, -1, 0, 0, -1); it 26588 src/xdisp.c compute_line_metrics (&it); it 26642 src/xdisp.c struct it it; it 26658 src/xdisp.c init_iterator (&it, w, -1, -1, f->desired_matrix->rows + y, MENU_FACE_ID); it 26659 src/xdisp.c it.first_visible_x = 0; it 26660 src/xdisp.c it.last_visible_x = FRAME_COLS (f) - 1; it 26661 src/xdisp.c row = it.glyph_row; it 26673 src/xdisp.c it.current_x = it.hpos = x; it 26674 src/xdisp.c it.current_y = it.vpos = y; it 26678 src/xdisp.c it.face_id = face_id; it 26679 src/xdisp.c it.line_wrap = TRUNCATE; it 26686 src/xdisp.c it.paragraph_embedding = L2R; it 26689 src/xdisp.c display_string (" ", Qnil, Qnil, 0, 0, &it, 1, 0, FRAME_COLS (f) - 1, -1); it 26694 src/xdisp.c display_string (item_text, Qnil, Qnil, 0, 0, &it, it 26698 src/xdisp.c display_string (" >", Qnil, Qnil, 0, 0, &it, width, 0, it 26702 src/xdisp.c display_string (item_text, Qnil, Qnil, 0, 0, &it, it 26869 src/xdisp.c struct it it; it 26873 src/xdisp.c init_iterator (&it, w, -1, -1, NULL, face_id); it 26876 src/xdisp.c it.glyph_row->enabled_p = false; it 26877 src/xdisp.c prepare_desired_row (w, it.glyph_row, true); it 26879 src/xdisp.c it.glyph_row->mode_line_p = true; it 26882 src/xdisp.c it.glyph_row->tab_line_p = true; it 26891 src/xdisp.c it.paragraph_embedding = L2R; it 26900 src/xdisp.c push_kboard (FRAME_KBOARD (it.f)); it 26907 src/xdisp.c display_mode_element (&it, 0, 0, 0, format, Qnil, false); it 26918 src/xdisp.c 0, 0, &it, 0, 0, 0, it 26935 src/xdisp.c Qnil, 0, 0, &it, 0, 0, 0, it 26950 src/xdisp.c Qnil, 0, 0, &it, 0, 0, 0, it 26959 src/xdisp.c display_string (" ", Qnil, Qnil, 0, 0, &it, 10000, -1, -1, 0); it 26961 src/xdisp.c compute_line_metrics (&it); it 26962 src/xdisp.c it.glyph_row->full_width_p = true; it 26963 src/xdisp.c it.glyph_row->continued_p = false; it 26964 src/xdisp.c it.glyph_row->truncated_on_left_p = false; it 26965 src/xdisp.c it.glyph_row->truncated_on_right_p = false; it 26968 src/xdisp.c face = FACE_FROM_ID (it.f, face_id); it 26969 src/xdisp.c extend_face_to_end_of_line (&it); it 26972 src/xdisp.c struct glyph *last = (it.glyph_row->glyphs[TEXT_AREA] it 26973 src/xdisp.c + it.glyph_row->used[TEXT_AREA] - 1); it 26984 src/xdisp.c - (it.current_x - it.last_visible_x))); it 26987 src/xdisp.c return it.glyph_row->height; it 27063 src/xdisp.c display_mode_element (struct it *it, int depth, int field_width, int precision, it 27172 src/xdisp.c n += display_string (NULL, elt, Qnil, 0, 0, it, it 27185 src/xdisp.c || it->current_x < it->last_visible_x)) it 27234 src/xdisp.c it, 0, nchars, 0, it 27258 src/xdisp.c n += display_mode_element (it, depth, field, prec, it 27272 src/xdisp.c spec = decode_mode_spec (it->w, c, field, &string); it 27303 src/xdisp.c nglyphs_before = it->glyph_row->used[TEXT_AREA]; it 27305 src/xdisp.c charpos, 0, it, it 27315 src/xdisp.c = (it->glyph_row->glyphs[TEXT_AREA] it 27402 src/xdisp.c if (!FRAME_LIVE_P (it->f)) it 27404 src/xdisp.c n += display_mode_element (it, depth, field_width - n, it 27418 src/xdisp.c n += display_mode_element (it, depth, field_width - n, it 27481 src/xdisp.c n += display_mode_element (it, depth, it 27513 src/xdisp.c n += display_string ("", Qnil, Qnil, 0, 0, it, field_width - n, it 27640 src/xdisp.c struct it it; it 27691 src/xdisp.c init_iterator (&it, w, -1, -1, NULL, face_id); it 27709 src/xdisp.c push_kboard (FRAME_KBOARD (it.f)); it 27710 src/xdisp.c display_mode_element (&it, 0, 0, 0, format, Qnil, false); it 28594 src/xdisp.c ptrdiff_t face_string_pos, ptrdiff_t start, struct it *it, it 28597 src/xdisp.c int hpos_at_start = it->hpos; it 28598 src/xdisp.c int saved_face_id = it->face_id; it 28599 src/xdisp.c struct glyph_row *row = it->glyph_row; it 28604 src/xdisp.c reseat_to_string (it, NILP (lisp_string) ? string : NULL, lisp_string, it 28610 src/xdisp.c it->stop_charpos = it->end_charpos; it 28619 src/xdisp.c it->face_id it 28620 src/xdisp.c = face_at_string_position (it->w, face_string, face_string_pos, it 28621 src/xdisp.c 0, &endptr, it->base_face_id, false, 0); it 28622 src/xdisp.c face = FACE_FROM_ID (it->f, it->face_id); it 28623 src/xdisp.c it->face_box_p = face->box != FACE_NO_BOX; it 28636 src/xdisp.c display_min_width (it, 0, face_string, min_width); it 28644 src/xdisp.c max_x = it->last_visible_x; it 28646 src/xdisp.c max_x = min (max_x, it->last_visible_x); it 28650 src/xdisp.c if (it->current_x < it->first_visible_x) it 28651 src/xdisp.c move_it_in_display_line_to (it, 100000, it->first_visible_x, it 28654 src/xdisp.c row->ascent = it->max_ascent; it 28655 src/xdisp.c row->height = it->max_ascent + it->max_descent; it 28656 src/xdisp.c row->phys_ascent = it->max_phys_ascent; it 28657 src/xdisp.c row->phys_height = it->max_phys_ascent + it->max_phys_descent; it 28658 src/xdisp.c row->extra_line_spacing = it->max_extra_line_spacing; it 28660 src/xdisp.c if (STRINGP (it->string)) it 28661 src/xdisp.c it_charpos = IT_STRING_CHARPOS (*it); it 28663 src/xdisp.c it_charpos = IT_CHARPOS (*it); it 28667 src/xdisp.c while (it->current_x < max_x) it 28672 src/xdisp.c if (!get_next_display_element (it)) it 28676 src/xdisp.c x_before = it->current_x; it 28678 src/xdisp.c PRODUCE_GLYPHS (it); it 28687 src/xdisp.c if (it->line_wrap != TRUNCATE it 28695 src/xdisp.c unproduce_glyphs (it, row->used[TEXT_AREA] it 28698 src/xdisp.c it->current_x = x_before; it 28703 src/xdisp.c unproduce_glyphs (it, row->used[TEXT_AREA] it 28706 src/xdisp.c it->current_x = x; it 28710 src/xdisp.c else if (x + glyph->pixel_width >= it->first_visible_x) it 28713 src/xdisp.c ++it->hpos; it 28714 src/xdisp.c if (x < it->first_visible_x) it 28715 src/xdisp.c row->x = x - it->first_visible_x; it 28724 src/xdisp.c row->ascent = max (row->ascent, it->max_ascent); it 28725 src/xdisp.c row->height = max (row->height, it->max_ascent + it->max_descent); it 28726 src/xdisp.c row->phys_ascent = max (row->phys_ascent, it->max_phys_ascent); it 28728 src/xdisp.c it->max_phys_ascent + it->max_phys_descent); it 28730 src/xdisp.c it->max_extra_line_spacing); it 28740 src/xdisp.c if (ITERATOR_AT_END_OF_LINE_P (it)) it 28742 src/xdisp.c it->continuation_lines_width = 0; it 28746 src/xdisp.c set_iterator_to_next (it, true); it 28747 src/xdisp.c if (STRINGP (it->string)) it 28748 src/xdisp.c it_charpos = IT_STRING_CHARPOS (*it); it 28750 src/xdisp.c it_charpos = IT_CHARPOS (*it); it 28753 src/xdisp.c if (it->line_wrap == TRUNCATE it 28754 src/xdisp.c && it->current_x >= it->last_visible_x) it 28758 src/xdisp.c if (it_charpos < it->string_nchars) it 28760 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) it 28764 src/xdisp.c if (it->current_x > it->last_visible_x) it 28777 src/xdisp.c unproduce_glyphs (it, ii + 1); it 28783 src/xdisp.c produce_special_glyphs (it, IT_TRUNCATION); it 28786 src/xdisp.c produce_special_glyphs (it, IT_TRUNCATION); it 28795 src/xdisp.c if (it->first_visible_x it 28798 src/xdisp.c if (!FRAME_WINDOW_P (it->f) it 28800 src/xdisp.c ? WINDOW_RIGHT_FRINGE_WIDTH (it->w) it 28801 src/xdisp.c : WINDOW_LEFT_FRINGE_WIDTH (it->w)) == 0) it 28802 src/xdisp.c insert_left_trunc_glyphs (it); it 28806 src/xdisp.c it->face_id = saved_face_id; it 28809 src/xdisp.c return it->hpos - hpos_at_start; it 28965 src/xdisp.c calc_pixel_width_or_height (double *res, struct it *it, Lisp_Object prop, it 28972 src/xdisp.c int lnum_pixel_width = it->line_number_produced_p ? it->lnum_pixel_width : 0; it 28981 src/xdisp.c eassert (FRAME_LIVE_P (it->f)); it 29000 src/xdisp.c double ppi = (width_p ? FRAME_RES_X (it->f) it 29001 src/xdisp.c : FRAME_RES_Y (it->f)); it 29014 src/xdisp.c : FRAME_LINE_HEIGHT (it->f)); it 29019 src/xdisp.c : FRAME_COLUMN_WIDTH (it->f)); it 29028 src/xdisp.c ? (window_box_width (it->w, TEXT_AREA) it 29030 src/xdisp.c : WINDOW_BOX_HEIGHT_NO_MODE_LINE (it->w)); it 29040 src/xdisp.c return OK_ALIGN_TO (window_box_left_offset (it->w, TEXT_AREA) it 29044 src/xdisp.c return OK_ALIGN_TO (window_box_right_offset (it->w, TEXT_AREA)); it 29047 src/xdisp.c return OK_ALIGN_TO (window_box_left_offset (it->w, TEXT_AREA) it 29049 src/xdisp.c + window_box_width (it->w, TEXT_AREA) / 2); it 29052 src/xdisp.c return OK_ALIGN_TO (WINDOW_HAS_FRINGES_OUTSIDE_MARGINS (it->w) it 29053 src/xdisp.c ? WINDOW_LEFT_SCROLL_BAR_AREA_WIDTH (it->w) it 29054 src/xdisp.c : window_box_right_offset (it->w, LEFT_MARGIN_AREA)); it 29057 src/xdisp.c return OK_ALIGN_TO (WINDOW_HAS_FRINGES_OUTSIDE_MARGINS (it->w) it 29058 src/xdisp.c ? window_box_right_offset (it->w, RIGHT_MARGIN_AREA) it 29059 src/xdisp.c : window_box_right_offset (it->w, TEXT_AREA)); it 29062 src/xdisp.c return OK_ALIGN_TO (window_box_left_offset (it->w, LEFT_MARGIN_AREA)); it 29065 src/xdisp.c return OK_ALIGN_TO (window_box_left_offset (it->w, RIGHT_MARGIN_AREA)); it 29068 src/xdisp.c return OK_ALIGN_TO (WINDOW_HAS_VERTICAL_SCROLL_BAR_ON_LEFT (it->w) it 29070 src/xdisp.c : (window_box_right_offset (it->w, RIGHT_MARGIN_AREA) it 29071 src/xdisp.c + (WINDOW_HAS_FRINGES_OUTSIDE_MARGINS (it->w) it 29072 src/xdisp.c ? WINDOW_RIGHT_FRINGE_WIDTH (it->w) it 29079 src/xdisp.c return OK_PIXELS (WINDOW_LEFT_FRINGE_WIDTH (it->w)); it 29081 src/xdisp.c return OK_PIXELS (WINDOW_RIGHT_FRINGE_WIDTH (it->w)); it 29083 src/xdisp.c return OK_PIXELS (WINDOW_LEFT_MARGIN_WIDTH (it->w)); it 29085 src/xdisp.c return OK_PIXELS (WINDOW_RIGHT_MARGIN_WIDTH (it->w)); it 29087 src/xdisp.c return OK_PIXELS (WINDOW_SCROLL_BAR_AREA_WIDTH (it->w)); it 29090 src/xdisp.c prop = buffer_local_value (prop, it->w->contents); it 29098 src/xdisp.c ? FRAME_COLUMN_WIDTH (it->f) it 29099 src/xdisp.c : FRAME_LINE_HEIGHT (it->f)); it 29114 src/xdisp.c if (FRAME_WINDOW_P (it->f) it 29117 src/xdisp.c ptrdiff_t id = lookup_image (it->f, prop, it->face_id); it 29118 src/xdisp.c struct image *img = IMAGE_FROM_ID (it->f, id); it 29123 src/xdisp.c if (FRAME_WINDOW_P (it->f) && valid_xwidget_spec_p (prop)) it 29139 src/xdisp.c if (!calc_pixel_width_or_height (&px, it, XCAR (cdr), it 29153 src/xdisp.c car = buffer_local_value (car, it->w->contents); it 29167 src/xdisp.c if (calc_pixel_width_or_height (&fact, it, cdr, it 30704 src/xdisp.c #define IT_EXPAND_MATRIX_WIDTH(it, area) \ it 30706 src/xdisp.c if (!it->f->fonts_changed \ it 30707 src/xdisp.c && (it->glyph_row->glyphs[area] \ it 30708 src/xdisp.c < it->glyph_row->glyphs[area + 1])) \ it 30710 src/xdisp.c it->w->ncols_scale_factor++; \ it 30711 src/xdisp.c it->f->fonts_changed = true; \ it 30719 src/xdisp.c append_glyph (struct it *it) it 30722 src/xdisp.c enum glyph_row_area area = it->area; it 30724 src/xdisp.c eassert (it->glyph_row); it 30725 src/xdisp.c eassert (it->char_to_display != '\n' && it->char_to_display != '\t'); it 30727 src/xdisp.c glyph = it->glyph_row->glyphs[area] + it->glyph_row->used[area]; it 30728 src/xdisp.c if (glyph < it->glyph_row->glyphs[area + 1]) it 30732 src/xdisp.c if (it->glyph_row->reversed_p && area == TEXT_AREA) it 30737 src/xdisp.c for (g = glyph - 1; g >= it->glyph_row->glyphs[area]; g--) it 30739 src/xdisp.c glyph = it->glyph_row->glyphs[area]; it 30741 src/xdisp.c glyph->charpos = CHARPOS (it->position); it 30742 src/xdisp.c glyph->object = it->object; it 30743 src/xdisp.c if (it->pixel_width > 0) it 30745 src/xdisp.c eassert (it->pixel_width <= SHRT_MAX); it 30746 src/xdisp.c glyph->pixel_width = it->pixel_width; it 30756 src/xdisp.c glyph->ascent = it->ascent; it 30757 src/xdisp.c glyph->descent = it->descent; it 30758 src/xdisp.c glyph->voffset = it->voffset; it 30760 src/xdisp.c glyph->avoid_cursor_p = it->avoid_cursor_p; it 30761 src/xdisp.c glyph->multibyte_p = it->multibyte_p; it 30762 src/xdisp.c if (it->glyph_row->reversed_p && area == TEXT_AREA) it 30766 src/xdisp.c glyph->right_box_line_p = it->start_of_box_run_p; it 30767 src/xdisp.c glyph->left_box_line_p = it->end_of_box_run_p; it 30771 src/xdisp.c glyph->left_box_line_p = it->start_of_box_run_p; it 30772 src/xdisp.c glyph->right_box_line_p = it->end_of_box_run_p; it 30774 src/xdisp.c glyph->overlaps_vertically_p = (it->phys_ascent > it->ascent it 30775 src/xdisp.c || it->phys_descent > it->descent); it 30776 src/xdisp.c glyph->glyph_not_available_p = it->glyph_not_available_p; it 30777 src/xdisp.c glyph->face_id = it->face_id; it 30778 src/xdisp.c glyph->u.ch = it->char_to_display; it 30781 src/xdisp.c if (it->bidi_p) it 30783 src/xdisp.c glyph->resolved_level = it->bidi_it.resolved_level; it 30784 src/xdisp.c eassert ((it->bidi_it.type & 7) == it->bidi_it.type); it 30785 src/xdisp.c glyph->bidi_type = it->bidi_it.type; it 30792 src/xdisp.c ++it->glyph_row->used[area]; it 30795 src/xdisp.c IT_EXPAND_MATRIX_WIDTH (it, area); it 30802 src/xdisp.c append_composite_glyph (struct it *it) it 30805 src/xdisp.c enum glyph_row_area area = it->area; it 30807 src/xdisp.c eassert (it->glyph_row); it 30809 src/xdisp.c glyph = it->glyph_row->glyphs[area] + it->glyph_row->used[area]; it 30810 src/xdisp.c if (glyph < it->glyph_row->glyphs[area + 1]) it 30814 src/xdisp.c if (it->glyph_row->reversed_p && it->area == TEXT_AREA) it 30819 src/xdisp.c for (g = glyph - 1; g >= it->glyph_row->glyphs[it->area]; g--) it 30821 src/xdisp.c glyph = it->glyph_row->glyphs[it->area]; it 30823 src/xdisp.c glyph->charpos = it->cmp_it.charpos; it 30824 src/xdisp.c glyph->object = it->object; it 30825 src/xdisp.c eassert (it->pixel_width <= SHRT_MAX); it 30826 src/xdisp.c glyph->pixel_width = it->pixel_width; it 30827 src/xdisp.c glyph->ascent = it->ascent; it 30828 src/xdisp.c glyph->descent = it->descent; it 30829 src/xdisp.c glyph->voffset = it->voffset; it 30831 src/xdisp.c if (it->cmp_it.ch < 0) it 30834 src/xdisp.c glyph->u.cmp.id = it->cmp_it.id; it 30840 src/xdisp.c glyph->u.cmp.id = it->cmp_it.id; it 30841 src/xdisp.c glyph->slice.cmp.from = it->cmp_it.from; it 30842 src/xdisp.c glyph->slice.cmp.to = it->cmp_it.to - 1; it 30844 src/xdisp.c glyph->avoid_cursor_p = it->avoid_cursor_p; it 30845 src/xdisp.c glyph->multibyte_p = it->multibyte_p; it 30846 src/xdisp.c if (it->glyph_row->reversed_p && area == TEXT_AREA) it 30850 src/xdisp.c glyph->right_box_line_p = it->start_of_box_run_p; it 30851 src/xdisp.c glyph->left_box_line_p = it->end_of_box_run_p; it 30855 src/xdisp.c glyph->left_box_line_p = it->start_of_box_run_p; it 30856 src/xdisp.c glyph->right_box_line_p = it->end_of_box_run_p; it 30858 src/xdisp.c glyph->overlaps_vertically_p = (it->phys_ascent > it->ascent it 30859 src/xdisp.c || it->phys_descent > it->descent); it 30861 src/xdisp.c glyph->glyph_not_available_p = it->glyph_not_available_p; it 30862 src/xdisp.c glyph->face_id = it->face_id; it 30864 src/xdisp.c if (it->bidi_p) it 30866 src/xdisp.c glyph->resolved_level = it->bidi_it.resolved_level; it 30867 src/xdisp.c eassert ((it->bidi_it.type & 7) == it->bidi_it.type); it 30868 src/xdisp.c glyph->bidi_type = it->bidi_it.type; it 30870 src/xdisp.c ++it->glyph_row->used[area]; it 30873 src/xdisp.c IT_EXPAND_MATRIX_WIDTH (it, area); it 30881 src/xdisp.c take_vertical_position_into_account (struct it *it) it 30883 src/xdisp.c if (it->voffset) it 30885 src/xdisp.c if (it->voffset < 0) it 30888 src/xdisp.c it->ascent -= it->voffset; it 30892 src/xdisp.c it->descent += it->voffset; it 30902 src/xdisp.c produce_image_glyph (struct it *it) it 30909 src/xdisp.c eassert (it->what == IT_IMAGE); it 30911 src/xdisp.c face = FACE_FROM_ID (it->f, it->face_id); it 30913 src/xdisp.c prepare_face_for_display (it->f, face); it 30915 src/xdisp.c if (it->image_id < 0) it 30918 src/xdisp.c it->ascent = it->phys_ascent = 0; it 30919 src/xdisp.c it->descent = it->phys_descent = 0; it 30920 src/xdisp.c it->pixel_width = 0; it 30921 src/xdisp.c it->nglyphs = 0; it 30925 src/xdisp.c img = IMAGE_FROM_ID (it->f, it->image_id); it 30927 src/xdisp.c prepare_image_for_display (it->f, img); it 30933 src/xdisp.c if (FIXNUMP (it->slice.x)) it 30934 src/xdisp.c slice.x = XFIXNUM (it->slice.x); it 30935 src/xdisp.c else if (FLOATP (it->slice.x)) it 30936 src/xdisp.c slice.x = XFLOAT_DATA (it->slice.x) * img->width; it 30938 src/xdisp.c if (FIXNUMP (it->slice.y)) it 30939 src/xdisp.c slice.y = XFIXNUM (it->slice.y); it 30940 src/xdisp.c else if (FLOATP (it->slice.y)) it 30941 src/xdisp.c slice.y = XFLOAT_DATA (it->slice.y) * img->height; it 30943 src/xdisp.c if (FIXNUMP (it->slice.width)) it 30944 src/xdisp.c slice.width = XFIXNUM (it->slice.width); it 30945 src/xdisp.c else if (FLOATP (it->slice.width)) it 30946 src/xdisp.c slice.width = XFLOAT_DATA (it->slice.width) * img->width; it 30948 src/xdisp.c if (FIXNUMP (it->slice.height)) it 30949 src/xdisp.c slice.height = XFIXNUM (it->slice.height); it 30950 src/xdisp.c else if (FLOATP (it->slice.height)) it 30951 src/xdisp.c slice.height = XFLOAT_DATA (it->slice.height) * img->height; it 30965 src/xdisp.c it->ascent = it->phys_ascent = glyph_ascent = image_ascent (img, face, &slice); it 30967 src/xdisp.c it->descent = slice.height - glyph_ascent; it 30969 src/xdisp.c it->descent += img->vmargin; it 30971 src/xdisp.c it->descent += img->vmargin; it 30972 src/xdisp.c it->phys_descent = it->descent; it 30974 src/xdisp.c it->pixel_width = slice.width; it 30976 src/xdisp.c it->pixel_width += img->hmargin; it 30978 src/xdisp.c it->pixel_width += img->hmargin; it 30982 src/xdisp.c if (it->descent < 0) it 30983 src/xdisp.c it->descent = 0; it 30985 src/xdisp.c it->nglyphs = 1; it 30994 src/xdisp.c it->ascent += face->box_horizontal_line_width; it 30996 src/xdisp.c it->descent += face->box_horizontal_line_width; it 31001 src/xdisp.c if (it->start_of_box_run_p && slice.x == 0) it 31002 src/xdisp.c it->pixel_width += face->box_vertical_line_width; it 31003 src/xdisp.c if (it->end_of_box_run_p && slice.x + slice.width == img->width) it 31004 src/xdisp.c it->pixel_width += face->box_vertical_line_width; it 31008 src/xdisp.c take_vertical_position_into_account (it); it 31012 src/xdisp.c if ((crop = it->pixel_width - (it->last_visible_x - it->current_x), crop > 0) it 31013 src/xdisp.c && (it->hpos == 0 || it->pixel_width > it->last_visible_x / 4)) it 31015 src/xdisp.c it->pixel_width -= crop; it 31019 src/xdisp.c if (it->glyph_row) it 31022 src/xdisp.c enum glyph_row_area area = it->area; it 31024 src/xdisp.c glyph = it->glyph_row->glyphs[area] + it->glyph_row->used[area]; it 31025 src/xdisp.c if (it->glyph_row->reversed_p) it 31030 src/xdisp.c for (g = glyph - 1; g >= it->glyph_row->glyphs[it->area]; g--) it 31032 src/xdisp.c glyph = it->glyph_row->glyphs[it->area]; it 31034 src/xdisp.c if (glyph < it->glyph_row->glyphs[area + 1]) it 31036 src/xdisp.c glyph->charpos = CHARPOS (it->position); it 31037 src/xdisp.c glyph->object = it->object; it 31038 src/xdisp.c glyph->pixel_width = clip_to_bounds (-1, it->pixel_width, SHRT_MAX); it 31040 src/xdisp.c glyph->descent = it->descent; it 31041 src/xdisp.c glyph->voffset = it->voffset; it 31043 src/xdisp.c glyph->avoid_cursor_p = it->avoid_cursor_p; it 31044 src/xdisp.c glyph->multibyte_p = it->multibyte_p; it 31045 src/xdisp.c if (it->glyph_row->reversed_p && area == TEXT_AREA) it 31049 src/xdisp.c glyph->right_box_line_p = it->start_of_box_run_p; it 31050 src/xdisp.c glyph->left_box_line_p = it->end_of_box_run_p; it 31054 src/xdisp.c glyph->left_box_line_p = it->start_of_box_run_p; it 31055 src/xdisp.c glyph->right_box_line_p = it->end_of_box_run_p; it 31060 src/xdisp.c glyph->face_id = it->face_id; it 31064 src/xdisp.c if (it->bidi_p) it 31066 src/xdisp.c glyph->resolved_level = it->bidi_it.resolved_level; it 31067 src/xdisp.c eassert ((it->bidi_it.type & 7) == it->bidi_it.type); it 31068 src/xdisp.c glyph->bidi_type = it->bidi_it.type; it 31070 src/xdisp.c ++it->glyph_row->used[area]; it 31073 src/xdisp.c IT_EXPAND_MATRIX_WIDTH (it, area); it 31078 src/xdisp.c produce_xwidget_glyph (struct it *it) it 31083 src/xdisp.c eassert (it->what == IT_XWIDGET); it 31085 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); it 31087 src/xdisp.c prepare_face_for_display (it->f, face); it 31089 src/xdisp.c xw = it->xwidget; it 31090 src/xdisp.c it->ascent = it->phys_ascent = glyph_ascent = xw->height/2; it 31091 src/xdisp.c it->descent = xw->height/2; it 31092 src/xdisp.c it->phys_descent = it->descent; it 31093 src/xdisp.c it->pixel_width = xw->width; it 31096 src/xdisp.c if (it->descent < 0) it 31097 src/xdisp.c it->descent = 0; it 31099 src/xdisp.c it->nglyphs = 1; it 31105 src/xdisp.c it->ascent += face->box_horizontal_line_width; it 31106 src/xdisp.c it->descent += face->box_horizontal_line_width; it 31111 src/xdisp.c if (it->start_of_box_run_p) it 31112 src/xdisp.c it->pixel_width += face->box_vertical_line_width; it 31113 src/xdisp.c it->pixel_width += face->box_vertical_line_width; it 31117 src/xdisp.c take_vertical_position_into_account (it); it 31121 src/xdisp.c crop = it->pixel_width - (it->last_visible_x - it->current_x); it 31122 src/xdisp.c if (crop > 0 && (it->hpos == 0 || it->pixel_width > it->last_visible_x / 4)) it 31123 src/xdisp.c it->pixel_width -= crop; it 31125 src/xdisp.c if (it->glyph_row) it 31127 src/xdisp.c enum glyph_row_area area = it->area; it 31129 src/xdisp.c = it->glyph_row->glyphs[area] + it->glyph_row->used[area]; it 31131 src/xdisp.c if (it->glyph_row->reversed_p) it 31136 src/xdisp.c for (g = glyph - 1; g >= it->glyph_row->glyphs[it->area]; g--) it 31138 src/xdisp.c glyph = it->glyph_row->glyphs[it->area]; it 31140 src/xdisp.c if (glyph < it->glyph_row->glyphs[area + 1]) it 31142 src/xdisp.c glyph->charpos = CHARPOS (it->position); it 31143 src/xdisp.c glyph->object = it->object; it 31144 src/xdisp.c glyph->pixel_width = clip_to_bounds (-1, it->pixel_width, SHRT_MAX); it 31146 src/xdisp.c glyph->descent = it->descent; it 31147 src/xdisp.c glyph->voffset = it->voffset; it 31149 src/xdisp.c glyph->avoid_cursor_p = it->avoid_cursor_p; it 31150 src/xdisp.c glyph->multibyte_p = it->multibyte_p; it 31151 src/xdisp.c if (it->glyph_row->reversed_p && area == TEXT_AREA) it 31155 src/xdisp.c glyph->right_box_line_p = it->start_of_box_run_p; it 31156 src/xdisp.c glyph->left_box_line_p = it->end_of_box_run_p; it 31160 src/xdisp.c glyph->left_box_line_p = it->start_of_box_run_p; it 31161 src/xdisp.c glyph->right_box_line_p = it->end_of_box_run_p; it 31166 src/xdisp.c glyph->face_id = it->face_id; it 31167 src/xdisp.c glyph->u.xwidget = it->xwidget->xwidget_id; it 31169 src/xdisp.c if (it->bidi_p) it 31171 src/xdisp.c glyph->resolved_level = it->bidi_it.resolved_level; it 31172 src/xdisp.c eassert ((it->bidi_it.type & 7) == it->bidi_it.type); it 31173 src/xdisp.c glyph->bidi_type = it->bidi_it.type; it 31175 src/xdisp.c ++it->glyph_row->used[area]; it 31178 src/xdisp.c IT_EXPAND_MATRIX_WIDTH (it, area); it 31188 src/xdisp.c append_stretch_glyph (struct it *it, Lisp_Object object, it 31192 src/xdisp.c enum glyph_row_area area = it->area; it 31196 src/xdisp.c glyph = it->glyph_row->glyphs[area] + it->glyph_row->used[area]; it 31197 src/xdisp.c if (glyph < it->glyph_row->glyphs[area + 1]) it 31201 src/xdisp.c if (it->glyph_row->reversed_p && area == TEXT_AREA) it 31206 src/xdisp.c for (g = glyph - 1; g >= it->glyph_row->glyphs[area]; g--) it 31208 src/xdisp.c glyph = it->glyph_row->glyphs[area]; it 31224 src/xdisp.c if (it->current_x < it->first_visible_x) it 31225 src/xdisp.c width -= it->first_visible_x - it->current_x; it 31228 src/xdisp.c glyph->charpos = CHARPOS (it->position); it 31235 src/xdisp.c glyph->voffset = it->voffset; it 31237 src/xdisp.c glyph->avoid_cursor_p = it->avoid_cursor_p; it 31238 src/xdisp.c glyph->multibyte_p = it->multibyte_p; it 31239 src/xdisp.c if (it->glyph_row->reversed_p && area == TEXT_AREA) it 31243 src/xdisp.c glyph->right_box_line_p = it->start_of_box_run_p; it 31244 src/xdisp.c glyph->left_box_line_p = it->end_of_box_run_p; it 31248 src/xdisp.c glyph->left_box_line_p = it->start_of_box_run_p; it 31249 src/xdisp.c glyph->right_box_line_p = it->end_of_box_run_p; it 31254 src/xdisp.c glyph->face_id = it->face_id; it 31259 src/xdisp.c if (it->bidi_p) it 31261 src/xdisp.c glyph->resolved_level = it->bidi_it.resolved_level; it 31262 src/xdisp.c eassert ((it->bidi_it.type & 7) == it->bidi_it.type); it 31263 src/xdisp.c glyph->bidi_type = it->bidi_it.type; it 31270 src/xdisp.c ++it->glyph_row->used[area]; it 31273 src/xdisp.c IT_EXPAND_MATRIX_WIDTH (it, area); it 31310 src/xdisp.c produce_stretch_glyph (struct it *it) it 31324 src/xdisp.c if (FRAME_WINDOW_P (it->f)) it 31326 src/xdisp.c face = FACE_FROM_ID (it->f, it->face_id); it 31327 src/xdisp.c font = face->font ? face->font : FRAME_FONT (it->f); it 31328 src/xdisp.c prepare_face_for_display (it->f, face); it 31333 src/xdisp.c eassert (CONSP (it->object) && EQ (XCAR (it->object), Qspace)); it 31334 src/xdisp.c plist = XCDR (it->object); it 31338 src/xdisp.c && calc_pixel_width_or_height (&tem, it, prop, font, true, NULL)) it 31349 src/xdisp.c struct it it2; it 31351 src/xdisp.c it->sp > 0 ? it->stack[it->sp - 1].string : it->string; it 31353 src/xdisp.c ? SDATA (object) + IT_STRING_BYTEPOS (*it) it 31354 src/xdisp.c : BYTE_POS_ADDR (IT_BYTEPOS (*it))); it 31356 src/xdisp.c STRINGP (object) ? STRING_MULTIBYTE (object) : it->multibyte_p; it 31358 src/xdisp.c it2 = *it; it 31363 src/xdisp.c if (FRAME_WINDOW_P (it->f) && ! ASCII_CHAR_P (it2.c)) it 31364 src/xdisp.c it2.face_id = FACE_FOR_CHAR (it->f, face, it2.c, it 31365 src/xdisp.c IT_CHARPOS (*it), it 31382 src/xdisp.c && calc_pixel_width_or_height (&tem, it, prop, font, true, it 31385 src/xdisp.c int x = it->current_x + it->continuation_lines_width; it 31388 src/xdisp.c if (!NILP (Vdisplay_line_numbers) && it->line_number_produced_p) it 31390 src/xdisp.c x -= it->lnum_pixel_width; it 31392 src/xdisp.c if (x + it->stretch_adjust >= it->first_visible_x) it 31393 src/xdisp.c x += it->stretch_adjust; it 31396 src/xdisp.c if (it->glyph_row == NULL || !it->glyph_row->mode_line_p) it 31399 src/xdisp.c : align_to - window_box_left_offset (it->w, TEXT_AREA)); it 31401 src/xdisp.c align_to = window_box_left_offset (it->w, TEXT_AREA); it 31405 src/xdisp.c if (!NILP (Vdisplay_line_numbers) && it->line_number_produced_p) it 31409 src/xdisp.c if (x < it->first_visible_x) it 31411 src/xdisp.c next_x -= it->first_visible_x - x; it 31412 src/xdisp.c it->stretch_adjust = it->first_visible_x - x; it 31415 src/xdisp.c next_x -= it->stretch_adjust; it 31422 src/xdisp.c width = FRAME_COLUMN_WIDTH (it->f); it 31429 src/xdisp.c if (FRAME_WINDOW_P (it->f)) it 31434 src/xdisp.c && calc_pixel_width_or_height (&tem, it, prop, font, false, NULL)) it 31455 src/xdisp.c && calc_pixel_width_or_height (&tem, it, prop, font, false, 0)) it 31465 src/xdisp.c && it->area == TEXT_AREA && it->line_wrap != TRUNCATE it 31466 src/xdisp.c && it->current_x + width > it->last_visible_x) it 31468 src/xdisp.c width = it->last_visible_x - it->current_x; it 31472 src/xdisp.c width -= FRAME_WINDOW_P (it->f); it 31476 src/xdisp.c if (width > 0 && height > 0 && it->glyph_row) it 31478 src/xdisp.c Lisp_Object o_object = it->object; it 31480 src/xdisp.c it->sp > 0 ? it->stack[it->sp - 1].string : it->string; it 31484 src/xdisp.c object = it->w->contents; it 31486 src/xdisp.c if (FRAME_WINDOW_P (it->f)) it 31487 src/xdisp.c append_stretch_glyph (it, object, width, height, ascent); it 31491 src/xdisp.c it->object = object; it 31492 src/xdisp.c it->char_to_display = ' '; it 31493 src/xdisp.c it->pixel_width = it->len = 1; it 31495 src/xdisp.c tty_append_glyph (it); it 31496 src/xdisp.c it->object = o_object; it 31500 src/xdisp.c it->pixel_width = width; it 31502 src/xdisp.c if (FRAME_WINDOW_P (it->f)) it 31504 src/xdisp.c it->ascent = it->phys_ascent = ascent; it 31505 src/xdisp.c it->descent = it->phys_descent = height - it->ascent; it 31506 src/xdisp.c it->nglyphs = width > 0 && height > 0; it 31507 src/xdisp.c take_vertical_position_into_account (it); it 31511 src/xdisp.c it->nglyphs = width; it 31521 src/xdisp.c produce_special_glyphs (struct it *it, enum display_element_type what) it 31523 src/xdisp.c struct it temp_it; it 31527 src/xdisp.c temp_it = *it; it 31534 src/xdisp.c if (it->bidi_it.paragraph_dir == R2L) it 31538 src/xdisp.c if (it->dp it 31539 src/xdisp.c && (gc = DISP_CONTINUE_GLYPH (it->dp), GLYPH_CODE_P (gc))) it 31543 src/xdisp.c spec_glyph_lookup_face (XWINDOW (it->window), &glyph); it 31550 src/xdisp.c if (it->dp it 31551 src/xdisp.c && (gc = DISP_TRUNC_GLYPH (it->dp), GLYPH_CODE_P (gc))) it 31555 src/xdisp.c spec_glyph_lookup_face (XWINDOW (it->window), &glyph); it 31605 src/xdisp.c it->pixel_width = temp_it.pixel_width; it 31606 src/xdisp.c it->nglyphs = temp_it.nglyphs; it 31620 src/xdisp.c calc_line_height_property (struct it *it, Lisp_Object val, struct font *font, it 31637 src/xdisp.c height = it->ascent + it->descent; it 31644 src/xdisp.c font = FRAME_FONT (it->f); it 31645 src/xdisp.c boff = FRAME_BASELINE_OFFSET (it->f); it 31656 src/xdisp.c face_id = lookup_named_face (it->w, it->f, face_name, false); it 31657 src/xdisp.c face = FACE_FROM_ID_OR_NULL (it->f, face_id); it 31662 src/xdisp.c boff = VCENTER_BASELINE_OFFSET (font, it->f) - boff; it 31669 src/xdisp.c it->override_ascent = ascent; it 31670 src/xdisp.c it->override_descent = descent; it 31671 src/xdisp.c it->override_boff = boff; it 31704 src/xdisp.c append_glyphless_glyph (struct it *it, int face_id, bool for_no_font, int len, it 31709 src/xdisp.c enum glyph_row_area area = it->area; it 31711 src/xdisp.c glyph = it->glyph_row->glyphs[area] + it->glyph_row->used[area]; it 31712 src/xdisp.c if (glyph < it->glyph_row->glyphs[area + 1]) it 31716 src/xdisp.c if (it->glyph_row->reversed_p && area == TEXT_AREA) it 31721 src/xdisp.c for (g = glyph - 1; g >= it->glyph_row->glyphs[area]; g--) it 31723 src/xdisp.c glyph = it->glyph_row->glyphs[area]; it 31725 src/xdisp.c glyph->charpos = CHARPOS (it->position); it 31726 src/xdisp.c glyph->object = it->object; it 31727 src/xdisp.c eassert (it->pixel_width <= SHRT_MAX); it 31728 src/xdisp.c glyph->pixel_width = it->pixel_width; it 31729 src/xdisp.c glyph->ascent = it->ascent; it 31730 src/xdisp.c glyph->descent = it->descent; it 31731 src/xdisp.c glyph->voffset = it->voffset; it 31733 src/xdisp.c glyph->u.glyphless.method = it->glyphless_method; it 31736 src/xdisp.c glyph->u.glyphless.ch = it->c; it 31741 src/xdisp.c glyph->avoid_cursor_p = it->avoid_cursor_p; it 31742 src/xdisp.c glyph->multibyte_p = it->multibyte_p; it 31743 src/xdisp.c if (it->glyph_row->reversed_p && area == TEXT_AREA) it 31747 src/xdisp.c glyph->right_box_line_p = it->start_of_box_run_p; it 31748 src/xdisp.c glyph->left_box_line_p = it->end_of_box_run_p; it 31752 src/xdisp.c glyph->left_box_line_p = it->start_of_box_run_p; it 31753 src/xdisp.c glyph->right_box_line_p = it->end_of_box_run_p; it 31755 src/xdisp.c glyph->overlaps_vertically_p = (it->phys_ascent > it->ascent it 31756 src/xdisp.c || it->phys_descent > it->descent); it 31761 src/xdisp.c if (it->bidi_p) it 31763 src/xdisp.c glyph->resolved_level = it->bidi_it.resolved_level; it 31764 src/xdisp.c eassert ((it->bidi_it.type & 7) == it->bidi_it.type); it 31765 src/xdisp.c glyph->bidi_type = it->bidi_it.type; it 31767 src/xdisp.c ++it->glyph_row->used[area]; it 31770 src/xdisp.c IT_EXPAND_MATRIX_WIDTH (it, area); it 31784 src/xdisp.c produce_glyphless_glyph (struct it *it, bool for_no_font, Lisp_Object acronym) it 31796 src/xdisp.c face = FACE_FROM_ID_OR_NULL (it->f, it->face_id); it 31799 src/xdisp.c font = (face && face->font) ? face->font : FRAME_FONT (it->f); it 31800 src/xdisp.c normal_char_ascent_descent (font, -1, &it->ascent, &it->descent); it 31801 src/xdisp.c it->ascent += font->baseline_offset; it 31802 src/xdisp.c it->descent -= font->baseline_offset; it 31803 src/xdisp.c base_height = it->ascent + it->descent; it 31806 src/xdisp.c face_id = merge_glyphless_glyph_face (it); it 31808 src/xdisp.c if (it->glyphless_method == GLYPHLESS_DISPLAY_THIN_SPACE) it 31810 src/xdisp.c it->pixel_width = THIN_SPACE_WIDTH; it 31814 src/xdisp.c else if (it->glyphless_method == GLYPHLESS_DISPLAY_EMPTY_BOX) it 31816 src/xdisp.c width = CHARACTER_WIDTH (it->c); it 31821 src/xdisp.c it->pixel_width = base_width * width; it 31834 src/xdisp.c face = FACE_FROM_ID (it->f, face_id); it 31835 src/xdisp.c font = face->font ? face->font : FRAME_FONT (it->f); it 31836 src/xdisp.c prepare_face_for_display (it->f, face); it 31838 src/xdisp.c if (it->glyphless_method == GLYPHLESS_DISPLAY_ACRONYM) it 31841 src/xdisp.c acronym = CHAR_TABLE_REF (Vglyphless_char_display, it->c); it 31848 src/xdisp.c eassert (it->glyphless_method == GLYPHLESS_DISPLAY_HEX_CODE); it 31849 src/xdisp.c sprintf (buf, "%0*X", it->c < 0x10000 ? 4 : 6, it->c + 0u); it 31868 src/xdisp.c it->pixel_width = base_width; it 31874 src/xdisp.c it->pixel_width = width; it 31893 src/xdisp.c ascent = - (it->descent - (base_height + height + 1) / 2); it 31894 src/xdisp.c descent = it->descent - (base_height - height) / 2; it 31901 src/xdisp.c it->ascent = ascent; it 31902 src/xdisp.c it->descent = descent; it 31906 src/xdisp.c it->phys_ascent = it->ascent; it 31907 src/xdisp.c it->phys_descent = it->descent; it 31908 src/xdisp.c if (it->glyph_row) it 31909 src/xdisp.c append_glyphless_glyph (it, face_id, for_no_font, len, it 31912 src/xdisp.c it->nglyphs = 1; it 31913 src/xdisp.c take_vertical_position_into_account (it); it 31920 src/xdisp.c #define IT_APPLY_FACE_BOX(it, face) \ it 31927 src/xdisp.c it->ascent += thick; \ it 31928 src/xdisp.c it->descent += thick; \ it 31934 src/xdisp.c if (it->start_of_box_run_p) \ it 31935 src/xdisp.c it->pixel_width += thick; \ it 31936 src/xdisp.c if (it->end_of_box_run_p) \ it 31937 src/xdisp.c it->pixel_width += thick; \ it 31948 src/xdisp.c gui_produce_glyphs (struct it *it) it 31950 src/xdisp.c int extra_line_spacing = it->extra_line_spacing; it 31952 src/xdisp.c it->glyph_not_available_p = false; it 31954 src/xdisp.c if (it->what == IT_CHARACTER) it 31957 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); it 31967 src/xdisp.c Lisp_Object acronym = lookup_glyphless_char_display (-1, it); it 31969 src/xdisp.c eassert (it->what == IT_GLYPHLESS); it 31970 src/xdisp.c produce_glyphless_glyph (it, true, it 31977 src/xdisp.c boff = VCENTER_BASELINE_OFFSET (font, it->f) - boff; it 31979 src/xdisp.c if (it->char_to_display != '\n' && it->char_to_display != '\t') it 31981 src/xdisp.c it->nglyphs = 1; it 31983 src/xdisp.c if (it->override_ascent >= 0) it 31985 src/xdisp.c it->ascent = it->override_ascent; it 31986 src/xdisp.c it->descent = it->override_descent; it 31987 src/xdisp.c boff = it->override_boff; it 31991 src/xdisp.c it->ascent = FONT_BASE (font) + boff; it 31992 src/xdisp.c it->descent = FONT_DESCENT (font) - boff; it 31995 src/xdisp.c if (get_char_glyph_code (it->char_to_display, font, &char2b)) it 32005 src/xdisp.c it->phys_ascent = pcm->ascent + boff; it 32006 src/xdisp.c it->phys_descent = pcm->descent - boff; it 32007 src/xdisp.c it->pixel_width = pcm->width; it 32010 src/xdisp.c if (it->override_ascent < 0) it 32014 src/xdisp.c it->ascent = it->phys_ascent; it 32015 src/xdisp.c it->descent = it->phys_descent; it 32018 src/xdisp.c if (it->ascent < 0) it 32019 src/xdisp.c it->ascent = 0; it 32020 src/xdisp.c if (it->descent < 0) it 32021 src/xdisp.c it->descent = 0; it 32027 src/xdisp.c it->glyph_not_available_p = true; it 32028 src/xdisp.c it->phys_ascent = it->ascent; it 32029 src/xdisp.c it->phys_descent = it->descent; it 32030 src/xdisp.c it->pixel_width = font->space_width; it 32033 src/xdisp.c if (it->constrain_row_ascent_descent_p) it 32035 src/xdisp.c if (it->descent > it->max_descent) it 32037 src/xdisp.c it->ascent += it->descent - it->max_descent; it 32038 src/xdisp.c it->descent = it->max_descent; it 32040 src/xdisp.c if (it->ascent > it->max_ascent) it 32042 src/xdisp.c it->descent = min (it->max_descent, it->descent + it->ascent - it->max_ascent); it 32043 src/xdisp.c it->ascent = it->max_ascent; it 32045 src/xdisp.c it->phys_ascent = min (it->phys_ascent, it->ascent); it 32046 src/xdisp.c it->phys_descent = min (it->phys_descent, it->descent); it 32053 src/xdisp.c = it->char_to_display == ' ' && !NILP (it->space_width); it 32055 src/xdisp.c it->pixel_width *= XFLOATINT (it->space_width); it 32057 src/xdisp.c IT_APPLY_FACE_BOX(it, face); it 32062 src/xdisp.c it->ascent += clip_to_bounds (0, overline_margin, 1000000); it 32064 src/xdisp.c if (it->constrain_row_ascent_descent_p) it 32066 src/xdisp.c if (it->ascent > it->max_ascent) it 32067 src/xdisp.c it->ascent = it->max_ascent; it 32068 src/xdisp.c if (it->descent > it->max_descent) it 32069 src/xdisp.c it->descent = it->max_descent; it 32072 src/xdisp.c take_vertical_position_into_account (it); it 32075 src/xdisp.c if (it->glyph_row) it 32081 src/xdisp.c int ascent = (((it->ascent + it->descent) * FONT_BASE (font)) it 32083 src/xdisp.c append_stretch_glyph (it, it->object, it->pixel_width, it 32084 src/xdisp.c it->ascent + it->descent, ascent); it 32087 src/xdisp.c append_glyph (it); it 32093 src/xdisp.c it->glyph_row->contains_overlapping_glyphs_p = true; it 32095 src/xdisp.c if (! stretched_p && it->pixel_width == 0) it 32098 src/xdisp.c it->pixel_width = 1; it 32100 src/xdisp.c else if (it->char_to_display == '\n') it 32109 src/xdisp.c it->override_ascent = -1; it 32110 src/xdisp.c it->pixel_width = 0; it 32111 src/xdisp.c it->nglyphs = 0; it 32113 src/xdisp.c height = get_it_property (it, Qline_height); it 32122 src/xdisp.c height = calc_line_height_property (it, height, font, boff, true); it 32124 src/xdisp.c if (it->override_ascent >= 0) it 32126 src/xdisp.c it->ascent = it->override_ascent; it 32127 src/xdisp.c it->descent = it->override_descent; it 32128 src/xdisp.c boff = it->override_boff; it 32134 src/xdisp.c it->ascent = font->pixel_size + boff - 1; it 32135 src/xdisp.c it->descent = -boff + 1; it 32136 src/xdisp.c if (it->descent < 0) it 32137 src/xdisp.c it->descent = 0; it 32141 src/xdisp.c it->ascent = FONT_BASE (font) + boff; it 32142 src/xdisp.c it->descent = FONT_DESCENT (font) - boff; it 32148 src/xdisp.c if (it->descent > it->max_descent) it 32150 src/xdisp.c it->ascent += it->descent - it->max_descent; it 32151 src/xdisp.c it->descent = it->max_descent; it 32153 src/xdisp.c if (it->ascent > it->max_ascent) it 32155 src/xdisp.c it->descent = min (it->max_descent, it->descent + it->ascent - it->max_ascent); it 32156 src/xdisp.c it->ascent = it->max_ascent; it 32158 src/xdisp.c it->phys_ascent = min (it->phys_ascent, it->ascent); it 32159 src/xdisp.c it->phys_descent = min (it->phys_descent, it->descent); it 32160 src/xdisp.c it->constrain_row_ascent_descent_p = true; it 32167 src/xdisp.c it->phys_ascent = it->ascent; it 32168 src/xdisp.c it->phys_descent = it->descent; it 32170 src/xdisp.c if ((it->max_ascent > 0 || it->max_descent > 0) it 32174 src/xdisp.c it->ascent += face->box_horizontal_line_width; it 32175 src/xdisp.c it->descent += face->box_horizontal_line_width; it 32178 src/xdisp.c && XFIXNUM (height) > it->ascent + it->descent) it 32179 src/xdisp.c it->ascent = XFIXNUM (height) - it->descent; it 32182 src/xdisp.c spacing = calc_line_height_property (it, total_height, font, it 32186 src/xdisp.c spacing = get_it_property (it, Qline_spacing); it 32187 src/xdisp.c spacing = calc_line_height_property (it, spacing, font, it 32194 src/xdisp.c extra_line_spacing -= (it->phys_ascent + it->phys_descent); it 32202 src/xdisp.c int tab_width = it->tab_width * font->space_width; it 32203 src/xdisp.c int x = it->current_x + it->continuation_lines_width; it 32206 src/xdisp.c if (!NILP (Vdisplay_line_numbers) && it->line_number_produced_p) it 32208 src/xdisp.c x -= it->lnum_pixel_width; it 32210 src/xdisp.c if (x + it->stretch_adjust >= it->first_visible_x) it 32211 src/xdisp.c x += it->stretch_adjust; it 32221 src/xdisp.c if (!NILP (Vdisplay_line_numbers) && it->line_number_produced_p) it 32223 src/xdisp.c next_tab_x += it->lnum_pixel_width; it 32226 src/xdisp.c if (x < it->first_visible_x) it 32228 src/xdisp.c next_tab_x -= it->first_visible_x - x; it 32229 src/xdisp.c it->stretch_adjust = it->first_visible_x - x; it 32232 src/xdisp.c next_tab_x -= it->stretch_adjust; it 32235 src/xdisp.c it->pixel_width = next_tab_x - x0; it 32236 src/xdisp.c it->nglyphs = 1; it 32249 src/xdisp.c it->ascent = pcm->ascent + boff; it 32250 src/xdisp.c it->descent = pcm->descent - boff; it 32254 src/xdisp.c it->ascent = font->pixel_size + boff - 1; it 32255 src/xdisp.c it->descent = -boff + 1; it 32257 src/xdisp.c if (it->ascent < 0) it 32258 src/xdisp.c it->ascent = 0; it 32259 src/xdisp.c if (it->descent < 0) it 32260 src/xdisp.c it->descent = 0; it 32264 src/xdisp.c it->ascent = FONT_BASE (font) + boff; it 32265 src/xdisp.c it->descent = FONT_DESCENT (font) - boff; it 32267 src/xdisp.c it->phys_ascent = it->ascent; it 32268 src/xdisp.c it->phys_descent = it->descent; it 32270 src/xdisp.c if (it->glyph_row) it 32272 src/xdisp.c append_stretch_glyph (it, it->object, it->pixel_width, it 32273 src/xdisp.c it->ascent + it->descent, it->ascent); it 32278 src/xdisp.c it->pixel_width = 0; it 32279 src/xdisp.c it->nglyphs = 1; it 32295 src/xdisp.c it->max_ascent = max (it->max_ascent, font_ascent); it 32296 src/xdisp.c it->max_descent = max (it->max_descent, font_descent); it 32299 src/xdisp.c if (it->ascent < 0) it 32300 src/xdisp.c it->ascent = 0; it 32301 src/xdisp.c if (it->descent < 0) it 32302 src/xdisp.c it->descent = 0; it 32304 src/xdisp.c else if (it->what == IT_COMPOSITION && it->cmp_it.ch < 0) it 32314 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); it 32316 src/xdisp.c struct composition *cmp = composition_table[it->cmp_it.id]; it 32320 src/xdisp.c it->nglyphs = 1; it 32360 src/xdisp.c pos = (STRINGP (it->string) ? IT_STRING_CHARPOS (*it) it 32361 src/xdisp.c : IT_CHARPOS (*it)); it 32371 src/xdisp.c boff = VCENTER_BASELINE_OFFSET (font, it->f) - boff; it 32382 src/xdisp.c get_char_face_and_encoding (it->f, c, it->face_id, it 32414 src/xdisp.c make_fixnum (it->char_to_display)))) it 32435 src/xdisp.c face_id = FACE_FOR_CHAR (it->f, face, ch, pos, it->string); it 32436 src/xdisp.c this_face = FACE_FROM_ID (it->f, face_id); it 32443 src/xdisp.c get_char_face_and_encoding (it->f, ch, face_id, it 32579 src/xdisp.c if (it->glyph_row it 32582 src/xdisp.c it->glyph_row->contains_overlapping_glyphs_p = true; it 32584 src/xdisp.c it->pixel_width = cmp->pixel_width; it 32585 src/xdisp.c it->ascent = it->phys_ascent = cmp->ascent; it 32586 src/xdisp.c it->descent = it->phys_descent = cmp->descent; it 32587 src/xdisp.c IT_APPLY_FACE_BOX(it, face); it 32592 src/xdisp.c it->ascent += clip_to_bounds (0, overline_margin, 1000000); it 32594 src/xdisp.c take_vertical_position_into_account (it); it 32595 src/xdisp.c if (it->ascent < 0) it 32596 src/xdisp.c it->ascent = 0; it 32597 src/xdisp.c if (it->descent < 0) it 32598 src/xdisp.c it->descent = 0; it 32600 src/xdisp.c if (it->glyph_row && cmp->glyph_len > 0) it 32601 src/xdisp.c append_composite_glyph (it); it 32603 src/xdisp.c else if (it->what == IT_COMPOSITION) it 32606 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); it 32610 src/xdisp.c it->nglyphs = 1; it 32612 src/xdisp.c gstring = composition_gstring_from_id (it->cmp_it.id); it 32613 src/xdisp.c it->pixel_width it 32614 src/xdisp.c = composition_gstring_width (gstring, it->cmp_it.from, it->cmp_it.to, it 32616 src/xdisp.c if (it->pixel_width == 0) it 32618 src/xdisp.c it->glyph_not_available_p = true; it 32619 src/xdisp.c it->phys_ascent = it->ascent; it 32620 src/xdisp.c it->phys_descent = it->descent; it 32621 src/xdisp.c it->pixel_width = face->font->space_width; it 32625 src/xdisp.c if (it->glyph_row it 32627 src/xdisp.c it->glyph_row->contains_overlapping_glyphs_p = true; it 32628 src/xdisp.c it->ascent = it->phys_ascent = metrics.ascent; it 32629 src/xdisp.c it->descent = it->phys_descent = metrics.descent; it 32631 src/xdisp.c IT_APPLY_FACE_BOX(it, face); it 32636 src/xdisp.c it->ascent += clip_to_bounds (0, overline_margin, 1000000); it 32637 src/xdisp.c take_vertical_position_into_account (it); it 32638 src/xdisp.c if (it->ascent < 0) it 32639 src/xdisp.c it->ascent = 0; it 32640 src/xdisp.c if (it->descent < 0) it 32641 src/xdisp.c it->descent = 0; it 32643 src/xdisp.c if (it->glyph_row) it 32644 src/xdisp.c append_composite_glyph (it); it 32646 src/xdisp.c else if (it->what == IT_GLYPHLESS) it 32647 src/xdisp.c produce_glyphless_glyph (it, false, Qnil); it 32648 src/xdisp.c else if (it->what == IT_IMAGE) it 32649 src/xdisp.c produce_image_glyph (it); it 32650 src/xdisp.c else if (it->what == IT_STRETCH) it 32651 src/xdisp.c produce_stretch_glyph (it); it 32652 src/xdisp.c else if (it->what == IT_XWIDGET) it 32653 src/xdisp.c produce_xwidget_glyph (it); it 32658 src/xdisp.c eassert (it->ascent >= 0 && it->descent >= 0); it 32659 src/xdisp.c if (it->area == TEXT_AREA) it 32660 src/xdisp.c it->current_x += it->pixel_width; it 32664 src/xdisp.c it->descent += extra_line_spacing; it 32665 src/xdisp.c if (extra_line_spacing > it->max_extra_line_spacing) it 32666 src/xdisp.c it->max_extra_line_spacing = extra_line_spacing; it 32669 src/xdisp.c it->max_ascent = max (it->max_ascent, it->ascent); it 32670 src/xdisp.c it->max_descent = max (it->max_descent, it->descent); it 32671 src/xdisp.c it->max_phys_ascent = max (it->max_phys_ascent, it->phys_ascent); it 32672 src/xdisp.c it->max_phys_descent = max (it->max_phys_descent, it->phys_descent); it 1681 src/xwidget.c GList *path = NULL, *it; it 1691 src/xwidget.c for (it = path; it; it = it->next) it 1693 src/xwidget.c tem = it->data; it 3130 src/xwidget.c WebKitBackForwardListItem *it; it 3137 src/xwidget.c it = webkit_back_forward_list_get_nth_item (list, XFIXNUM (rel_pos)); it 3139 src/xwidget.c if (!it) it 3142 src/xwidget.c webkit_web_view_go_to_back_forward_list_item (wkwv, it);