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 2330 src/dispextern.h struct it *parent_it; it 2970 src/dispextern.h void (*produce_glyphs) (struct it *it); it 3437 src/dispextern.h int line_bottom_y (struct it *); it 3454 src/dispextern.h int move_it_to (struct it *, ptrdiff_t, int, int, int, int); it 3461 src/dispextern.h void init_iterator (struct it *, struct window *, ptrdiff_t, it 3466 src/dispextern.h void init_iterator_to_row_start (struct it *, struct window *, it 3468 src/dispextern.h void start_display (struct it *, struct window *, struct text_pos); it 3469 src/dispextern.h void move_it_vertically (struct it *, int); it 3470 src/dispextern.h void move_it_vertically_backward (struct it *, int); it 3471 src/dispextern.h void move_it_by_lines (struct it *, ptrdiff_t); it 3472 src/dispextern.h void move_it_past_eol (struct it *); it 3473 src/dispextern.h void move_it_in_display_line (struct it *it, it 3476 src/dispextern.h int partial_line_height (struct it *it_origin); it 3477 src/dispextern.h bool in_display_vector_p (struct it *); it 3488 src/dispextern.h extern void reseat_at_previous_visible_line_start (struct it *); it 3489 src/dispextern.h extern Lisp_Object lookup_glyphless_char_display (int, struct it *); it 3495 src/dispextern.h extern void produce_stretch_glyph (struct it *); it 3496 src/dispextern.h extern int merge_glyphless_glyph_face (struct it *); it 3506 src/dispextern.h extern void gui_produce_glyphs (struct it *); it 3812 src/dispextern.h extern void produce_glyphs (struct it *); it 3817 src/dispextern.h extern void tty_append_glyph (struct it *); it 5588 src/dispnew.c struct it it; it 5604 src/dispnew.c start_display (&it, w, startp); it 5610 src/dispnew.c move_it_to (&it, -1, 0, *y, -1, MOVE_TO_X | MOVE_TO_Y); it 5615 src/dispnew.c if (it.bidi_it.paragraph_dir == R2L) it 5630 src/dispnew.c to_x += it.first_visible_x; it 5635 src/dispnew.c if (it.line_wrap == TRUNCATE it 5636 src/dispnew.c && EQ (automatic_hscrolling, Qcurrent_line) && IT_CHARPOS (it) < PT) it 5638 src/dispnew.c struct it it2 = it; it 5646 src/dispnew.c to_x += (w->hscroll - w->min_hscroll) * FRAME_COLUMN_WIDTH (it.f); it 5649 src/dispnew.c it.first_visible_x += w->hscroll * FRAME_COLUMN_WIDTH (it.f); it 5650 src/dispnew.c it.last_visible_x += w->hscroll * FRAME_COLUMN_WIDTH (it.f); it 5658 src/dispnew.c move_it_in_display_line (&it, ZV, to_x, MOVE_TO_X); it 5661 src/dispnew.c int next_x = it.current_x + it.pixel_width; it 5662 src/dispnew.c int before_dx = to_x - it.current_x; it 5665 src/dispnew.c move_it_in_display_line (&it, ZV, next_x, MOVE_TO_X); it 5672 src/dispnew.c *dx = to_x - it.current_x; it 5673 src/dispnew.c *dy = *y - it.current_y; it 5676 src/dispnew.c if (STRINGP (it.string)) it 5677 src/dispnew.c string = it.string; it 5678 src/dispnew.c *pos = it.current; it 5679 src/dispnew.c if (it.what == IT_COMPOSITION it 5680 src/dispnew.c && it.cmp_it.nchars > 1 it 5681 src/dispnew.c && it.cmp_it.reversed_p) it 5689 src/dispnew.c CHARPOS (pos->pos) -= it.cmp_it.nchars - 1; it 5690 src/dispnew.c if (STRINGP (it.string)) it 5698 src/dispnew.c if (it.what == IT_IMAGE) it 5705 src/dispnew.c img = IMAGE_OPT_FROM_ID (it.f, it.image_id); it 5715 src/dispnew.c it_vpos = it.vpos + window_wants_header_line (w) it 5721 src/dispnew.c if (it.hpos < row->used[TEXT_AREA]) it 5723 src/dispnew.c struct glyph *glyph = row->glyphs[TEXT_AREA] + it.hpos; it 5753 src/dispnew.c x1 = max (0, it.current_x + it.pixel_width); it 5755 src/dispnew.c it.hpos += (to_x - x1) / WINDOW_FRAME_COLUMN_WIDTH (w); it 5757 src/dispnew.c *x = it.hpos; it 5758 src/dispnew.c *y = it.vpos; it 3541 src/font.c Lisp_Object it; it 3546 src/font.c for (it = alist; ! NILP (it); it = XCDR (it)) it 3548 src/font.c Lisp_Object key = XCAR (XCAR (it)); it 3549 src/font.c Lisp_Object val = XCDR (XCAR (it)); it 3571 src/font.c for (it = alist; ! NILP (it); it = XCDR (it)) it 3573 src/font.c Lisp_Object key = XCAR (XCAR (it)); it 3574 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 1333 src/haikufns.c Lisp_Object it, frame; it 1341 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 6784 src/keyboard.c Lisp_Object x, y, id, position, tem, it, evt; it 6793 src/keyboard.c it = XCAR (tem); it 6795 src/keyboard.c x = XCAR (it); it 6796 src/keyboard.c y = XCAR (XCDR (it)); it 6797 src/keyboard.c id = XCAR (XCDR (XCDR (it))); it 4295 src/process.c for (struct ifaddrs *it = ifap; it != NULL; it = it->ifa_next) it 4304 src/process.c if (it->ifa_addr == NULL) it 4306 src/process.c if (match && it->ifa_addr->sa_family != match) it 4308 src/process.c if (it->ifa_addr->sa_family == AF_INET) it 4310 src/process.c DECLARE_POINTER_ALIAS (sin1, struct sockaddr_in, it->ifa_netmask); it 4312 src/process.c DECLARE_POINTER_ALIAS (sin2, struct sockaddr_in, it->ifa_addr); it 4318 src/process.c else if (it->ifa_addr->sa_family == AF_INET6) it 4320 src/process.c DECLARE_POINTER_ALIAS (sin6_1, struct sockaddr_in6, it->ifa_netmask); it 4322 src/process.c DECLARE_POINTER_ALIAS (sin6_2, struct sockaddr_in6, it->ifa_addr); it 4331 src/process.c Lisp_Object addr = conv_sockaddr_to_lisp (it->ifa_addr, len); it 4335 src/process.c elt = Fcons (conv_sockaddr_to_lisp (it->ifa_netmask, len), elt); it 4346 src/process.c elt = Fcons (conv_sockaddr_to_lisp (it->ifa_netmask, len), elt); it 4353 src/process.c res = Fcons (Fcons (build_string (it->ifa_name), elt), res); it 4522 src/process.c for (struct ifaddrs *it = ifap; it != NULL; it = it->ifa_next) it 4524 src/process.c DECLARE_POINTER_ALIAS (sdl, struct sockaddr_dl, it->ifa_addr); it 4528 src/process.c if (it->ifa_addr->sa_family != AF_LINK it 4529 src/process.c || strcmp (it->ifa_name, SSDATA (ifname)) != 0 it 4537 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 1490 src/term.c static void append_glyph (struct it *); it 1491 src/term.c static void append_composite_glyph (struct it *); it 1492 src/term.c static void produce_composite_glyph (struct it *); it 1493 src/term.c static void append_glyphless_glyph (struct it *, int, const char *); it 1494 src/term.c static void produce_glyphless_glyph (struct it *, Lisp_Object); it 1503 src/term.c append_glyph (struct it *it) it 1508 src/term.c eassert (it->glyph_row); it 1509 src/term.c glyph = (it->glyph_row->glyphs[it->area] it 1510 src/term.c + it->glyph_row->used[it->area]); it 1511 src/term.c end = it->glyph_row->glyphs[1 + it->area]; it 1515 src/term.c if (it->glyph_row->reversed_p && it->area == TEXT_AREA) it 1518 src/term.c int move_by = it->pixel_width; it 1523 src/term.c for (g = glyph - 1; g >= it->glyph_row->glyphs[it->area]; g--) it 1525 src/term.c glyph = it->glyph_row->glyphs[it->area]; it 1534 src/term.c i < it->pixel_width && glyph < end; it 1539 src/term.c glyph->u.ch = it->char_to_display; it 1540 src/term.c glyph->face_id = it->face_id; it 1541 src/term.c glyph->avoid_cursor_p = it->avoid_cursor_p; it 1542 src/term.c glyph->multibyte_p = it->multibyte_p; it 1544 src/term.c glyph->charpos = CHARPOS (it->position); it 1545 src/term.c glyph->object = it->object; it 1546 src/term.c if (it->bidi_p) it 1548 src/term.c glyph->resolved_level = it->bidi_it.resolved_level; it 1549 src/term.c eassert ((it->bidi_it.type & 7) == it->bidi_it.type); it 1550 src/term.c glyph->bidi_type = it->bidi_it.type; it 1558 src/term.c ++it->glyph_row->used[it->area]; it 1567 src/term.c tty_append_glyph (struct it *it) it 1570 src/term.c append_glyph (it); it 1594 src/term.c produce_glyphs (struct it *it) it 1600 src/term.c eassert (it->what == IT_CHARACTER it 1601 src/term.c || it->what == IT_COMPOSITION it 1602 src/term.c || it->what == IT_STRETCH it 1603 src/term.c || it->what == IT_GLYPHLESS); it 1605 src/term.c if (it->what == IT_STRETCH) it 1607 src/term.c produce_stretch_glyph (it); it 1611 src/term.c if (it->what == IT_COMPOSITION) it 1613 src/term.c produce_composite_glyph (it); it 1617 src/term.c if (it->what == IT_GLYPHLESS) it 1619 src/term.c produce_glyphless_glyph (it, Qnil); it 1623 src/term.c if (it->char_to_display >= 040 && it->char_to_display < 0177) it 1625 src/term.c it->pixel_width = it->nglyphs = 1; it 1626 src/term.c if (it->glyph_row) it 1627 src/term.c append_glyph (it); it 1629 src/term.c else if (it->char_to_display == '\n') it 1630 src/term.c it->pixel_width = it->nglyphs = 0; it 1631 src/term.c else if (it->char_to_display == '\t') it 1633 src/term.c int absolute_x = (it->current_x it 1634 src/term.c + it->continuation_lines_width); it 1637 src/term.c if (!NILP (Vdisplay_line_numbers) && it->line_number_produced_p) it 1638 src/term.c absolute_x -= it->lnum_pixel_width; it 1640 src/term.c = (((1 + absolute_x + it->tab_width - 1) it 1641 src/term.c / it->tab_width) it 1642 src/term.c * it->tab_width); it 1643 src/term.c if (!NILP (Vdisplay_line_numbers) && it->line_number_produced_p) it 1644 src/term.c next_tab_x += it->lnum_pixel_width; it 1654 src/term.c if (it->glyph_row) it 1658 src/term.c it->char_to_display = ' '; it 1659 src/term.c it->pixel_width = it->len = 1; it 1662 src/term.c append_glyph (it); it 1665 src/term.c it->pixel_width = nspaces; it 1666 src/term.c it->nglyphs = nspaces; it 1668 src/term.c else if (CHAR_BYTE8_P (it->char_to_display)) it 1674 src/term.c it->pixel_width = it->nglyphs = 1; it 1675 src/term.c if (it->glyph_row) it 1676 src/term.c append_glyph (it); it 1680 src/term.c struct terminal *t = FRAME_TERMINAL (it->f); it 1683 src/term.c if (char_charset (it->char_to_display, charset_list, NULL) it 1684 src/term.c && (char_glyph = terminal_glyph_code (t, it->char_to_display), it 1688 src/term.c it->pixel_width = CHARACTER_WIDTH (it->char_to_display); it 1689 src/term.c it->nglyphs = it->pixel_width; it 1690 src/term.c if (it->glyph_row) it 1691 src/term.c append_glyph (it); it 1695 src/term.c Lisp_Object acronym = lookup_glyphless_char_display (-1, it); it 1697 src/term.c eassert (it->what == IT_GLYPHLESS); it 1698 src/term.c produce_glyphless_glyph (it, acronym); it 1705 src/term.c if (it->area == TEXT_AREA) it 1706 src/term.c it->current_x += it->pixel_width; it 1707 src/term.c it->ascent = it->max_ascent = it->phys_ascent = it->max_phys_ascent = 0; it 1708 src/term.c it->descent = it->max_descent = it->phys_descent = it->max_phys_descent = 1; it 1720 src/term.c append_composite_glyph (struct it *it) it 1724 src/term.c eassert (it->glyph_row); it 1725 src/term.c glyph = it->glyph_row->glyphs[it->area] + it->glyph_row->used[it->area]; it 1726 src/term.c if (glyph < it->glyph_row->glyphs[1 + it->area]) it 1730 src/term.c if (it->glyph_row->reversed_p && it->area == TEXT_AREA) it 1735 src/term.c for (g = glyph - 1; g >= it->glyph_row->glyphs[it->area]; g--) it 1737 src/term.c glyph = it->glyph_row->glyphs[it->area]; it 1740 src/term.c eassert (it->pixel_width <= SHRT_MAX); it 1741 src/term.c glyph->pixel_width = it->pixel_width; it 1742 src/term.c glyph->u.cmp.id = it->cmp_it.id; it 1743 src/term.c if (it->cmp_it.ch < 0) it 1746 src/term.c glyph->u.cmp.id = it->cmp_it.id; it 1751 src/term.c glyph->u.cmp.id = it->cmp_it.id; it 1752 src/term.c glyph->slice.cmp.from = it->cmp_it.from; it 1753 src/term.c glyph->slice.cmp.to = it->cmp_it.to - 1; it 1756 src/term.c glyph->avoid_cursor_p = it->avoid_cursor_p; it 1757 src/term.c glyph->multibyte_p = it->multibyte_p; it 1758 src/term.c glyph->face_id = it->face_id; it 1760 src/term.c glyph->charpos = CHARPOS (it->position); it 1761 src/term.c glyph->object = it->object; it 1762 src/term.c if (it->bidi_p) it 1764 src/term.c glyph->resolved_level = it->bidi_it.resolved_level; it 1765 src/term.c eassert ((it->bidi_it.type & 7) == it->bidi_it.type); it 1766 src/term.c glyph->bidi_type = it->bidi_it.type; it 1774 src/term.c ++it->glyph_row->used[it->area]; it 1786 src/term.c produce_composite_glyph (struct it *it) it 1788 src/term.c if (it->cmp_it.ch < 0) it 1790 src/term.c struct composition *cmp = composition_table[it->cmp_it.id]; it 1792 src/term.c it->pixel_width = cmp->width; it 1796 src/term.c Lisp_Object gstring = composition_gstring_from_id (it->cmp_it.id); it 1798 src/term.c it->pixel_width = composition_gstring_width (gstring, it->cmp_it.from, it 1799 src/term.c it->cmp_it.to, NULL); it 1801 src/term.c it->nglyphs = 1; it 1802 src/term.c if (it->glyph_row) it 1803 src/term.c append_composite_glyph (it); it 1813 src/term.c append_glyphless_glyph (struct it *it, int face_id, const char *str) it 1818 src/term.c eassert (it->glyph_row); it 1819 src/term.c glyph = it->glyph_row->glyphs[it->area] + it->glyph_row->used[it->area]; it 1820 src/term.c end = it->glyph_row->glyphs[1 + it->area]; it 1824 src/term.c if (it->glyph_row->reversed_p && it->area == TEXT_AREA) it 1827 src/term.c int move_by = it->pixel_width; it 1832 src/term.c for (g = glyph - 1; g >= it->glyph_row->glyphs[it->area]; g--) it 1834 src/term.c glyph = it->glyph_row->glyphs[it->area]; it 1842 src/term.c glyph->avoid_cursor_p = it->avoid_cursor_p; it 1843 src/term.c glyph->multibyte_p = it->multibyte_p; it 1846 src/term.c glyph->charpos = CHARPOS (it->position); it 1847 src/term.c glyph->object = it->object; it 1848 src/term.c if (it->bidi_p) it 1850 src/term.c glyph->resolved_level = it->bidi_it.resolved_level; it 1851 src/term.c eassert ((it->bidi_it.type & 7) == it->bidi_it.type); it 1852 src/term.c glyph->bidi_type = it->bidi_it.type; it 1863 src/term.c for (i = 0; i < it->nglyphs && glyph < end; ++i) it 1868 src/term.c ++it->glyph_row->used[it->area]; it 1883 src/term.c produce_glyphless_glyph (struct it *it, Lisp_Object acronym) it 1885 src/term.c int len, face_id = merge_glyphless_glyph_face (it); it 1889 src/term.c if (it->glyphless_method == GLYPHLESS_DISPLAY_THIN_SPACE) it 1895 src/term.c else if (it->glyphless_method == GLYPHLESS_DISPLAY_EMPTY_BOX) it 1897 src/term.c len = CHARACTER_WIDTH (it->c); it 1907 src/term.c if (it->glyphless_method == GLYPHLESS_DISPLAY_ACRONYM) it 1910 src/term.c acronym = CHAR_TABLE_REF (Vglyphless_char_display, it->c); it 1934 src/term.c eassert (it->glyphless_method == GLYPHLESS_DISPLAY_HEX_CODE); it 1936 src/term.c (it->c < 0x10000 ? "\\u%04X" it 1937 src/term.c : it->c <= MAX_UNICODE_CHAR ? "\\U%06X" it 1939 src/term.c it->c + 0u); it 1944 src/term.c it->pixel_width = len; it 1945 src/term.c it->nglyphs = len; it 1946 src/term.c if (it->glyph_row) it 1947 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 5734 src/window.c struct it it; it 5765 src/window.c init_iterator (&it, w, PT, PT_BYTE, NULL, DEFAULT_FACE_ID); it 5766 src/window.c it.current_y = it.last_visible_y; it 5767 src/window.c move_it_vertically_backward (&it, window_box_height (w) / 2); it 5774 src/window.c if (it.current_y <= 0) it 5776 src/window.c init_iterator (&it, w, PT, PT_BYTE, NULL, DEFAULT_FACE_ID); it 5777 src/window.c move_it_vertically_backward (&it, 0); it 5778 src/window.c it.current_y = 0; it 5781 src/window.c start = it.current.pos; it 5867 src/window.c start_display (&it, w, start); it 5868 src/window.c move_it_to (&it, PT, -1, -1, -1, MOVE_TO_POS); it 5869 src/window.c window_scroll_pixel_based_preserve_y = it.current_y; it 5870 src/window.c window_scroll_pixel_based_preserve_x = it.current_x; it 5879 src/window.c start_display (&it, w, start); it 5882 src/window.c ptrdiff_t start_pos = IT_CHARPOS (it); it 5900 src/window.c goal_y = it.current_y + dy; it 5901 src/window.c move_it_vertically_backward (&it, -dy); it 5907 src/window.c if (goal_y - it.current_y > 0.5 * flh) it 5910 src/window.c struct it it1 = it; it 5911 src/window.c if (line_bottom_y (&it1) - goal_y < goal_y - it.current_y) it 5912 src/window.c move_it_by_lines (&it, 1); it 5917 src/window.c while (start_pos == IT_CHARPOS (it) it 5919 src/window.c move_it_by_lines (&it, -1); it 5923 src/window.c goal_y = it.current_y + dy; it 5924 src/window.c move_it_to (&it, ZV, -1, goal_y, -1, MOVE_TO_POS | MOVE_TO_Y); it 5931 src/window.c && goal_y - it.current_y > 0.5 * flh) it 5934 src/window.c struct it it2 = it; it 5936 src/window.c move_it_by_lines (&it, 1); it 5937 src/window.c if (it.current_y > goal_y + 0.5 * flh) it 5939 src/window.c it = it2; it 5947 src/window.c while (start_pos == IT_CHARPOS (it) it 5949 src/window.c move_it_by_lines (&it, 1); it 5953 src/window.c move_it_by_lines (&it, n); it 5958 src/window.c if ((n > 0 && IT_CHARPOS (it) == ZV) it 5959 src/window.c || (n < 0 && IT_CHARPOS (it) == CHARPOS (start))) it 5961 src/window.c if (IT_CHARPOS (it) == ZV) it 5963 src/window.c if (it.current_y < it.last_visible_y it 5964 src/window.c && (it.current_y + it.max_ascent + it.max_descent it 5965 src/window.c > it.last_visible_y)) it 5969 src/window.c w->vscroll = (it.last_visible_y it 5970 src/window.c - it.current_y + it.max_ascent + it.max_descent); it 5971 src/window.c adjust_frame_glyphs (it.f); it 6010 src/window.c ptrdiff_t pos = IT_CHARPOS (it); it 6015 src/window.c if (in_display_vector_p (&it)) it 6018 src/window.c move_it_to (&it, pos, -1, -1, -1, MOVE_TO_POS); it 6022 src/window.c set_marker_restricted_both (w->start, w->contents, IT_CHARPOS (it), it 6023 src/window.c IT_BYTEPOS (it)); it 6034 src/window.c it.current_y = it.vpos = 0; it 6043 src/window.c int last_y = it.last_visible_y - this_scroll_margin - 1; it 6047 src/window.c if (IT_CHARPOS (it) < PT) it 6048 src/window.c move_it_to (&it, PT, -1, -1, -1, MOVE_TO_POS); it 6049 src/window.c if (IT_CHARPOS (it) == PT it 6050 src/window.c && it.current_y >= this_scroll_margin it 6051 src/window.c && it.current_y <= last_y - WINDOW_TAB_LINE_HEIGHT (w) it 6066 src/window.c move_it_to (&it, -1, it 6074 src/window.c while (it.current_y < this_scroll_margin) it 6076 src/window.c int prev = it.current_y; it 6077 src/window.c move_it_by_lines (&it, 1); it 6078 src/window.c if (prev == it.current_y) it 6081 src/window.c SET_PT_BOTH (IT_CHARPOS (it), IT_BYTEPOS (it)); it 6096 src/window.c charpos = IT_CHARPOS (it); it 6097 src/window.c bytepos = IT_BYTEPOS (it); it 6101 src/window.c move_it_to (&it, PT, -1, it 6105 src/window.c (it.last_visible_y - WINDOW_TAB_LINE_HEIGHT (w) it 6107 src/window.c - partial_line_height (&it) - this_scroll_margin - 1), it 6112 src/window.c charpos = IT_CHARPOS (it); it 6113 src/window.c bytepos = IT_BYTEPOS (it); it 6122 src/window.c struct it it2; it 6125 src/window.c it2 = it; it 6127 src/window.c move_it_to (&it, PT, -1, -1, -1, MOVE_TO_POS); it 6128 src/window.c if (IT_CHARPOS (it) == PT && it.current_y == it2.current_y) it 6130 src/window.c charpos = IT_CHARPOS (it); it 6131 src/window.c bytepos = IT_BYTEPOS (it); it 6136 src/window.c it = it2; it 6142 src/window.c if (it.what == IT_EOB) it 6144 src/window.c it.current_y + it.ascent + it.descent it 6145 src/window.c > it.last_visible_y - this_scroll_margin it 6149 src/window.c move_it_by_lines (&it, 1); it 6151 src/window.c it.current_y it 6152 src/window.c > it.last_visible_y - this_scroll_margin it 6163 src/window.c int goal_y = min (it.last_visible_y - this_scroll_margin - 1, it 6171 src/window.c start_display (&it, w, start); it 6175 src/window.c move_it_to (&it, -1, window_scroll_pixel_based_preserve_x, it 6177 src/window.c SET_PT_BOTH (IT_CHARPOS (it), IT_BYTEPOS (it)); it 6185 src/window.c move_it_by_lines (&it, -2); it 6186 src/window.c SET_PT_BOTH (IT_CHARPOS (it), IT_BYTEPOS (it)); it 6588 src/window.c struct it it; it 6613 src/window.c start_display (&it, w, start); it 6614 src/window.c move_it_vertically (&it, height); it 6615 src/window.c bottom_y = line_bottom_y (&it); it 6622 src/window.c int uy = FRAME_LINE_HEIGHT (it.f); it 6623 src/window.c it.vpos += (height - bottom_y + uy - 1) / uy; it 6626 src/window.c it.vpos++; it 6631 src/window.c return it.vpos; it 6719 src/window.c struct it it; it 6724 src/window.c start_display (&it, w, pt); it 6725 src/window.c move_it_vertically_backward (&it, window_box_height (w) / 2); it 6726 src/window.c charpos = IT_CHARPOS (it); it 6727 src/window.c bytepos = IT_BYTEPOS (it); it 6732 src/window.c struct it it; it 6744 src/window.c start_display (&it, w, pt); it 6747 src/window.c move_it_by_lines (&it, 0); it 6752 src/window.c it.current_y = 0; it 6753 src/window.c it.vpos = 0; it 6754 src/window.c move_it_by_lines (&it, nlines); it 6756 src/window.c if (it.vpos == nlines) it 6757 src/window.c h -= it.current_y; it 6761 src/window.c h -= line_bottom_y (&it); it 6762 src/window.c it.vpos++; it 6766 src/window.c extra_line_spacing = it.max_extra_line_spacing; it 6770 src/window.c if (it.vpos < nlines) it 6772 src/window.c nlines -= it.vpos; it 6773 src/window.c extra_line_spacing = it.extra_line_spacing; it 6774 src/window.c h -= nlines * (FRAME_LINE_HEIGHT (it.f) + extra_line_spacing); it 6784 src/window.c start_display (&it, w, pt); it 6785 src/window.c it.current_y = 0; it 6786 src/window.c move_it_vertically_backward (&it, h); it 6796 src/window.c while (-it.current_y > h && it.what != IT_EOB) it 6797 src/window.c move_it_by_lines (&it, 1); it 6799 src/window.c charpos = IT_CHARPOS (it); it 6800 src/window.c bytepos = IT_BYTEPOS (it); it 6806 src/window.c struct it it; it 6816 src/window.c start_display (&it, w, pt); it 6819 src/window.c move_it_by_lines (&it, 0); it 6824 src/window.c it.current_y = 0; it 6825 src/window.c it.vpos = 0; it 6826 src/window.c move_it_by_lines (&it, -nlines); it 6829 src/window.c charpos = IT_CHARPOS (it); it 6830 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 && !ckd_add (&icol, icol, it->lnum_pixel_width)) 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 1232 src/xdisp.c static void pad_mode_line (struct it *, bool); it 1235 src/xdisp.c static void reset_box_start_end_flags (struct it *); it 1501 src/xdisp.c line_bottom_y (struct it *it) it 1503 src/xdisp.c int line_height = it->max_ascent + it->max_descent; it 1504 src/xdisp.c int line_top_y = it->current_y; it 1510 src/xdisp.c else if (IT_CHARPOS (*it) < ZV) it 1512 src/xdisp.c move_it_by_lines (it, 1); it 1513 src/xdisp.c line_height = (it->max_ascent || it->max_descent it 1514 src/xdisp.c ? it->max_ascent + it->max_descent it 1519 src/xdisp.c struct glyph_row *row = it->glyph_row; it 1522 src/xdisp.c it->glyph_row = NULL; it 1523 src/xdisp.c it->what = IT_CHARACTER; it 1524 src/xdisp.c it->c = ' '; it 1525 src/xdisp.c it->len = 1; it 1526 src/xdisp.c PRODUCE_GLYPHS (it); it 1527 src/xdisp.c line_height = it->ascent + it->descent; it 1528 src/xdisp.c it->glyph_row = row; it 1542 src/xdisp.c struct it it; it 1555 src/xdisp.c start_display (&it, w, pt); it 1559 src/xdisp.c move_it_by_lines (&it, 0); it 1560 src/xdisp.c it.vpos = it.current_y = 0; it 1562 src/xdisp.c result = make_fixnum (line_bottom_y (&it)); it 1658 src/xdisp.c reset_box_start_end_flags (struct it *it) it 1662 src/xdisp.c if (it->area == TEXT_AREA it 1664 src/xdisp.c && !(it->what == IT_IMAGE && it->image_id < 0)) it 1670 src/xdisp.c if (it->face_box_p) it 1671 src/xdisp.c it->start_of_box_run_p = false; it 1672 src/xdisp.c it->end_of_box_run_p = false; it 1686 src/xdisp.c struct it it; it 1762 src/xdisp.c start_display (&it, w, top); it 1763 src/xdisp.c move_it_to (&it, charpos, -1, it.last_visible_y - 1, -1, it 1769 src/xdisp.c && it.current_x >= it.first_visible_x it 1770 src/xdisp.c && IT_CHARPOS (it) == charpos it 1771 src/xdisp.c && !it.line_number_produced_p) it 1776 src/xdisp.c if (!it.lnum_pixel_width) it 1778 src/xdisp.c struct it it2; it 1781 src/xdisp.c SAVE_IT (it2, it, it2data); it 1782 src/xdisp.c move_it_by_lines (&it, 1); it 1783 src/xdisp.c it2.lnum_pixel_width = it.lnum_pixel_width; it 1784 src/xdisp.c RESTORE_IT (&it, &it2, it2data); it 1786 src/xdisp.c it.current_x += it.lnum_pixel_width; it 1790 src/xdisp.c && (((!it.bidi_p || it.bidi_it.scan_dir != -1) it 1791 src/xdisp.c && IT_CHARPOS (it) >= charpos) it 1795 src/xdisp.c || (it.bidi_p && it.bidi_it.scan_dir == -1 it 1796 src/xdisp.c && IT_CHARPOS (it) <= charpos))) it 1804 src/xdisp.c int top_x = it.current_x; it 1805 src/xdisp.c int top_y = it.current_y; it 1808 src/xdisp.c struct it save_it; it 1812 src/xdisp.c SAVE_IT (save_it, it, save_it_data); it 1814 src/xdisp.c bottom_y = line_bottom_y (&it); it 1817 src/xdisp.c else if (top_y < it.last_visible_y) it 1819 src/xdisp.c if (bottom_y >= it.last_visible_y it 1820 src/xdisp.c && it.bidi_p && it.bidi_it.scan_dir == -1 it 1821 src/xdisp.c && IT_CHARPOS (it) < charpos) it 1835 src/xdisp.c move_it_to (&it, charpos, -1, bottom_y + ten_more_lines, -1, it 1837 src/xdisp.c if (it.current_y > top_y) it 1841 src/xdisp.c RESTORE_IT (&it, &save_it, save_it_data); it 1844 src/xdisp.c if (it.method == GET_FROM_DISPLAY_VECTOR) it 1849 src/xdisp.c top_x = it.glyph_row->x; it 1852 src/xdisp.c struct it it2, it2_prev; it 1883 src/xdisp.c top_x = it.glyph_row->x; it 1891 src/xdisp.c else if (IT_CHARPOS (it) != charpos) it 1905 src/xdisp.c charpos, FRAME_WINDOW_P (it.f))); it 1926 src/xdisp.c struct it it3; it 2025 src/xdisp.c else if (it.line_number_produced_p) it 2027 src/xdisp.c top_x += it.lnum_pixel_width; it 2049 src/xdisp.c if (it.ascent == 0 && it.what == IT_IMAGE it 2050 src/xdisp.c && it.method != GET_FROM_IMAGE it 2051 src/xdisp.c && it.image_id < 0 it 2052 src/xdisp.c && it.max_ascent > 0) it 2055 src/xdisp.c *y = max (top_y + max (0, it.max_ascent - it.ascent), window_top_y); it 2057 src/xdisp.c *rbot = max (0, bottom_y - it.last_visible_y); it 2058 src/xdisp.c *rowh = max (0, (min (bottom_y, it.last_visible_y) it 2060 src/xdisp.c *vpos = it.vpos; it 2061 src/xdisp.c if (it.bidi_it.paragraph_dir == R2L) it 2070 src/xdisp.c struct it it2; it 2073 src/xdisp.c SAVE_IT (it2, it, it2data); it 2074 src/xdisp.c if (IT_CHARPOS (it) < ZV && FETCH_BYTE (IT_BYTEPOS (it)) != '\n') it 2075 src/xdisp.c move_it_by_lines (&it, 1); it 2076 src/xdisp.c if (charpos < IT_CHARPOS (it) it 2077 src/xdisp.c || (it.what == IT_EOB && charpos == IT_CHARPOS (it))) it 2092 src/xdisp.c - it.last_visible_y)); it 2094 src/xdisp.c it.last_visible_y) it 3144 src/xdisp.c CHECK_IT (struct it *it) it 3147 src/xdisp.c if (it->method == GET_FROM_STRING) it 3149 src/xdisp.c eassert (STRINGP (it->string)); it 3150 src/xdisp.c eassert (IT_STRING_CHARPOS (*it) >= 0); it 3154 src/xdisp.c eassert (IT_STRING_CHARPOS (*it) < 0); it 3155 src/xdisp.c if (it->method == GET_FROM_BUFFER) it 3158 src/xdisp.c eassert (IT_CHARPOS (*it) == BYTE_TO_CHAR (IT_BYTEPOS (*it))); it 3162 src/xdisp.c if (it->dpvec) it 3163 src/xdisp.c eassert (it->current.dpvec_index >= 0); it 3165 src/xdisp.c eassert (it->current.dpvec_index < 0); it 3212 src/xdisp.c init_iterator (struct it *it, struct window *w, it 3220 src/xdisp.c eassert (w != NULL && it != NULL); it 3267 src/xdisp.c memclear (it, sizeof *it); it 3268 src/xdisp.c it->current.overlay_string_index = -1; it 3269 src/xdisp.c it->current.dpvec_index = -1; it 3270 src/xdisp.c it->base_face_id = remapped_base_face_id; it 3271 src/xdisp.c IT_STRING_CHARPOS (*it) = IT_STRING_BYTEPOS (*it) = -1; it 3272 src/xdisp.c it->paragraph_embedding = L2R; it 3273 src/xdisp.c it->bidi_it.w = w; it 3276 src/xdisp.c XSETWINDOW (it->window, w); it 3277 src/xdisp.c it->w = w; it 3278 src/xdisp.c it->f = XFRAME (w->frame); it 3280 src/xdisp.c it->cmp_it.id = -1; it 3281 src/xdisp.c it->cmp_it.parent_it = it; it 3288 src/xdisp.c && FRAME_WINDOW_P (it->f)) it 3291 src/xdisp.c it->extra_line_spacing = XFIXNAT (BVAR (current_buffer, extra_line_spacing)); it 3293 src/xdisp.c it->extra_line_spacing = (XFLOAT_DATA (BVAR (current_buffer, extra_line_spacing)) it 3294 src/xdisp.c * FRAME_LINE_HEIGHT (it->f)); it 3295 src/xdisp.c else if (it->f->extra_line_spacing > 0) it 3296 src/xdisp.c it->extra_line_spacing = it->f->extra_line_spacing; it 3303 src/xdisp.c if (FRAME_FACE_CACHE (it->f) == NULL) it 3304 src/xdisp.c init_frame_faces (it->f); it 3305 src/xdisp.c if (FRAME_FACE_CACHE (it->f)->used == 0) it 3306 src/xdisp.c recompute_basic_faces (it->f); it 3308 src/xdisp.c it->override_ascent = -1; it 3311 src/xdisp.c it->ctl_arrow_p = !NILP (BVAR (current_buffer, ctl_arrow)); it 3316 src/xdisp.c it->selective = (FIXNUMP (BVAR (current_buffer, selective_display)) it 3322 src/xdisp.c it->selective_display_ellipsis_p it 3326 src/xdisp.c it->dp = window_display_table (w); it 3329 src/xdisp.c it->multibyte_p = !NILP (BVAR (current_buffer, enable_multibyte_characters)); it 3331 src/xdisp.c it->tab_width = SANE_TAB_WIDTH (current_buffer); it 3335 src/xdisp.c it->line_wrap = TRUNCATE; it 3337 src/xdisp.c && !it->w->hscroll it 3338 src/xdisp.c && (WINDOW_FULL_WIDTH_P (it->w) it 3343 src/xdisp.c <= WINDOW_TOTAL_COLS (it->w)))) it 3345 src/xdisp.c it->line_wrap = NILP (BVAR (current_buffer, word_wrap)) it 3355 src/xdisp.c if (!(FRAME_WINDOW_P (it->f) && it->f->no_special_glyphs)) it 3358 src/xdisp.c if (it->line_wrap == TRUNCATE) it 3361 src/xdisp.c eassert (it->glyph_row == NULL); it 3362 src/xdisp.c produce_special_glyphs (it, IT_TRUNCATION); it 3363 src/xdisp.c it->truncation_pixel_width = it->pixel_width; it 3368 src/xdisp.c eassert (it->glyph_row == NULL); it 3369 src/xdisp.c produce_special_glyphs (it, IT_CONTINUATION); it 3370 src/xdisp.c it->continuation_pixel_width = it->pixel_width; it 3376 src/xdisp.c it->pixel_width = it->ascent = it->descent = 0; it 3377 src/xdisp.c it->phys_ascent = it->phys_descent = 0; it 3382 src/xdisp.c it->glyph_row = row; it 3383 src/xdisp.c it->area = TEXT_AREA; it 3392 src/xdisp.c it->first_visible_x = 0; it 3393 src/xdisp.c it->last_visible_x = it 3407 src/xdisp.c it->first_visible_x = w->min_hscroll * FRAME_COLUMN_WIDTH (it->f); it 3409 src/xdisp.c it->first_visible_x = 0; it 3412 src/xdisp.c it->first_visible_x = it 3413 src/xdisp.c window_hscroll_limited (w, it->f) * FRAME_COLUMN_WIDTH (it->f); it 3418 src/xdisp.c FRAME_WINDOW_CHANGE (it->f) = true; it 3419 src/xdisp.c it->last_visible_x = it->first_visible_x + body_width; it 3424 src/xdisp.c if (WINDOW_RIGHT_FRINGE_WIDTH (it->w) == 0) it 3426 src/xdisp.c if (it->line_wrap == TRUNCATE) it 3427 src/xdisp.c it->last_visible_x -= it->truncation_pixel_width; it 3429 src/xdisp.c it->last_visible_x -= it->continuation_pixel_width; it 3432 src/xdisp.c it->tab_line_p = window_wants_tab_line (w); it 3433 src/xdisp.c it->header_line_p = window_wants_header_line (w); it 3435 src/xdisp.c it->current_y = body_height + w->vscroll; it 3439 src/xdisp.c if (!FRAME_WINDOW_P (it->f) it 3440 src/xdisp.c && !WINDOW_RIGHTMOST_P (it->w)) it 3441 src/xdisp.c it->last_visible_x -= 1; it 3443 src/xdisp.c it->last_visible_y = window_text_bottom_y (w); it 3444 src/xdisp.c body_height += it->last_visible_y; it 3447 src/xdisp.c FRAME_WINDOW_CHANGE (it->f) = true; it 3455 src/xdisp.c it->face_id = remapped_base_face_id; it 3459 src/xdisp.c face = FACE_FROM_ID_OR_NULL (it->f, remapped_base_face_id); it 3463 src/xdisp.c it->face_box_p = true; it 3464 src/xdisp.c it->start_of_box_run_p = true; it 3468 src/xdisp.c it->last_visible_x -= box_thickness; it 3476 src/xdisp.c it->stop_charpos = charpos; it 3477 src/xdisp.c it->end_charpos = ZV; it 3479 src/xdisp.c IT_CHARPOS (*it) = charpos; it 3480 src/xdisp.c IT_BYTEPOS (*it) = bytepos; it 3484 src/xdisp.c it->face_id = it->base_face_id; it 3486 src/xdisp.c it->start = it->current; it 3494 src/xdisp.c it->bidi_p = it 3497 src/xdisp.c && it->multibyte_p; it 3501 src/xdisp.c if (it->bidi_p) it 3508 src/xdisp.c && WINDOW_LEFT_FRINGE_WIDTH (it->w) == 0 it 3509 src/xdisp.c && WINDOW_RIGHT_FRINGE_WIDTH (it->w) != 0) it 3511 src/xdisp.c if (it->line_wrap == TRUNCATE) it 3512 src/xdisp.c it->last_visible_x -= it->truncation_pixel_width; it 3514 src/xdisp.c it->last_visible_x -= it->continuation_pixel_width; it 3520 src/xdisp.c it->paragraph_embedding = L2R; it 3523 src/xdisp.c it->paragraph_embedding = R2L; it 3525 src/xdisp.c it->paragraph_embedding = NEUTRAL_DIR; it 3527 src/xdisp.c bidi_init_it (charpos, IT_BYTEPOS (*it), FRAME_WINDOW_P (it->f), it 3528 src/xdisp.c &it->bidi_it); it 3533 src/xdisp.c it->medium_narrowing_begv = 0; it 3536 src/xdisp.c reseat (it, it->current.pos, true); it 3539 src/xdisp.c CHECK_IT (it); it 3758 src/xdisp.c start_display (struct it *it, struct window *w, struct text_pos pos) it 3764 src/xdisp.c init_iterator (it, w, CHARPOS (pos), BYTEPOS (pos), row, DEFAULT_FACE_ID); it 3765 src/xdisp.c it->first_vpos = first_vpos; it 3769 src/xdisp.c if (it->method == GET_FROM_BUFFER && it->line_wrap != TRUNCATE) it 3771 src/xdisp.c int first_y = it->current_y; it 3781 src/xdisp.c reseat_at_previous_visible_line_start (it); it 3782 src/xdisp.c move_it_to (it, CHARPOS (pos), -1, -1, -1, MOVE_TO_POS); it 3784 src/xdisp.c new_x = it->current_x + it->pixel_width; it 3792 src/xdisp.c if (it->current_x > 0 it 3793 src/xdisp.c && it->line_wrap != TRUNCATE /* Lines are continued. */ it 3795 src/xdisp.c new_x > it->last_visible_x it 3798 src/xdisp.c || (new_x == it->last_visible_x it 3799 src/xdisp.c && FRAME_WINDOW_P (it->f) it 3800 src/xdisp.c && ((it->bidi_p && it->bidi_it.paragraph_dir == R2L) it 3801 src/xdisp.c ? WINDOW_LEFT_FRINGE_WIDTH (it->w) it 3802 src/xdisp.c : WINDOW_RIGHT_FRINGE_WIDTH (it->w))))) it 3804 src/xdisp.c if ((it->current.dpvec_index >= 0 it 3805 src/xdisp.c || it->current.overlay_string_index >= 0) it 3811 src/xdisp.c && it->c != '\n') it 3813 src/xdisp.c set_iterator_to_next (it, true); it 3814 src/xdisp.c move_it_in_display_line_to (it, -1, -1, 0); it 3817 src/xdisp.c it->continuation_lines_width += it->current_x; it 3824 src/xdisp.c else if (it->current.dpvec_index >= 0) it 3825 src/xdisp.c it->current.dpvec_index = 0; it 3830 src/xdisp.c it->max_ascent = it->max_descent = 0; it 3831 src/xdisp.c it->max_phys_ascent = it->max_phys_descent = 0; it 3833 src/xdisp.c it->current_y = first_y; it 3834 src/xdisp.c it->vpos = 0; it 3835 src/xdisp.c it->current_x = it->hpos = 0; it 3879 src/xdisp.c init_from_display_pos (struct it *it, struct window *w, struct display_pos *pos) it 3904 src/xdisp.c init_iterator (it, w, charpos, bytepos, NULL, DEFAULT_FACE_ID); it 3909 src/xdisp.c for (i = 0; i < it->n_overlay_strings && i < OVERLAY_STRING_CHUNK_SIZE; ++i) it 3911 src/xdisp.c const char *s = SSDATA (it->overlay_strings[i]); it 3912 src/xdisp.c const char *e = s + SBYTES (it->overlay_strings[i]); it 3934 src/xdisp.c if (it->method == GET_FROM_IMAGE) it 3935 src/xdisp.c pop_it (it); it 3943 src/xdisp.c it->current.overlay_string_index = 0; it 3946 src/xdisp.c load_overlay_strings (it, 0); it 3947 src/xdisp.c it->current.overlay_string_index += OVERLAY_STRING_CHUNK_SIZE; it 3951 src/xdisp.c it->current.overlay_string_index = pos->overlay_string_index; it 3952 src/xdisp.c relative_index = (it->current.overlay_string_index it 3954 src/xdisp.c it->string = it->overlay_strings[relative_index]; it 3955 src/xdisp.c eassert (STRINGP (it->string)); it 3956 src/xdisp.c it->current.string_pos = pos->string_pos; it 3957 src/xdisp.c it->method = GET_FROM_STRING; it 3958 src/xdisp.c it->end_charpos = SCHARS (it->string); it 3960 src/xdisp.c if (it->bidi_p) it 3962 src/xdisp.c it->bidi_it.string.lstring = it->string; it 3963 src/xdisp.c it->bidi_it.string.s = NULL; it 3964 src/xdisp.c it->bidi_it.string.schars = SCHARS (it->string); it 3965 src/xdisp.c it->bidi_it.string.bufpos = it->overlay_strings_charpos; it 3966 src/xdisp.c it->bidi_it.string.from_disp_str = it->string_from_display_prop_p; it 3967 src/xdisp.c it->bidi_it.string.unibyte = !it->multibyte_p; it 3968 src/xdisp.c it->bidi_it.w = it->w; it 3969 src/xdisp.c bidi_init_it (IT_STRING_CHARPOS (*it), IT_STRING_BYTEPOS (*it), it 3970 src/xdisp.c FRAME_WINDOW_P (it->f), &it->bidi_it); it 3982 src/xdisp.c get_visually_first_element (it); it 3983 src/xdisp.c if (IT_STRING_CHARPOS (*it) != 0) it 3986 src/xdisp.c eassert (it->bidi_it.charpos < it->bidi_it.string.schars); it 3987 src/xdisp.c bidi_move_to_visually_next (&it->bidi_it); it 3988 src/xdisp.c } while (it->bidi_it.charpos != 0); it 3990 src/xdisp.c eassert (IT_STRING_CHARPOS (*it) == it->bidi_it.charpos it 3991 src/xdisp.c && IT_STRING_BYTEPOS (*it) == it->bidi_it.bytepos); it 4000 src/xdisp.c it->current.string_pos = pos->string_pos; it 4001 src/xdisp.c eassert (STRINGP (it->string)); it 4002 src/xdisp.c if (it->bidi_p) it 4003 src/xdisp.c bidi_init_it (IT_STRING_CHARPOS (*it), IT_STRING_BYTEPOS (*it), it 4004 src/xdisp.c FRAME_WINDOW_P (it->f), &it->bidi_it); it 4011 src/xdisp.c if (it->dpvec == NULL) it 4012 src/xdisp.c get_next_display_element (it); it 4013 src/xdisp.c eassert (it->dpvec && it->current.dpvec_index == 0); it 4014 src/xdisp.c it->current.dpvec_index = pos->dpvec_index; it 4017 src/xdisp.c CHECK_IT (it); it 4026 src/xdisp.c init_to_row_start (struct it *it, struct window *w, struct glyph_row *row) it 4028 src/xdisp.c init_from_display_pos (it, w, &row->start); it 4029 src/xdisp.c it->start = row->start; it 4030 src/xdisp.c it->continuation_lines_width = row->continuation_lines_width; it 4031 src/xdisp.c CHECK_IT (it); it 4042 src/xdisp.c init_to_row_end (struct it *it, struct window *w, struct glyph_row *row) it 4046 src/xdisp.c if (init_from_display_pos (it, w, &row->end)) it 4049 src/xdisp.c it->continuation_lines_width it 4051 src/xdisp.c CHECK_IT (it); it 4061 src/xdisp.c if (get_next_display_element (it) it 4062 src/xdisp.c && (it->bidi_it.scan_dir == -1 && it->cmp_it.id >= 0)) it 4083 src/xdisp.c handle_stop (struct it *it) it 4089 src/xdisp.c it->dpvec = NULL; it 4090 src/xdisp.c it->current.dpvec_index = -1; it 4091 src/xdisp.c handle_overlay_change_p = !it->ignore_overlay_strings_at_pos_p; it 4092 src/xdisp.c it->ellipsis_p = false; it 4095 src/xdisp.c if (it->selective_display_ellipsis_p) it 4096 src/xdisp.c it->saved_face_id = it->face_id; it 4147 src/xdisp.c handled = p->handler (it); it 4156 src/xdisp.c || it->sp > 1 it 4163 src/xdisp.c || (it->current.overlay_string_index < 0 it 4164 src/xdisp.c && !get_overlay_strings_1 (it, 0, false))) it 4166 src/xdisp.c if (it->ellipsis_p) it 4167 src/xdisp.c setup_for_ellipsis (it, 0); it 4173 src/xdisp.c if (STRINGP (it->string) && !SCHARS (it->string)) it 4174 src/xdisp.c pop_it (it); it 4177 src/xdisp.c else if (STRINGP (it->string) && !SCHARS (it->string)) it 4178 src/xdisp.c pop_it (it); it 4181 src/xdisp.c it->string_from_display_prop_p = false; it 4182 src/xdisp.c it->from_disp_prop_p = false; it 4196 src/xdisp.c if (it->method == GET_FROM_DISPLAY_VECTOR) it 4203 src/xdisp.c handled = handle_overlay_change (it); it 4206 src/xdisp.c if (it->ellipsis_p) it 4208 src/xdisp.c setup_for_ellipsis (it, 0); it 4216 src/xdisp.c compute_stop_pos (it); it 4224 src/xdisp.c compute_stop_pos (struct it *it) it 4230 src/xdisp.c if (STRINGP (it->string)) it 4234 src/xdisp.c it->stop_charpos = it->end_charpos; it 4235 src/xdisp.c object = it->string; it 4237 src/xdisp.c charpos = IT_STRING_CHARPOS (*it); it 4238 src/xdisp.c bytepos = IT_STRING_BYTEPOS (*it); it 4246 src/xdisp.c if (it->end_charpos > ZV) it 4247 src/xdisp.c it->end_charpos = ZV; it 4248 src/xdisp.c it->stop_charpos = it->end_charpos; it 4254 src/xdisp.c charpos = IT_CHARPOS (*it); it 4255 src/xdisp.c bytepos = IT_BYTEPOS (*it); it 4257 src/xdisp.c if (pos < it->stop_charpos) it 4258 src/xdisp.c it->stop_charpos = pos; it 4263 src/xdisp.c && charpos < PT && PT < it->stop_charpos) it 4264 src/xdisp.c it->stop_charpos = PT; it 4302 src/xdisp.c else if (it->stop_charpos < endpos) it 4303 src/xdisp.c pos = it->stop_charpos; it 4352 src/xdisp.c it->stop_charpos = min (XFIXNAT (limit), it->stop_charpos); it 4355 src/xdisp.c it->stop_charpos = min (it->stop_charpos, next_iv->position); it 4359 src/xdisp.c if (it->cmp_it.id < 0 it 4360 src/xdisp.c && (STRINGP (it->string) it 4361 src/xdisp.c || ((!it->bidi_p || it->bidi_it.scan_dir >= 0) it 4362 src/xdisp.c && it->cmp_it.stop_pos <= IT_CHARPOS (*it)))) it 4364 src/xdisp.c ptrdiff_t stoppos = it->end_charpos; it 4369 src/xdisp.c if (it->bidi_p && it->bidi_it.scan_dir < 0) it 4376 src/xdisp.c composition_compute_stop_pos (&it->cmp_it, charpos, bytepos, it 4377 src/xdisp.c stoppos, it->string, false); it 4380 src/xdisp.c eassert (STRINGP (it->string) it 4381 src/xdisp.c || (it->stop_charpos >= BEGV it 4382 src/xdisp.c && it->stop_charpos >= IT_CHARPOS (*it))); it 4544 src/xdisp.c handle_fontified_prop (struct it *it) it 4556 src/xdisp.c if (!STRINGP (it->string) it 4557 src/xdisp.c && it->s == NULL it 4561 src/xdisp.c && (pos = make_fixnum (IT_CHARPOS (*it)), it 4565 src/xdisp.c NILP (prop) && IT_CHARPOS (*it) < Z)) it 4572 src/xdisp.c bool saved_inhibit_flag = it->f->inhibit_clear_image_cache; it 4577 src/xdisp.c eassert (it->end_charpos == ZV); it 4582 src/xdisp.c ptrdiff_t begv = it->large_narrowing_begv; it 4583 src/xdisp.c ptrdiff_t zv = it->large_narrowing_zv; it 4584 src/xdisp.c ptrdiff_t charpos = IT_CHARPOS (*it); it 4597 src/xdisp.c it->f->inhibit_clear_image_cache = true; it 4632 src/xdisp.c it->f->inhibit_clear_image_cache = saved_inhibit_flag; it 4657 src/xdisp.c it->end_charpos = ZV; it 4676 src/xdisp.c face_at_pos (const struct it *it, enum lface_attribute_index attr_filter) it 4680 src/xdisp.c if (!STRINGP (it->string)) it 4682 src/xdisp.c return face_at_buffer_position (it->w, it 4683 src/xdisp.c IT_CHARPOS (*it), it 4685 src/xdisp.c (IT_CHARPOS (*it) it 4687 src/xdisp.c false, it->base_face_id, it 4696 src/xdisp.c = (it->current.overlay_string_index >= 0 it 4697 src/xdisp.c ? it->string_overlays[it->current.overlay_string_index it 4708 src/xdisp.c for (i = it->sp - 1; i >= 0; i--) it 4710 src/xdisp.c if (it->stack[i].current.overlay_string_index >= 0) it 4712 src/xdisp.c = it->string_overlays[it->stack[i].current.overlay_string_index it 4714 src/xdisp.c else if (! NILP (it->stack[i].from_overlay)) it 4715 src/xdisp.c from_overlay = it->stack[i].from_overlay; it 4723 src/xdisp.c bufpos = IT_CHARPOS (*it); it 4727 src/xdisp.c = face_for_overlay_string (it->w, it 4728 src/xdisp.c IT_CHARPOS (*it), it 4730 src/xdisp.c (IT_CHARPOS (*it) it 4755 src/xdisp.c base_face_id = it->string_from_prefix_prop_p it 4757 src/xdisp.c ? lookup_basic_face (it->w, it->f, DEFAULT_FACE_ID) it 4759 src/xdisp.c : underlying_face_id (it); it 4762 src/xdisp.c return face_at_string_position (it->w, it 4763 src/xdisp.c it->string, it 4764 src/xdisp.c IT_STRING_CHARPOS (*it), it 4776 src/xdisp.c handle_face_prop (struct it *it) it 4783 src/xdisp.c const int new_face_id = face_at_pos (it, 0); it 4793 src/xdisp.c if (new_face_id != it->face_id) it 4795 src/xdisp.c struct face *new_face = FACE_FROM_ID (it->f, new_face_id); it 4799 src/xdisp.c struct face *old_face = FACE_FROM_ID_OR_NULL (it->f, it->face_id); it 4804 src/xdisp.c if (!STRINGP (it->string) it 4806 src/xdisp.c && IT_CHARPOS (*it) > BEG) it 4808 src/xdisp.c const int prev_face_id = face_before_it_pos (it); it 4810 src/xdisp.c old_face = FACE_FROM_ID_OR_NULL (it->f, prev_face_id); it 4816 src/xdisp.c it->face_id = new_face_id; it 4819 src/xdisp.c if (!(it->start_of_box_run_p && old_face && old_face->box)) it 4820 src/xdisp.c it->start_of_box_run_p = (new_face->box != FACE_NO_BOX it 4822 src/xdisp.c it->face_box_p = new_face->box != FACE_NO_BOX; it 4835 src/xdisp.c underlying_face_id (const struct it *it) it 4837 src/xdisp.c int face_id = it->base_face_id, i; it 4839 src/xdisp.c eassert (STRINGP (it->string)); it 4841 src/xdisp.c for (i = it->sp - 1; i >= 0; --i) it 4842 src/xdisp.c if (NILP (it->stack[i].string)) it 4843 src/xdisp.c face_id = it->stack[i].face_id; it 4855 src/xdisp.c face_before_or_after_it_pos (struct it *it, bool before_p) it 4859 src/xdisp.c struct it it_copy; it 4862 src/xdisp.c eassert (it->s == NULL); it 4864 src/xdisp.c if (STRINGP (it->string)) it 4873 src/xdisp.c if (IT_STRING_CHARPOS (*it) >= SCHARS (it->string) it 4874 src/xdisp.c || (IT_STRING_CHARPOS (*it) == 0 && before_p) it 4875 src/xdisp.c || it->current_x <= it->first_visible_x) it 4876 src/xdisp.c return it->face_id; it 4878 src/xdisp.c if (!it->bidi_p) it 4884 src/xdisp.c charpos = IT_STRING_CHARPOS (*it) - 1; it 4885 src/xdisp.c else if (it->what == IT_COMPOSITION) it 4888 src/xdisp.c charpos = IT_STRING_CHARPOS (*it) + it->cmp_it.nchars; it 4890 src/xdisp.c charpos = IT_STRING_CHARPOS (*it) + 1; it 4904 src/xdisp.c SAVE_IT (it_copy, *it, it_copy_data); it 4912 src/xdisp.c if (charpos >= SCHARS (it->string)) it 4916 src/xdisp.c while (it_copy.bidi_it.charpos != IT_STRING_CHARPOS (*it)); it 4923 src/xdisp.c int n = (it->what == IT_COMPOSITION ? it->cmp_it.nchars : 1); it 4935 src/xdisp.c RESTORE_IT (it, it, it_copy_data); it 4937 src/xdisp.c eassert (0 <= charpos && charpos <= SCHARS (it->string)); it 4939 src/xdisp.c if (it->current.overlay_string_index >= 0) it 4940 src/xdisp.c bufpos = IT_CHARPOS (*it); it 4944 src/xdisp.c base_face_id = underlying_face_id (it); it 4947 src/xdisp.c face_id = face_at_string_position (it->w, it->string, charpos, it 4954 src/xdisp.c if (STRING_MULTIBYTE (it->string)) it 4956 src/xdisp.c struct text_pos pos1 = string_pos (charpos, it->string); it 4957 src/xdisp.c const unsigned char *p = SDATA (it->string) + BYTEPOS (pos1); it 4958 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, face_id); it 4960 src/xdisp.c face_id = FACE_FOR_CHAR (it->f, face, c, charpos, it->string); it 4967 src/xdisp.c if ((IT_CHARPOS (*it) >= ZV && !before_p) it 4968 src/xdisp.c || (IT_CHARPOS (*it) <= BEGV && before_p)) it 4969 src/xdisp.c return it->face_id; it 4971 src/xdisp.c limit = IT_CHARPOS (*it) + TEXT_PROP_DISTANCE_LIMIT; it 4972 src/xdisp.c pos = it->current.pos; it 4974 src/xdisp.c if (!it->bidi_p) it 4977 src/xdisp.c DEC_TEXT_POS (pos, it->multibyte_p); it 4980 src/xdisp.c if (it->what == IT_COMPOSITION) it 4984 src/xdisp.c pos.charpos += it->cmp_it.nchars; it 4985 src/xdisp.c pos.bytepos += it->len; it 4988 src/xdisp.c INC_TEXT_POS (pos, it->multibyte_p); it 5006 src/xdisp.c if (it->current_x <= it->first_visible_x) it 5007 src/xdisp.c return it->face_id; it 5008 src/xdisp.c SAVE_IT (it_copy, *it, it_copy_data); it 5018 src/xdisp.c RESTORE_IT (it, it, it_copy_data); it 5025 src/xdisp.c int n = (it->what == IT_COMPOSITION ? it->cmp_it.nchars : 1); it 5027 src/xdisp.c it_copy = *it; it 5031 src/xdisp.c if (it->bidi_it.first_elt) it 5043 src/xdisp.c face_id = face_at_buffer_position (it->w, it 5051 src/xdisp.c if (it->multibyte_p) it 5054 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, face_id); it 5055 src/xdisp.c face_id = FACE_FOR_CHAR (it->f, face, c, CHARPOS (pos), Qnil); it 5072 src/xdisp.c handle_invisible_prop (struct it *it) it 5078 src/xdisp.c if (STRINGP (it->string)) it 5085 src/xdisp.c end_charpos = make_fixnum (IT_STRING_CHARPOS (*it)); it 5086 src/xdisp.c prop = Fget_text_property (end_charpos, Qinvisible, it->string); it 5089 src/xdisp.c if (invis != 0 && IT_STRING_CHARPOS (*it) < it->end_charpos) it 5100 src/xdisp.c endpos = len = SCHARS (it->string); it 5106 src/xdisp.c it->string, limit); it 5113 src/xdisp.c prop = Fget_text_property (end_charpos, Qinvisible, it->string); it 5124 src/xdisp.c it->ellipsis_p = true; it 5132 src/xdisp.c old = it->current.string_pos; it 5134 src/xdisp.c if (it->bidi_p) it 5136 src/xdisp.c if (it->bidi_it.first_elt it 5137 src/xdisp.c && it->bidi_it.charpos < SCHARS (it->string)) it 5138 src/xdisp.c bidi_paragraph_init (it->paragraph_embedding, it 5139 src/xdisp.c &it->bidi_it, true); it 5143 src/xdisp.c bidi_move_to_visually_next (&it->bidi_it); it 5145 src/xdisp.c while (oldpos <= it->bidi_it.charpos it 5146 src/xdisp.c && it->bidi_it.charpos < endpos it 5147 src/xdisp.c && it->bidi_it.charpos < it->bidi_it.string.schars); it 5149 src/xdisp.c IT_STRING_CHARPOS (*it) = it->bidi_it.charpos; it 5150 src/xdisp.c IT_STRING_BYTEPOS (*it) = it->bidi_it.bytepos; it 5151 src/xdisp.c if (IT_CHARPOS (*it) >= endpos) it 5152 src/xdisp.c it->prev_stop = endpos; it 5156 src/xdisp.c IT_STRING_CHARPOS (*it) = endpos; it 5157 src/xdisp.c compute_string_pos (&it->current.string_pos, old, it->string); it 5165 src/xdisp.c if (it->current.overlay_string_index >= 0 it 5168 src/xdisp.c next_overlay_string (it); it 5175 src/xdisp.c IT_STRING_CHARPOS (*it) = SCHARS (it->string); it 5176 src/xdisp.c IT_STRING_BYTEPOS (*it) = SBYTES (it->string); it 5187 src/xdisp.c tem = start_charpos = IT_CHARPOS (*it); it 5189 src/xdisp.c prop = get_char_property_and_overlay (pos, Qinvisible, it->window, it 5194 src/xdisp.c if (invis != 0 && start_charpos < it->end_charpos) it 5211 src/xdisp.c newpos = skip_invisible (tem, &next_stop, ZV, it->window); it 5227 src/xdisp.c prop = Fget_char_property (pos, Qinvisible, it->window); it 5244 src/xdisp.c if (it->bidi_p) it 5262 src/xdisp.c bidi_dir_t pdir = it->bidi_it.paragraph_dir; it 5265 src/xdisp.c reseat_1 (it, tpos, false); it 5273 src/xdisp.c it->bidi_it.first_elt = false; it 5274 src/xdisp.c it->bidi_it.paragraph_dir = pdir; it 5275 src/xdisp.c it->bidi_it.ch = (bpos == ZV_BYTE) ? -1 : '\n'; it 5276 src/xdisp.c it->bidi_it.nchars = 1; it 5277 src/xdisp.c it->bidi_it.ch_len = 1; it 5292 src/xdisp.c if (it->bidi_it.first_elt && it->bidi_it.charpos < ZV) it 5301 src/xdisp.c bidi_paragraph_init (it->paragraph_embedding, it 5302 src/xdisp.c &it->bidi_it, true); it 5306 src/xdisp.c bidi_move_to_visually_next (&it->bidi_it); it 5308 src/xdisp.c while (it->stop_charpos <= it->bidi_it.charpos it 5309 src/xdisp.c && it->bidi_it.charpos < newpos); it 5310 src/xdisp.c IT_CHARPOS (*it) = it->bidi_it.charpos; it 5311 src/xdisp.c IT_BYTEPOS (*it) = it->bidi_it.bytepos; it 5316 src/xdisp.c if (IT_CHARPOS (*it) >= newpos) it 5317 src/xdisp.c it->prev_stop = newpos; it 5322 src/xdisp.c IT_CHARPOS (*it) = newpos; it 5323 src/xdisp.c IT_BYTEPOS (*it) = CHAR_TO_BYTE (newpos); it 5340 src/xdisp.c if (!STRINGP (it->object)) it 5342 src/xdisp.c it->position.charpos = newpos - 1; it 5343 src/xdisp.c it->position.bytepos = CHAR_TO_BYTE (it->position.charpos); it 5354 src/xdisp.c && get_overlay_strings (it, it->stop_charpos)) it 5357 src/xdisp.c if (it->sp > 0) it 5359 src/xdisp.c it->stack[it->sp - 1].display_ellipsis_p = display_ellipsis_p; it 5372 src/xdisp.c it->stack[it->sp - 1].stop_charpos it 5373 src/xdisp.c = CHARPOS (it->stack[it->sp - 1].current.pos); it 5378 src/xdisp.c it->ellipsis_p = true; it 5395 src/xdisp.c setup_for_ellipsis (struct it *it, int len) it 5399 src/xdisp.c if (it->dp && VECTORP (DISP_INVIS_VECTOR (it->dp))) it 5401 src/xdisp.c struct Lisp_Vector *v = XVECTOR (DISP_INVIS_VECTOR (it->dp)); it 5402 src/xdisp.c it->dpvec = v->contents; it 5403 src/xdisp.c it->dpend = v->contents + v->header.size; it 5408 src/xdisp.c it->dpvec = default_invis_vector; it 5409 src/xdisp.c it->dpend = default_invis_vector + 3; it 5412 src/xdisp.c it->dpvec_char_len = len; it 5413 src/xdisp.c it->current.dpvec_index = 0; it 5414 src/xdisp.c it->dpvec_face_id = -1; it 5423 src/xdisp.c if (it->saved_face_id >= 0) it 5424 src/xdisp.c it->face_id = it->saved_face_id; it 5428 src/xdisp.c if (it->method == GET_FROM_BUFFER) it 5429 src/xdisp.c it->ignore_overlay_strings_at_pos_p = false; it 5431 src/xdisp.c it->method = GET_FROM_DISPLAY_VECTOR; it 5432 src/xdisp.c it->ellipsis_p = true; it 5493 src/xdisp.c display_min_width (struct it *it, ptrdiff_t bufpos, it 5498 src/xdisp.c if (!NILP (it->min_width_property) it 5499 src/xdisp.c && !EQ (width_spec, it->min_width_property)) it 5501 src/xdisp.c if (!it->glyph_row) it 5509 src/xdisp.c && !EQ (it->min_width_property, it 5514 src/xdisp.c && EQ (it->min_width_property, it 5520 src/xdisp.c if (FRAME_WINDOW_P (it->f)) it 5523 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); it 5524 src/xdisp.c font = face->font ? face->font : FRAME_FONT (it->f); it 5525 src/xdisp.c calc_pixel_width_or_height (&width, it, it 5526 src/xdisp.c XCAR (it->min_width_property), it 5528 src/xdisp.c width -= it->current_x - it->min_width_start; it 5534 src/xdisp.c calc_pixel_width_or_height (&width, it, it 5535 src/xdisp.c XCAR (it->min_width_property), it 5537 src/xdisp.c width -= (it->current_x - it->min_width_start) / it 5538 src/xdisp.c FRAME_COLUMN_WIDTH (it->f); it 5543 src/xdisp.c it->object = list3 (Qspace, QCwidth, w); it 5544 src/xdisp.c produce_stretch_glyph (it); it 5545 src/xdisp.c if (it->area == TEXT_AREA) it 5546 src/xdisp.c it->current_x += it->pixel_width; it 5547 src/xdisp.c it->min_width_property = Qnil; it 5559 src/xdisp.c && !EQ (it->min_width_property, it 5566 src/xdisp.c it->min_width_property = width_spec; it 5567 src/xdisp.c it->min_width_start = it->current_x; it 5604 src/xdisp.c handle_display_prop (struct it *it) it 5612 src/xdisp.c if (STRINGP (it->string)) it 5614 src/xdisp.c object = it->string; it 5615 src/xdisp.c position = &it->current.string_pos; it 5616 src/xdisp.c bufpos = CHARPOS (it->current.pos); it 5620 src/xdisp.c XSETWINDOW (object, it->w); it 5621 src/xdisp.c position = &it->current.pos; it 5626 src/xdisp.c it->slice.x = it->slice.y = it->slice.width = it->slice.height = Qnil; it 5627 src/xdisp.c it->space_width = Qnil; it 5628 src/xdisp.c it->font_height = Qnil; it 5629 src/xdisp.c it->voffset = 0; it 5634 src/xdisp.c if (!it->string_from_display_prop_p) it 5635 src/xdisp.c it->area = TEXT_AREA; it 5641 src/xdisp.c if (!STRINGP (it->string)) it 5642 src/xdisp.c object = it->w->contents; it 5645 src/xdisp.c if (!NILP (it->min_width_property) it 5647 src/xdisp.c display_min_width (it, bufpos, object, Qnil); it 5654 src/xdisp.c display_replaced = handle_display_spec (it, propval, object, overlay, it 5656 src/xdisp.c FRAME_WINDOW_P (it->f)); it 5677 src/xdisp.c handle_display_spec (struct it *it, Lisp_Object spec, Lisp_Object object, it 5712 src/xdisp.c int rv = handle_single_display_spec (it, XCAR (spec), object, it 5721 src/xdisp.c if (!it || STRINGP (object)) it 5731 src/xdisp.c int rv = handle_single_display_spec (it, AREF (spec, i), object, it 5740 src/xdisp.c if (!it || STRINGP (object)) it 5746 src/xdisp.c replacing = handle_single_display_spec (it, spec, object, overlay, position, it 5756 src/xdisp.c display_prop_end (struct it *it, Lisp_Object object, struct text_pos start_pos) it 5765 src/xdisp.c compute_string_pos (&end_pos, start_pos, it->string); it 5799 src/xdisp.c handle_single_display_spec (struct it *it, Lisp_Object spec, Lisp_Object object, it 5853 src/xdisp.c if (it) it 5855 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) it 5858 src/xdisp.c it->font_height = XCAR (XCDR (spec)); it 5859 src/xdisp.c if (!NILP (it->font_height)) it 5863 src/xdisp.c if (CONSP (it->font_height) it 5864 src/xdisp.c && (EQ (XCAR (it->font_height), Qplus) it 5865 src/xdisp.c || EQ (XCAR (it->font_height), Qminus)) it 5866 src/xdisp.c && CONSP (XCDR (it->font_height)) it 5867 src/xdisp.c && RANGED_FIXNUMP (0, XCAR (XCDR (it->font_height)), INT_MAX)) it 5870 src/xdisp.c int steps = XFIXNUM (XCAR (XCDR (it->font_height))); it 5871 src/xdisp.c if (EQ (XCAR (it->font_height), Qplus)) it 5873 src/xdisp.c it->face_id = smaller_face (it->f, it->face_id, steps); it 5875 src/xdisp.c else if (FUNCTIONP (it->font_height) && enable_eval_p) it 5879 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); it 5882 src/xdisp.c height = safe_call1 (it->font_height, it 5888 src/xdisp.c else if (NUMBERP (it->font_height)) it 5893 src/xdisp.c f = FACE_FROM_ID (it->f, it 5894 src/xdisp.c lookup_basic_face (it->w, it->f, DEFAULT_FACE_ID)); it 5895 src/xdisp.c new_height = (XFLOATINT (it->font_height) it 5903 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); it 5907 src/xdisp.c value = safe_eval (it->font_height); it 5916 src/xdisp.c it->face_id = face_with_height (it->f, it->face_id, new_height); it 5928 src/xdisp.c if (it) it 5930 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) it 5935 src/xdisp.c it->space_width = value; it 5947 src/xdisp.c if (it) it 5948 src/xdisp.c display_min_width (it, bufpos, object, XCAR (XCDR (spec))); it 5958 src/xdisp.c if (it) it 5960 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) it 5965 src/xdisp.c it->slice.x = XCAR (tem); it 5968 src/xdisp.c it->slice.y = XCAR (tem); it 5971 src/xdisp.c it->slice.width = XCAR (tem); it 5973 src/xdisp.c it->slice.height = XCAR (tem); it 5987 src/xdisp.c if (it) it 5989 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) it 5996 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); it 5997 src/xdisp.c it->voffset = - (XFLOATINT (value) it 6008 src/xdisp.c if (it && it->string_from_display_prop_p) it 6013 src/xdisp.c if (it) it 6016 src/xdisp.c *position = display_prop_end (it, object, start_pos); it 6044 src/xdisp.c if (it) it 6045 src/xdisp.c it->stop_charpos = position->charpos; it 6054 src/xdisp.c if (it) it 6056 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) it 6064 src/xdisp.c if (it->bidi_p) it 6066 src/xdisp.c it->position = *position; it 6067 src/xdisp.c iterate_out_of_display_property (it); it 6068 src/xdisp.c *position = it->position; it 6083 src/xdisp.c if (it && it->bidi_p) it 6085 src/xdisp.c it->position = *position; it 6086 src/xdisp.c iterate_out_of_display_property (it); it 6087 src/xdisp.c *position = it->position; it 6092 src/xdisp.c if (it) it 6094 src/xdisp.c int face_id = lookup_basic_face (it->w, it->f, DEFAULT_FACE_ID); it 6105 src/xdisp.c face_id2 = lookup_derived_face (it->w, it->f, face_name, it 6114 src/xdisp.c push_it (it, position); it 6116 src/xdisp.c it->area = TEXT_AREA; it 6117 src/xdisp.c it->what = IT_IMAGE; it 6118 src/xdisp.c it->image_id = -1; /* no image */ it 6119 src/xdisp.c it->position = start_pos; it 6120 src/xdisp.c it->object = NILP (object) ? it->w->contents : object; it 6121 src/xdisp.c it->method = GET_FROM_IMAGE; it 6122 src/xdisp.c it->from_overlay = Qnil; it 6123 src/xdisp.c it->face_id = face_id; it 6124 src/xdisp.c it->from_disp_prop_p = true; it 6133 src/xdisp.c it->left_user_fringe_bitmap = fringe_bitmap; it 6134 src/xdisp.c it->left_user_fringe_face_id = face_id; it 6138 src/xdisp.c it->right_user_fringe_bitmap = fringe_bitmap; it 6139 src/xdisp.c it->right_user_fringe_face_id = face_id; it 6183 src/xdisp.c || ((it ? FRAME_WINDOW_P (it->f) : frame_window_p) it 6187 src/xdisp.c || ((it ? FRAME_WINDOW_P (it->f) : frame_window_p) it 6194 src/xdisp.c if (!it) it 6206 src/xdisp.c push_it (it, position); it 6207 src/xdisp.c it->from_overlay = overlay; it 6208 src/xdisp.c it->from_disp_prop_p = true; it 6211 src/xdisp.c it->area = TEXT_AREA; it 6213 src/xdisp.c it->area = LEFT_MARGIN_AREA; it 6215 src/xdisp.c it->area = RIGHT_MARGIN_AREA; it 6219 src/xdisp.c it->string = value; it 6220 src/xdisp.c it->multibyte_p = STRING_MULTIBYTE (it->string); it 6221 src/xdisp.c it->current.overlay_string_index = -1; it 6222 src/xdisp.c IT_STRING_CHARPOS (*it) = IT_STRING_BYTEPOS (*it) = 0; it 6223 src/xdisp.c it->end_charpos = it->string_nchars = SCHARS (it->string); it 6224 src/xdisp.c it->method = GET_FROM_STRING; it 6225 src/xdisp.c it->stop_charpos = 0; it 6226 src/xdisp.c it->prev_stop = 0; it 6227 src/xdisp.c it->base_level_stop = 0; it 6228 src/xdisp.c it->string_from_display_prop_p = true; it 6229 src/xdisp.c it->cmp_it.id = -1; it 6239 src/xdisp.c if (it->bidi_p && it->bidi_it.paragraph_dir == R2L) it 6240 src/xdisp.c it->paragraph_embedding = it->bidi_it.paragraph_dir; it 6242 src/xdisp.c it->paragraph_embedding = L2R; it 6245 src/xdisp.c if (it->bidi_p) it 6247 src/xdisp.c it->bidi_it.string.lstring = it->string; it 6248 src/xdisp.c it->bidi_it.string.s = NULL; it 6249 src/xdisp.c it->bidi_it.string.schars = it->end_charpos; it 6250 src/xdisp.c it->bidi_it.string.bufpos = bufpos; it 6251 src/xdisp.c it->bidi_it.string.from_disp_str = true; it 6252 src/xdisp.c it->bidi_it.string.unibyte = !it->multibyte_p; it 6253 src/xdisp.c it->bidi_it.w = it->w; it 6254 src/xdisp.c bidi_init_it (0, 0, FRAME_WINDOW_P (it->f), &it->bidi_it); it 6259 src/xdisp.c it->method = GET_FROM_STRETCH; it 6260 src/xdisp.c it->object = value; it 6261 src/xdisp.c *position = it->position = start_pos; it 6262 src/xdisp.c retval = 1 + (it->area == TEXT_AREA); it 6266 src/xdisp.c it->what = IT_XWIDGET; it 6267 src/xdisp.c it->method = GET_FROM_XWIDGET; it 6268 src/xdisp.c it->position = start_pos; it 6269 src/xdisp.c it->object = NILP (object) ? it->w->contents : object; it 6271 src/xdisp.c it->xwidget = lookup_xwidget (value); it 6278 src/xdisp.c it->what = IT_IMAGE; it 6283 src/xdisp.c it->image_id = lookup_image (it->f, value, it->face_id); it 6285 src/xdisp.c it->position = start_pos; it 6286 src/xdisp.c it->object = NILP (object) ? it->w->contents : object; it 6287 src/xdisp.c it->method = GET_FROM_IMAGE; it 6490 src/xdisp.c handle_composition_prop (struct it *it) it 6495 src/xdisp.c if (STRINGP (it->string)) it 6499 src/xdisp.c pos = IT_STRING_CHARPOS (*it); it 6500 src/xdisp.c pos_byte = IT_STRING_BYTEPOS (*it); it 6501 src/xdisp.c string = it->string; it 6504 src/xdisp.c it->c = STRING_CHAR (s); it 6506 src/xdisp.c it->c = *s; it 6510 src/xdisp.c pos = IT_CHARPOS (*it); it 6511 src/xdisp.c pos_byte = IT_BYTEPOS (*it); it 6513 src/xdisp.c it->c = FETCH_CHAR (pos_byte); it 6521 src/xdisp.c && (STRINGP (it->string) || (PT <= start || PT >= end))) it 6530 src/xdisp.c if (STRINGP (it->string)) it 6531 src/xdisp.c pos_byte = string_char_to_byte (it->string, start); it 6535 src/xdisp.c it->cmp_it.id = get_composition_id (start, pos_byte, end - start, it 6538 src/xdisp.c if (it->cmp_it.id >= 0) it 6540 src/xdisp.c it->cmp_it.ch = -1; it 6541 src/xdisp.c it->cmp_it.nchars = COMPOSITION_LENGTH (prop); it 6542 src/xdisp.c it->cmp_it.nglyphs = -1; it 6571 src/xdisp.c handle_overlay_change (struct it *it) it 6573 src/xdisp.c if (!STRINGP (it->string) && get_overlay_strings (it, 0)) it 6588 src/xdisp.c next_overlay_string (struct it *it) it 6590 src/xdisp.c ++it->current.overlay_string_index; it 6591 src/xdisp.c if (it->current.overlay_string_index == it->n_overlay_strings) it 6597 src/xdisp.c it->ellipsis_p = it->stack[it->sp - 1].display_ellipsis_p; it 6598 src/xdisp.c pop_it (it); it 6599 src/xdisp.c eassert (it->sp > 0 it 6600 src/xdisp.c || (NILP (it->string) it 6601 src/xdisp.c && it->method == GET_FROM_BUFFER it 6602 src/xdisp.c && it->stop_charpos >= BEGV it 6603 src/xdisp.c && it->stop_charpos <= it->end_charpos)); it 6604 src/xdisp.c it->current.overlay_string_index = -1; it 6605 src/xdisp.c it->n_overlay_strings = 0; it 6610 src/xdisp.c if (it->sp > 0 && STRINGP (it->string) && !SCHARS (it->string)) it 6611 src/xdisp.c pop_it (it); it 6621 src/xdisp.c if (it->overlay_strings_charpos == IT_CHARPOS (*it)) it 6622 src/xdisp.c it->ignore_overlay_strings_at_pos_p = true; it 6627 src/xdisp.c if (NILP (it->string) it 6628 src/xdisp.c && IT_CHARPOS (*it) >= it->end_charpos it 6629 src/xdisp.c && it->overlay_strings_charpos >= it->end_charpos) it 6630 src/xdisp.c it->overlay_strings_at_end_processed_p = true; it 6638 src/xdisp.c it->overlay_strings_charpos = -1; it 6648 src/xdisp.c int i = it->current.overlay_string_index % OVERLAY_STRING_CHUNK_SIZE; it 6650 src/xdisp.c if (it->current.overlay_string_index && i == 0) it 6651 src/xdisp.c load_overlay_strings (it, it->overlay_strings_charpos); it 6655 src/xdisp.c it->string = it->overlay_strings[i]; it 6656 src/xdisp.c it->multibyte_p = STRING_MULTIBYTE (it->string); it 6657 src/xdisp.c SET_TEXT_POS (it->current.string_pos, 0, 0); it 6658 src/xdisp.c it->method = GET_FROM_STRING; it 6659 src/xdisp.c it->stop_charpos = 0; it 6660 src/xdisp.c it->end_charpos = SCHARS (it->string); it 6661 src/xdisp.c if (it->cmp_it.stop_pos >= 0) it 6662 src/xdisp.c it->cmp_it.stop_pos = 0; it 6663 src/xdisp.c it->prev_stop = 0; it 6664 src/xdisp.c it->base_level_stop = 0; it 6667 src/xdisp.c if (it->bidi_p) it 6669 src/xdisp.c it->bidi_it.string.lstring = it->string; it 6670 src/xdisp.c it->bidi_it.string.s = NULL; it 6671 src/xdisp.c it->bidi_it.string.schars = SCHARS (it->string); it 6672 src/xdisp.c it->bidi_it.string.bufpos = it->overlay_strings_charpos; it 6673 src/xdisp.c it->bidi_it.string.from_disp_str = it->string_from_display_prop_p; it 6674 src/xdisp.c it->bidi_it.string.unibyte = !it->multibyte_p; it 6675 src/xdisp.c it->bidi_it.w = it->w; it 6676 src/xdisp.c bidi_init_it (0, 0, FRAME_WINDOW_P (it->f), &it->bidi_it); it 6680 src/xdisp.c CHECK_IT (it); it 6757 src/xdisp.c load_overlay_strings (struct it *it, ptrdiff_t charpos) it 6768 src/xdisp.c charpos = IT_CHARPOS (*it); it 6812 src/xdisp.c if (WINDOWP (window) && XWINDOW (window) != it->w) it 6842 src/xdisp.c it->n_overlay_strings = n; it 6843 src/xdisp.c it->overlay_strings_charpos = charpos; it 6848 src/xdisp.c ptrdiff_t j = it->current.overlay_string_index; it 6851 src/xdisp.c it->overlay_strings[i] = entries[j].string; it 6852 src/xdisp.c it->string_overlays[i] = entries[j].overlay; it 6855 src/xdisp.c CHECK_IT (it); it 6865 src/xdisp.c get_overlay_strings_1 (struct it *it, ptrdiff_t charpos, bool compute_stop_p) it 6874 src/xdisp.c it->current.overlay_string_index = 0; it 6875 src/xdisp.c load_overlay_strings (it, charpos); it 6880 src/xdisp.c if (it->n_overlay_strings) it 6886 src/xdisp.c compute_stop_pos (it); it 6887 src/xdisp.c eassert (it->face_id >= 0); it 6891 src/xdisp.c eassert (!compute_stop_p || it->sp == 0); it 6901 src/xdisp.c if (!(!it->bidi_p it 6902 src/xdisp.c && STRINGP (it->string) && !SCHARS (it->string))) it 6903 src/xdisp.c push_it (it, NULL); it 6907 src/xdisp.c IT_STRING_CHARPOS (*it) = IT_STRING_BYTEPOS (*it) = 0; it 6908 src/xdisp.c it->string = it->overlay_strings[0]; it 6909 src/xdisp.c it->from_overlay = Qnil; it 6910 src/xdisp.c it->stop_charpos = 0; it 6911 src/xdisp.c eassert (STRINGP (it->string)); it 6912 src/xdisp.c it->end_charpos = SCHARS (it->string); it 6913 src/xdisp.c it->prev_stop = 0; it 6914 src/xdisp.c it->base_level_stop = 0; it 6915 src/xdisp.c it->multibyte_p = STRING_MULTIBYTE (it->string); it 6916 src/xdisp.c it->method = GET_FROM_STRING; it 6917 src/xdisp.c it->from_disp_prop_p = 0; it 6918 src/xdisp.c it->cmp_it.id = -1; it 6922 src/xdisp.c if (it->bidi_p && it->bidi_it.paragraph_dir == R2L) it 6923 src/xdisp.c it->paragraph_embedding = it->bidi_it.paragraph_dir; it 6925 src/xdisp.c it->paragraph_embedding = L2R; it 6928 src/xdisp.c if (it->bidi_p) it 6930 src/xdisp.c ptrdiff_t pos = (charpos > 0 ? charpos : IT_CHARPOS (*it)); it 6932 src/xdisp.c it->bidi_it.string.lstring = it->string; it 6933 src/xdisp.c it->bidi_it.string.s = NULL; it 6934 src/xdisp.c it->bidi_it.string.schars = SCHARS (it->string); it 6935 src/xdisp.c it->bidi_it.string.bufpos = pos; it 6936 src/xdisp.c it->bidi_it.string.from_disp_str = it->string_from_display_prop_p; it 6937 src/xdisp.c it->bidi_it.string.unibyte = !it->multibyte_p; it 6938 src/xdisp.c it->bidi_it.w = it->w; it 6939 src/xdisp.c bidi_init_it (0, 0, FRAME_WINDOW_P (it->f), &it->bidi_it); it 6944 src/xdisp.c it->current.overlay_string_index = -1; it 6949 src/xdisp.c get_overlay_strings (struct it *it, ptrdiff_t charpos) it 6951 src/xdisp.c it->string = Qnil; it 6952 src/xdisp.c it->method = GET_FROM_BUFFER; it 6954 src/xdisp.c get_overlay_strings_1 (it, charpos, true); it 6956 src/xdisp.c CHECK_IT (it); it 6959 src/xdisp.c return STRINGP (it->string); it 6975 src/xdisp.c push_it (struct it *it, struct text_pos *position) it 6979 src/xdisp.c eassert (it->sp < IT_STACK_SIZE); it 6980 src/xdisp.c p = it->stack + it->sp; it 6982 src/xdisp.c p->stop_charpos = it->stop_charpos; it 6983 src/xdisp.c p->prev_stop = it->prev_stop; it 6984 src/xdisp.c p->base_level_stop = it->base_level_stop; it 6985 src/xdisp.c p->cmp_it = it->cmp_it; it 6986 src/xdisp.c eassert (it->face_id >= 0); it 6987 src/xdisp.c p->face_id = it->face_id; it 6988 src/xdisp.c p->string = it->string; it 6989 src/xdisp.c p->method = it->method; it 6990 src/xdisp.c p->from_overlay = it->from_overlay; it 6994 src/xdisp.c p->u.image.object = it->object; it 6995 src/xdisp.c p->u.image.image_id = it->image_id; it 6996 src/xdisp.c p->u.image.slice = it->slice; it 6999 src/xdisp.c p->u.stretch.object = it->object; it 7002 src/xdisp.c p->u.xwidget.object = it->object; it 7012 src/xdisp.c p->position = position ? *position : it->position; it 7013 src/xdisp.c p->current = it->current; it 7014 src/xdisp.c p->end_charpos = it->end_charpos; it 7015 src/xdisp.c p->string_nchars = it->string_nchars; it 7016 src/xdisp.c p->area = it->area; it 7017 src/xdisp.c p->multibyte_p = it->multibyte_p; it 7018 src/xdisp.c p->avoid_cursor_p = it->avoid_cursor_p; it 7019 src/xdisp.c p->space_width = it->space_width; it 7020 src/xdisp.c p->font_height = it->font_height; it 7021 src/xdisp.c p->voffset = it->voffset; it 7022 src/xdisp.c p->string_from_display_prop_p = it->string_from_display_prop_p; it 7023 src/xdisp.c p->string_from_prefix_prop_p = it->string_from_prefix_prop_p; it 7025 src/xdisp.c p->line_wrap = it->line_wrap; it 7026 src/xdisp.c p->bidi_p = it->bidi_p; it 7027 src/xdisp.c p->paragraph_embedding = it->paragraph_embedding; it 7028 src/xdisp.c p->from_disp_prop_p = it->from_disp_prop_p; it 7029 src/xdisp.c ++it->sp; it 7032 src/xdisp.c if (it->bidi_p) it 7033 src/xdisp.c bidi_push_it (&it->bidi_it); it 7037 src/xdisp.c iterate_out_of_display_property (struct it *it) it 7039 src/xdisp.c bool buffer_p = !STRINGP (it->string); it 7040 src/xdisp.c ptrdiff_t eob = (buffer_p ? ZV : it->end_charpos); it 7043 src/xdisp.c eassert (eob >= CHARPOS (it->position) && CHARPOS (it->position) >= bob); it 7048 src/xdisp.c if (it->bidi_it.first_elt && it->bidi_it.charpos < eob) it 7049 src/xdisp.c bidi_paragraph_init (it->paragraph_embedding, &it->bidi_it, true); it 7051 src/xdisp.c while (it->bidi_it.charpos >= bob it 7052 src/xdisp.c && it->prev_stop <= it->bidi_it.charpos it 7053 src/xdisp.c && it->bidi_it.charpos < CHARPOS (it->position) it 7054 src/xdisp.c && it->bidi_it.charpos < eob) it 7055 src/xdisp.c bidi_move_to_visually_next (&it->bidi_it); it 7058 src/xdisp.c if (it->bidi_it.charpos > CHARPOS (it->position)) it 7059 src/xdisp.c it->prev_stop = CHARPOS (it->position); it 7062 src/xdisp.c if (it->bidi_it.charpos != CHARPOS (it->position)) it 7063 src/xdisp.c SET_TEXT_POS (it->position, it->bidi_it.charpos, it->bidi_it.bytepos); it 7065 src/xdisp.c it->current.pos = it->position; it 7067 src/xdisp.c it->current.string_pos = it->position; it 7075 src/xdisp.c restore_face_box_flags (struct it *it, int prev_face_id) it 7077 src/xdisp.c struct face *face = FACE_FROM_ID_OR_NULL (it->f, it->face_id); it 7081 src/xdisp.c struct face *prev_face = FACE_FROM_ID_OR_NULL (it->f, prev_face_id); it 7083 src/xdisp.c if (!(it->start_of_box_run_p && prev_face && prev_face->box)) it 7084 src/xdisp.c it->start_of_box_run_p = (face->box != FACE_NO_BOX it 7087 src/xdisp.c it->face_box_p = face->box != FACE_NO_BOX; it 7098 src/xdisp.c pop_it (struct it *it) it 7101 src/xdisp.c bool from_display_prop = it->from_disp_prop_p; it 7102 src/xdisp.c ptrdiff_t prev_pos = IT_CHARPOS (*it); it 7103 src/xdisp.c int prev_face_id = it->face_id; it 7105 src/xdisp.c eassert (it->sp > 0); it 7106 src/xdisp.c --it->sp; it 7107 src/xdisp.c p = it->stack + it->sp; it 7108 src/xdisp.c it->stop_charpos = p->stop_charpos; it 7109 src/xdisp.c it->prev_stop = p->prev_stop; it 7110 src/xdisp.c it->base_level_stop = p->base_level_stop; it 7111 src/xdisp.c it->cmp_it = p->cmp_it; it 7112 src/xdisp.c it->face_id = p->face_id; it 7113 src/xdisp.c it->current = p->current; it 7114 src/xdisp.c it->position = p->position; it 7115 src/xdisp.c it->string = p->string; it 7116 src/xdisp.c it->from_overlay = p->from_overlay; it 7117 src/xdisp.c if (NILP (it->string)) it 7118 src/xdisp.c SET_TEXT_POS (it->current.string_pos, -1, -1); it 7119 src/xdisp.c it->method = p->method; it 7120 src/xdisp.c switch (it->method) it 7123 src/xdisp.c it->image_id = p->u.image.image_id; it 7124 src/xdisp.c it->object = p->u.image.object; it 7125 src/xdisp.c it->slice = p->u.image.slice; it 7128 src/xdisp.c it->object = p->u.xwidget.object; it 7131 src/xdisp.c it->object = p->u.stretch.object; it 7135 src/xdisp.c restore_face_box_flags (it, prev_face_id); it 7136 src/xdisp.c it->object = it->w->contents; it 7141 src/xdisp.c restore_face_box_flags (it, prev_face_id); it 7142 src/xdisp.c it->object = it->string; it 7146 src/xdisp.c if (it->s) it 7147 src/xdisp.c it->method = GET_FROM_C_STRING; it 7148 src/xdisp.c else if (STRINGP (it->string)) it 7149 src/xdisp.c it->method = GET_FROM_STRING; it 7152 src/xdisp.c it->method = GET_FROM_BUFFER; it 7153 src/xdisp.c it->object = it->w->contents; it 7161 src/xdisp.c it->end_charpos = p->end_charpos; it 7162 src/xdisp.c it->string_nchars = p->string_nchars; it 7163 src/xdisp.c it->area = p->area; it 7164 src/xdisp.c it->multibyte_p = p->multibyte_p; it 7165 src/xdisp.c it->avoid_cursor_p = p->avoid_cursor_p; it 7166 src/xdisp.c it->space_width = p->space_width; it 7167 src/xdisp.c it->font_height = p->font_height; it 7168 src/xdisp.c it->voffset = p->voffset; it 7169 src/xdisp.c it->string_from_display_prop_p = p->string_from_display_prop_p; it 7170 src/xdisp.c it->string_from_prefix_prop_p = p->string_from_prefix_prop_p; it 7171 src/xdisp.c it->line_wrap = p->line_wrap; it 7172 src/xdisp.c it->bidi_p = p->bidi_p; it 7173 src/xdisp.c it->paragraph_embedding = p->paragraph_embedding; it 7174 src/xdisp.c it->from_disp_prop_p = p->from_disp_prop_p; it 7175 src/xdisp.c if (it->bidi_p) it 7177 src/xdisp.c bidi_pop_it (&it->bidi_it); it 7186 src/xdisp.c && (it->method == GET_FROM_BUFFER || it->method == GET_FROM_STRING)) it 7187 src/xdisp.c iterate_out_of_display_property (it); it 7189 src/xdisp.c eassert ((BUFFERP (it->object) it 7190 src/xdisp.c && IT_CHARPOS (*it) == it->bidi_it.charpos it 7191 src/xdisp.c && IT_BYTEPOS (*it) == it->bidi_it.bytepos) it 7192 src/xdisp.c || (STRINGP (it->object) it 7193 src/xdisp.c && IT_STRING_CHARPOS (*it) == it->bidi_it.charpos it 7194 src/xdisp.c && IT_STRING_BYTEPOS (*it) == it->bidi_it.bytepos) it 7195 src/xdisp.c || (CONSP (it->object) && it->method == GET_FROM_STRETCH) it 7202 src/xdisp.c || it->sp > 0); it 7207 src/xdisp.c if (from_display_prop && it->sp == 0 && CHARPOS (it->position) != prev_pos) it 7208 src/xdisp.c it->ignore_overlay_strings_at_pos_p = false; it 7220 src/xdisp.c back_to_previous_line_start (struct it *it) it 7222 src/xdisp.c ptrdiff_t cp = IT_CHARPOS (*it), bp = IT_BYTEPOS (*it); it 7225 src/xdisp.c SET_WITH_NARROWED_BEGV (it, IT_CHARPOS (*it), it 7226 src/xdisp.c find_newline_no_quit (cp, bp, -1, &IT_BYTEPOS (*it)), it 7227 src/xdisp.c get_small_narrowing_begv (it->w, IT_CHARPOS (*it))); it 7309 src/xdisp.c forward_to_next_line_start (struct it *it, bool *skipped_p, it 7319 src/xdisp.c if (it->what == IT_CHARACTER it 7320 src/xdisp.c && it->c == '\n' it 7321 src/xdisp.c && CHARPOS (it->position) == IT_CHARPOS (*it)) it 7323 src/xdisp.c if (it->bidi_p && bidi_it_prev) it 7324 src/xdisp.c *bidi_it_prev = it->bidi_it; it 7325 src/xdisp.c set_iterator_to_next (it, false); it 7326 src/xdisp.c it->c = 0; it 7334 src/xdisp.c old_selective = it->selective; it 7335 src/xdisp.c it->selective = 0; it 7342 src/xdisp.c n += !STRINGP (it->string)) it 7344 src/xdisp.c if (!get_next_display_element (it)) it 7346 src/xdisp.c newline_found_p = it->what == IT_CHARACTER && it->c == '\n'; it 7347 src/xdisp.c if (newline_found_p && it->bidi_p && bidi_it_prev) it 7348 src/xdisp.c *bidi_it_prev = it->bidi_it; it 7349 src/xdisp.c set_iterator_to_next (it, false); it 7356 src/xdisp.c ptrdiff_t bytepos, start = IT_CHARPOS (*it); it 7357 src/xdisp.c ptrdiff_t limit = find_newline_no_quit (start, IT_BYTEPOS (*it), it 7359 src/xdisp.c eassert (!STRINGP (it->string)); it 7364 src/xdisp.c bool no_strings_with_newlines = it->stop_charpos >= limit; it 7369 src/xdisp.c && it->line_wrap == TRUNCATE)) it 7388 src/xdisp.c !strings_with_newlines (start, limit, it->w); it 7397 src/xdisp.c if (!it->bidi_p || !bidi_it_prev) it 7400 src/xdisp.c IT_CHARPOS (*it) = limit; it 7401 src/xdisp.c IT_BYTEPOS (*it) = bytepos; it 7413 src/xdisp.c if (it->bidi_it.disp_pos < limit) it 7415 src/xdisp.c it->bidi_it.disp_pos = limit; it 7416 src/xdisp.c it->bidi_it.disp_prop = 0; it 7419 src/xdisp.c bprev = it->bidi_it; it 7420 src/xdisp.c bidi_move_to_visually_next (&it->bidi_it); it 7421 src/xdisp.c } while (it->bidi_it.charpos != limit); it 7422 src/xdisp.c IT_CHARPOS (*it) = limit; it 7423 src/xdisp.c IT_BYTEPOS (*it) = it->bidi_it.bytepos; it 7434 src/xdisp.c if (!get_next_display_element (it)) it 7436 src/xdisp.c newline_found_p = ITERATOR_AT_END_OF_LINE_P (it); it 7437 src/xdisp.c if (newline_found_p && it->bidi_p && bidi_it_prev) it 7438 src/xdisp.c *bidi_it_prev = it->bidi_it; it 7439 src/xdisp.c set_iterator_to_next (it, false); it 7444 src/xdisp.c it->selective = old_selective; it 7455 src/xdisp.c back_to_previous_visible_line_start (struct it *it) it 7457 src/xdisp.c while (IT_CHARPOS (*it) > BEGV) it 7459 src/xdisp.c back_to_previous_line_start (it); it 7461 src/xdisp.c if (IT_CHARPOS (*it) <= BEGV) it 7466 src/xdisp.c if (it->selective > 0 it 7467 src/xdisp.c && indented_beyond_p (IT_CHARPOS (*it), IT_BYTEPOS (*it), it 7468 src/xdisp.c it->selective)) it 7474 src/xdisp.c prop = Fget_char_property (make_fixnum (IT_CHARPOS (*it) - 1), it 7475 src/xdisp.c Qinvisible, it->window); it 7480 src/xdisp.c if (IT_CHARPOS (*it) <= BEGV) it 7484 src/xdisp.c struct it it2; it 7490 src/xdisp.c SAVE_IT (it2, *it, it2data); it 7493 src/xdisp.c if (find_composition (IT_CHARPOS (*it), -1, &beg, &end, &val, Qnil) it 7494 src/xdisp.c && beg < IT_CHARPOS (*it)) it 7512 src/xdisp.c RESTORE_IT (it, it, it2data); it 7517 src/xdisp.c RESTORE_IT (it, it, it2data); it 7523 src/xdisp.c IT_CHARPOS (*it) = beg; it 7524 src/xdisp.c IT_BYTEPOS (*it) = buf_charpos_to_bytepos (current_buffer, beg); it 7528 src/xdisp.c it->continuation_lines_width = 0; it 7530 src/xdisp.c eassert (IT_CHARPOS (*it) >= BEGV); it 7531 src/xdisp.c eassert (it->medium_narrowing_begv > 0 /* long-line optimizations: all bets off */ it 7532 src/xdisp.c || IT_CHARPOS (*it) == BEGV it 7533 src/xdisp.c || FETCH_BYTE (IT_BYTEPOS (*it) - 1) == '\n'); it 7534 src/xdisp.c CHECK_IT (it); it 7544 src/xdisp.c reseat_at_previous_visible_line_start (struct it *it) it 7546 src/xdisp.c back_to_previous_visible_line_start (it); it 7547 src/xdisp.c reseat (it, it->current.pos, true); it 7548 src/xdisp.c CHECK_IT (it); it 7560 src/xdisp.c reseat_at_next_visible_line_start (struct it *it, bool on_newline_p) it 7565 src/xdisp.c = forward_to_next_line_start (it, &skipped_p, it 7570 src/xdisp.c if (it->selective > 0) it 7571 src/xdisp.c while (IT_CHARPOS (*it) < ZV it 7572 src/xdisp.c && indented_beyond_p (IT_CHARPOS (*it), IT_BYTEPOS (*it), it 7573 src/xdisp.c it->selective)) it 7575 src/xdisp.c eassert (IT_BYTEPOS (*it) == BEGV it 7576 src/xdisp.c || FETCH_BYTE (IT_BYTEPOS (*it) - 1) == '\n'); it 7578 src/xdisp.c forward_to_next_line_start (it, &skipped_p, it 7585 src/xdisp.c if (STRINGP (it->string)) it 7587 src/xdisp.c if (IT_STRING_CHARPOS (*it) > 0) it 7589 src/xdisp.c if (!it->bidi_p) it 7591 src/xdisp.c --IT_STRING_CHARPOS (*it); it 7592 src/xdisp.c --IT_STRING_BYTEPOS (*it); it 7599 src/xdisp.c it->bidi_it = bidi_it_prev; it 7600 src/xdisp.c IT_STRING_CHARPOS (*it) = it->bidi_it.charpos; it 7601 src/xdisp.c IT_STRING_BYTEPOS (*it) = it->bidi_it.bytepos; it 7605 src/xdisp.c else if (IT_CHARPOS (*it) > BEGV) it 7607 src/xdisp.c if (!it->bidi_p) it 7609 src/xdisp.c --IT_CHARPOS (*it); it 7610 src/xdisp.c --IT_BYTEPOS (*it); it 7616 src/xdisp.c it->bidi_it = bidi_it_prev; it 7617 src/xdisp.c IT_CHARPOS (*it) = it->bidi_it.charpos; it 7618 src/xdisp.c IT_BYTEPOS (*it) = it->bidi_it.bytepos; it 7620 src/xdisp.c reseat (it, it->current.pos, false); it 7624 src/xdisp.c reseat (it, it->current.pos, false); it 7626 src/xdisp.c CHECK_IT (it); it 7641 src/xdisp.c reseat (struct it *it, struct text_pos pos, bool force_p) it 7643 src/xdisp.c ptrdiff_t original_pos = IT_CHARPOS (*it); it 7645 src/xdisp.c reseat_1 (it, pos, false); it 7649 src/xdisp.c if (!it->medium_narrowing_begv) it 7651 src/xdisp.c it->medium_narrowing_begv it 7652 src/xdisp.c = get_medium_narrowing_begv (it->w, window_point (it->w)); it 7653 src/xdisp.c it->medium_narrowing_zv it 7654 src/xdisp.c = get_medium_narrowing_zv (it->w, window_point (it->w)); it 7655 src/xdisp.c it->large_narrowing_begv it 7656 src/xdisp.c = get_large_narrowing_begv (window_point (it->w)); it 7657 src/xdisp.c it->large_narrowing_zv it 7658 src/xdisp.c = get_large_narrowing_zv (window_point (it->w)); it 7660 src/xdisp.c else if ((pos.charpos < it->medium_narrowing_begv it 7661 src/xdisp.c || pos.charpos > it->medium_narrowing_zv) it 7662 src/xdisp.c && (!redisplaying_p || it->line_wrap == TRUNCATE)) it 7664 src/xdisp.c it->medium_narrowing_begv it 7665 src/xdisp.c = get_medium_narrowing_begv (it->w, pos.charpos); it 7666 src/xdisp.c it->medium_narrowing_zv it 7667 src/xdisp.c = get_medium_narrowing_zv (it->w, pos.charpos); it 7668 src/xdisp.c it->large_narrowing_begv it 7669 src/xdisp.c = get_large_narrowing_begv (window_point (it->w)); it 7670 src/xdisp.c it->large_narrowing_zv it 7671 src/xdisp.c = get_large_narrowing_zv (window_point (it->w)); it 7678 src/xdisp.c || CHARPOS (pos) > it->stop_charpos it 7681 src/xdisp.c if (it->bidi_p) it 7693 src/xdisp.c if (CHARPOS (pos) != it->prev_stop) it 7694 src/xdisp.c it->prev_stop = CHARPOS (pos); it 7695 src/xdisp.c if (CHARPOS (pos) < it->base_level_stop) it 7696 src/xdisp.c it->base_level_stop = 0; /* meaning it's unknown */ it 7697 src/xdisp.c handle_stop (it); it 7701 src/xdisp.c handle_stop (it); it 7702 src/xdisp.c it->prev_stop = it->base_level_stop = 0; it 7707 src/xdisp.c CHECK_IT (it); it 7715 src/xdisp.c reseat_1 (struct it *it, struct text_pos pos, bool set_stop_p) it 7718 src/xdisp.c eassert (it->s == NULL); it 7723 src/xdisp.c it->current.pos = it->position = pos; it 7724 src/xdisp.c it->end_charpos = ZV; it 7725 src/xdisp.c it->dpvec = NULL; it 7726 src/xdisp.c it->current.dpvec_index = -1; it 7727 src/xdisp.c it->current.overlay_string_index = -1; it 7728 src/xdisp.c IT_STRING_CHARPOS (*it) = -1; it 7729 src/xdisp.c IT_STRING_BYTEPOS (*it) = -1; it 7730 src/xdisp.c it->string = Qnil; it 7731 src/xdisp.c it->method = GET_FROM_BUFFER; it 7732 src/xdisp.c it->object = it->w->contents; it 7733 src/xdisp.c it->area = TEXT_AREA; it 7734 src/xdisp.c it->multibyte_p = !NILP (BVAR (current_buffer, enable_multibyte_characters)); it 7735 src/xdisp.c it->sp = 0; it 7736 src/xdisp.c it->string_from_display_prop_p = false; it 7737 src/xdisp.c it->string_from_prefix_prop_p = false; it 7739 src/xdisp.c it->from_disp_prop_p = false; it 7740 src/xdisp.c it->face_before_selective_p = false; it 7741 src/xdisp.c if (it->bidi_p) it 7743 src/xdisp.c bidi_init_it (IT_CHARPOS (*it), IT_BYTEPOS (*it), FRAME_WINDOW_P (it->f), it 7744 src/xdisp.c &it->bidi_it); it 7746 src/xdisp.c it->bidi_it.paragraph_dir = NEUTRAL_DIR; it 7747 src/xdisp.c it->bidi_it.string.s = NULL; it 7748 src/xdisp.c it->bidi_it.string.lstring = Qnil; it 7749 src/xdisp.c it->bidi_it.string.bufpos = 0; it 7750 src/xdisp.c it->bidi_it.string.from_disp_str = false; it 7751 src/xdisp.c it->bidi_it.string.unibyte = false; it 7752 src/xdisp.c it->bidi_it.w = it->w; it 7757 src/xdisp.c it->stop_charpos = CHARPOS (pos); it 7758 src/xdisp.c it->base_level_stop = CHARPOS (pos); it 7761 src/xdisp.c it->cmp_it.id = -1; it 7762 src/xdisp.c it->min_width_property = Qnil; it 7785 src/xdisp.c reseat_to_string (struct it *it, const char *s, Lisp_Object string, it 7790 src/xdisp.c it->stop_charpos = -1; it 7793 src/xdisp.c memset (&it->current, 0, sizeof it->current); it 7794 src/xdisp.c it->current.overlay_string_index = -1; it 7795 src/xdisp.c it->current.dpvec_index = -1; it 7801 src/xdisp.c it->multibyte_p = multibyte > 0; it 7807 src/xdisp.c it->bidi_p = it 7814 src/xdisp.c it->string = string; it 7815 src/xdisp.c it->s = NULL; it 7816 src/xdisp.c it->end_charpos = it->string_nchars = SCHARS (string); it 7817 src/xdisp.c it->method = GET_FROM_STRING; it 7818 src/xdisp.c it->current.string_pos = string_pos (charpos, string); it 7820 src/xdisp.c if (it->bidi_p) it 7822 src/xdisp.c it->bidi_it.string.lstring = string; it 7823 src/xdisp.c it->bidi_it.string.s = NULL; it 7824 src/xdisp.c it->bidi_it.string.schars = it->end_charpos; it 7825 src/xdisp.c it->bidi_it.string.bufpos = 0; it 7826 src/xdisp.c it->bidi_it.string.from_disp_str = false; it 7827 src/xdisp.c it->bidi_it.string.unibyte = !it->multibyte_p; it 7828 src/xdisp.c it->bidi_it.w = it->w; it 7829 src/xdisp.c bidi_init_it (charpos, IT_STRING_BYTEPOS (*it), it 7830 src/xdisp.c FRAME_WINDOW_P (it->f), &it->bidi_it); it 7835 src/xdisp.c it->s = (const unsigned char *) s; it 7836 src/xdisp.c it->string = Qnil; it 7840 src/xdisp.c IT_STRING_CHARPOS (*it) = IT_STRING_BYTEPOS (*it) = -1; it 7841 src/xdisp.c if (it->multibyte_p) it 7843 src/xdisp.c it->current.pos = c_string_pos (charpos, s, true); it 7844 src/xdisp.c it->end_charpos = it->string_nchars = number_of_chars (s, true); it 7848 src/xdisp.c IT_CHARPOS (*it) = IT_BYTEPOS (*it) = charpos; it 7849 src/xdisp.c it->end_charpos = it->string_nchars = strlen (s); it 7852 src/xdisp.c if (it->bidi_p) it 7854 src/xdisp.c it->bidi_it.string.lstring = Qnil; it 7855 src/xdisp.c it->bidi_it.string.s = (const unsigned char *) s; it 7856 src/xdisp.c it->bidi_it.string.schars = it->end_charpos; it 7857 src/xdisp.c it->bidi_it.string.bufpos = 0; it 7858 src/xdisp.c it->bidi_it.string.from_disp_str = false; it 7859 src/xdisp.c it->bidi_it.string.unibyte = !it->multibyte_p; it 7860 src/xdisp.c it->bidi_it.w = it->w; it 7861 src/xdisp.c bidi_init_it (charpos, IT_BYTEPOS (*it), FRAME_WINDOW_P (it->f), it 7862 src/xdisp.c &it->bidi_it); it 7864 src/xdisp.c it->method = GET_FROM_C_STRING; it 7869 src/xdisp.c if (precision > 0 && it->end_charpos - charpos > precision) it 7871 src/xdisp.c it->end_charpos = it->string_nchars = charpos + precision; it 7872 src/xdisp.c if (it->bidi_p) it 7873 src/xdisp.c it->bidi_it.string.schars = it->end_charpos; it 7885 src/xdisp.c if (field_width > it->end_charpos - charpos) it 7886 src/xdisp.c it->end_charpos = charpos + field_width; it 7890 src/xdisp.c it->dp = XCHAR_TABLE (Vstandard_display_table); it 7892 src/xdisp.c it->stop_charpos = charpos; it 7893 src/xdisp.c it->prev_stop = charpos; it 7894 src/xdisp.c it->base_level_stop = 0; it 7895 src/xdisp.c if (it->bidi_p) it 7897 src/xdisp.c it->bidi_it.first_elt = true; it 7898 src/xdisp.c it->bidi_it.paragraph_dir = NEUTRAL_DIR; it 7899 src/xdisp.c it->bidi_it.disp_pos = -1; it 7901 src/xdisp.c if (s == NULL && it->multibyte_p) it 7903 src/xdisp.c ptrdiff_t endpos = SCHARS (it->string); it 7904 src/xdisp.c if (endpos > it->end_charpos) it 7905 src/xdisp.c endpos = it->end_charpos; it 7906 src/xdisp.c composition_compute_stop_pos (&it->cmp_it, charpos, -1, endpos, it 7907 src/xdisp.c it->string, true); it 7909 src/xdisp.c CHECK_IT (it); it 7920 src/xdisp.c typedef bool (*next_element_function) (struct it *); it 7933 src/xdisp.c #define GET_NEXT_DISPLAY_ELEMENT(it) (*get_next_element[(it)->method]) (it) it 7965 src/xdisp.c lookup_glyphless_char_display (int c, struct it *it) it 7978 src/xdisp.c glyphless_method = FRAME_WINDOW_P (it->f) it 8000 src/xdisp.c it->glyphless_method = GLYPHLESS_DISPLAY_THIN_SPACE; it 8002 src/xdisp.c it->glyphless_method = GLYPHLESS_DISPLAY_EMPTY_BOX; it 8004 src/xdisp.c it->glyphless_method = GLYPHLESS_DISPLAY_HEX_CODE; it 8006 src/xdisp.c it->glyphless_method = GLYPHLESS_DISPLAY_ACRONYM; it 8013 src/xdisp.c it->what = IT_GLYPHLESS; it 8024 src/xdisp.c merge_escape_glyph_face (struct it *it) it 8028 src/xdisp.c if (it->f == last_escape_glyph_frame it 8029 src/xdisp.c && it->face_id == last_escape_glyph_face_id) it 8034 src/xdisp.c face_id = merge_faces (it->w, Qescape_glyph, 0, it->face_id); it 8035 src/xdisp.c last_escape_glyph_frame = it->f; it 8036 src/xdisp.c last_escape_glyph_face_id = it->face_id; it 8049 src/xdisp.c merge_glyphless_glyph_face (struct it *it) it 8053 src/xdisp.c if (it->f == last_glyphless_glyph_frame it 8054 src/xdisp.c && it->face_id == last_glyphless_glyph_face_id) it 8059 src/xdisp.c face_id = merge_faces (it->w, Qglyphless_char, 0, it->face_id); it 8060 src/xdisp.c last_glyphless_glyph_frame = it->f; it 8061 src/xdisp.c last_glyphless_glyph_face_id = it->face_id; it 8084 src/xdisp.c get_next_display_element (struct it *it) it 8093 src/xdisp.c success_p = GET_NEXT_DISPLAY_ELEMENT (it); it 8095 src/xdisp.c if (it->what == IT_CHARACTER) it 8102 src/xdisp.c if (it->bidi_p && it->bidi_it.type == STRONG_R it 8104 src/xdisp.c it->c = bidi_mirror_char (it->c); it 8114 src/xdisp.c if (success_p && it->dpvec == NULL) it 8120 src/xdisp.c int c = it->c; /* This is the character to display. */ it 8122 src/xdisp.c if (! it->multibyte_p && ! ASCII_CHAR_P (c)) it 8129 src/xdisp.c c = BYTE8_TO_CHAR (it->c); it 8132 src/xdisp.c c = BYTE8_TO_CHAR (it->c); it 8135 src/xdisp.c if (it->dp it 8136 src/xdisp.c && (dv = DISP_CHAR_VECTOR (it->dp, c), it 8146 src/xdisp.c it->dpvec_char_len = it->len; it 8147 src/xdisp.c it->dpvec = v->contents; it 8148 src/xdisp.c it->dpend = v->contents + v->header.size; it 8149 src/xdisp.c it->current.dpvec_index = 0; it 8150 src/xdisp.c it->dpvec_face_id = -1; it 8151 src/xdisp.c it->saved_face_id = it->face_id; it 8152 src/xdisp.c it->method = GET_FROM_DISPLAY_VECTOR; it 8153 src/xdisp.c it->ellipsis_p = false; it 8157 src/xdisp.c set_iterator_to_next (it, false); it 8162 src/xdisp.c if (! NILP (lookup_glyphless_char_display (c, it))) it 8164 src/xdisp.c if (it->what == IT_GLYPHLESS) it 8167 src/xdisp.c set_iterator_to_next (it, false); it 8194 src/xdisp.c ? (it->area != TEXT_AREA it 8197 src/xdisp.c && it->glyph_row it 8198 src/xdisp.c && (it->glyph_row->mode_line_p || it->avoid_cursor_p)) it 8219 src/xdisp.c if (ASCII_CHAR_P (c) && it->ctl_arrow_p) it 8225 src/xdisp.c if (it->dp it 8226 src/xdisp.c && (gc = DISP_CTRL_GLYPH (it->dp), GLYPH_CODE_P (gc))) it 8233 src/xdisp.c ? merge_faces (it->w, Qt, lface_id, it->face_id) it 8234 src/xdisp.c : merge_escape_glyph_face (it)); it 8236 src/xdisp.c XSETINT (it->ctl_chars[0], g); it 8237 src/xdisp.c XSETINT (it->ctl_chars[1], c ^ 0100); it 8248 src/xdisp.c face_id = merge_faces (it->w, Qnobreak_space, 0, it 8249 src/xdisp.c it->face_id); it 8250 src/xdisp.c XSETINT (it->ctl_chars[0], it 8251 src/xdisp.c nobreak_char_ascii_display ? ' ' : it->c); it 8262 src/xdisp.c face_id = merge_faces (it->w, Qnobreak_hyphen, 0, it 8263 src/xdisp.c it->face_id); it 8264 src/xdisp.c XSETINT (it->ctl_chars[0], it 8265 src/xdisp.c nobreak_char_ascii_display ? '-' : it->c); it 8275 src/xdisp.c if (it->dp it 8276 src/xdisp.c && (gc = DISP_ESCAPE_GLYPH (it->dp), GLYPH_CODE_P (gc))) it 8283 src/xdisp.c ? merge_faces (it->w, Qt, lface_id, it->face_id) it 8284 src/xdisp.c : merge_escape_glyph_face (it)); it 8290 src/xdisp.c XSETINT (it->ctl_chars[0], escape_glyph); it 8291 src/xdisp.c XSETINT (it->ctl_chars[1], nonascii_space_p ? ' ' : '-'); it 8308 src/xdisp.c XSETINT (it->ctl_chars[0], escape_glyph); it 8310 src/xdisp.c XSETINT (it->ctl_chars[i + 1], str[i]); it 8316 src/xdisp.c it->dpvec_char_len = it->len; it 8317 src/xdisp.c it->dpvec = it->ctl_chars; it 8318 src/xdisp.c it->dpend = it->dpvec + ctl_len; it 8319 src/xdisp.c it->current.dpvec_index = 0; it 8320 src/xdisp.c it->dpvec_face_id = face_id; it 8321 src/xdisp.c it->saved_face_id = it->face_id; it 8322 src/xdisp.c it->method = GET_FROM_DISPLAY_VECTOR; it 8323 src/xdisp.c it->ellipsis_p = false; it 8326 src/xdisp.c it->char_to_display = c; it 8330 src/xdisp.c it->char_to_display = it->c; it 8337 src/xdisp.c if ((it->what == IT_CHARACTER || it->what == IT_COMPOSITION) it 8338 src/xdisp.c && it->multibyte_p it 8340 src/xdisp.c && FRAME_WINDOW_P (it->f)) it 8342 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); it 8344 src/xdisp.c if (it->what == IT_COMPOSITION && it->cmp_it.ch >= 0) it 8347 src/xdisp.c Lisp_Object gstring = composition_gstring_from_id (it->cmp_it.id); it 8349 src/xdisp.c it->face_id = face_for_font (it->f, LGSTRING_FONT (gstring), face); it 8353 src/xdisp.c ptrdiff_t pos = (it->s ? -1 it 8354 src/xdisp.c : STRINGP (it->string) ? IT_STRING_CHARPOS (*it) it 8355 src/xdisp.c : IT_CHARPOS (*it)); it 8358 src/xdisp.c if (it->what == IT_CHARACTER) it 8359 src/xdisp.c c = it->char_to_display; it 8362 src/xdisp.c struct composition *cmp = composition_table[it->cmp_it.id]; it 8372 src/xdisp.c it->face_id = FACE_FOR_CHAR (it->f, face, c, pos, it->string); it 8380 src/xdisp.c if (it->face_box_p it 8381 src/xdisp.c && it->s == NULL) it 8383 src/xdisp.c if (it->method == GET_FROM_STRING && it->sp) it 8385 src/xdisp.c int face_id = underlying_face_id (it); it 8386 src/xdisp.c struct face *face = FACE_FROM_ID_OR_NULL (it->f, face_id); it 8394 src/xdisp.c int string_face_id = face_after_it_pos (it); it 8395 src/xdisp.c if (FACE_FROM_ID (it->f, string_face_id)->box == FACE_NO_BOX) it 8396 src/xdisp.c it->end_of_box_run_p = true; it 8401 src/xdisp.c else if (((IT_STRING_CHARPOS (*it) >= SCHARS (it->string) - 1) it 8405 src/xdisp.c || (it->what == IT_COMPOSITION it 8406 src/xdisp.c && (IT_STRING_CHARPOS (*it) + it->cmp_it.nchars it 8407 src/xdisp.c >= SCHARS (it->string)))) it 8410 src/xdisp.c && ((it->current.overlay_string_index >= 0 it 8411 src/xdisp.c && (it->current.overlay_string_index it 8412 src/xdisp.c == it->n_overlay_strings - 1)) it 8414 src/xdisp.c || it->from_disp_prop_p)) it 8421 src/xdisp.c struct text_pos pos = it->current.pos; it 8433 src/xdisp.c if (it->from_disp_prop_p) it 8435 src/xdisp.c int stackp = it->sp - 1; it 8439 src/xdisp.c && STRINGP ((it->stack + stackp)->string)) it 8450 src/xdisp.c pos = it->stack[it->sp - 1].position; it 8453 src/xdisp.c pos = (it->stack + stackp)->position; it 8456 src/xdisp.c INC_TEXT_POS (pos, it->multibyte_p); it 8460 src/xdisp.c Lisp_Object base_string = it->stack[it->sp - 1].string; it 8463 src/xdisp.c it->end_of_box_run_p = true; it 8467 src/xdisp.c = face_at_string_position (it->w, base_string, it 8471 src/xdisp.c if (FACE_FROM_ID (it->f, next_face_id)->box it 8473 src/xdisp.c it->end_of_box_run_p = true; it 8477 src/xdisp.c it->end_of_box_run_p = true; it 8481 src/xdisp.c face_at_buffer_position (it->w, CHARPOS (pos), it 8486 src/xdisp.c if (FACE_FROM_ID (it->f, next_face_id)->box it 8488 src/xdisp.c it->end_of_box_run_p = true; it 8495 src/xdisp.c else if (it->method != GET_FROM_DISPLAY_VECTOR) it 8497 src/xdisp.c int face_id = face_after_it_pos (it); it 8498 src/xdisp.c if (face_id != it->face_id it 8499 src/xdisp.c && FACE_FROM_ID (it->f, face_id)->box == FACE_NO_BOX) it 8500 src/xdisp.c it->end_of_box_run_p = true; it 8508 src/xdisp.c if (!success_p && it->sp > 0) it 8510 src/xdisp.c set_iterator_to_next (it, false); it 8511 src/xdisp.c success_p = get_next_display_element (it); it 8535 src/xdisp.c set_iterator_to_next (struct it *it, bool reseat_p) it 8539 src/xdisp.c update_redisplay_ticks (1, it->w); it 8541 src/xdisp.c switch (it->method) it 8547 src/xdisp.c if (ITERATOR_AT_END_OF_LINE_P (it) && reseat_p) it 8548 src/xdisp.c reseat_at_next_visible_line_start (it, false); it 8549 src/xdisp.c else if (it->cmp_it.id >= 0) it 8552 src/xdisp.c if (! it->bidi_p) it 8554 src/xdisp.c IT_CHARPOS (*it) += it->cmp_it.nchars; it 8555 src/xdisp.c IT_BYTEPOS (*it) += it->cmp_it.nbytes; it 8564 src/xdisp.c for (i = 0; i < it->cmp_it.nchars; i++) it 8565 src/xdisp.c bidi_move_to_visually_next (&it->bidi_it); it 8566 src/xdisp.c IT_BYTEPOS (*it) = it->bidi_it.bytepos; it 8567 src/xdisp.c IT_CHARPOS (*it) = it->bidi_it.charpos; it 8570 src/xdisp.c if ((! it->bidi_p || ! it->cmp_it.reversed_p) it 8571 src/xdisp.c && it->cmp_it.to < it->cmp_it.nglyphs) it 8575 src/xdisp.c it->cmp_it.from = it->cmp_it.to; it 8577 src/xdisp.c else if ((it->bidi_p && it->cmp_it.reversed_p) it 8578 src/xdisp.c && it->cmp_it.from > 0) it 8582 src/xdisp.c it->cmp_it.to = it->cmp_it.from; it 8588 src/xdisp.c ptrdiff_t stop = it->end_charpos; it 8590 src/xdisp.c if (it->bidi_it.scan_dir < 0) it 8594 src/xdisp.c composition_compute_stop_pos (&it->cmp_it, IT_CHARPOS (*it), it 8595 src/xdisp.c IT_BYTEPOS (*it), stop, Qnil, true); it 8600 src/xdisp.c eassert (it->len != 0); it 8602 src/xdisp.c if (!it->bidi_p) it 8604 src/xdisp.c IT_BYTEPOS (*it) += it->len; it 8605 src/xdisp.c IT_CHARPOS (*it) += 1; it 8609 src/xdisp.c int prev_scan_dir = it->bidi_it.scan_dir; it 8612 src/xdisp.c if (it->bidi_it.new_paragraph) it 8613 src/xdisp.c bidi_paragraph_init (it->paragraph_embedding, &it->bidi_it, it 8615 src/xdisp.c bidi_move_to_visually_next (&it->bidi_it); it 8616 src/xdisp.c IT_BYTEPOS (*it) = it->bidi_it.bytepos; it 8617 src/xdisp.c IT_CHARPOS (*it) = it->bidi_it.charpos; it 8618 src/xdisp.c if (prev_scan_dir != it->bidi_it.scan_dir) it 8622 src/xdisp.c ptrdiff_t stop = it->end_charpos; it 8623 src/xdisp.c if (it->bidi_it.scan_dir < 0) it 8625 src/xdisp.c composition_compute_stop_pos (&it->cmp_it, IT_CHARPOS (*it), it 8626 src/xdisp.c IT_BYTEPOS (*it), stop, Qnil, it 8630 src/xdisp.c eassert (IT_BYTEPOS (*it) == CHAR_TO_BYTE (IT_CHARPOS (*it))); it 8636 src/xdisp.c if (!it->bidi_p it 8641 src/xdisp.c || IT_CHARPOS (*it) >= it->bidi_it.string.schars) it 8643 src/xdisp.c IT_BYTEPOS (*it) += it->len; it 8644 src/xdisp.c IT_CHARPOS (*it) += 1; it 8648 src/xdisp.c bidi_move_to_visually_next (&it->bidi_it); it 8649 src/xdisp.c IT_BYTEPOS (*it) = it->bidi_it.bytepos; it 8650 src/xdisp.c IT_CHARPOS (*it) = it->bidi_it.charpos; it 8659 src/xdisp.c ++it->current.dpvec_index; it 8663 src/xdisp.c it->face_id = it->saved_face_id; it 8665 src/xdisp.c if (it->dpvec + it->current.dpvec_index >= it->dpend) it 8667 src/xdisp.c bool recheck_faces = it->ellipsis_p; it 8669 src/xdisp.c if (it->s) it 8670 src/xdisp.c it->method = GET_FROM_C_STRING; it 8671 src/xdisp.c else if (STRINGP (it->string)) it 8672 src/xdisp.c it->method = GET_FROM_STRING; it 8675 src/xdisp.c it->method = GET_FROM_BUFFER; it 8676 src/xdisp.c it->object = it->w->contents; it 8679 src/xdisp.c it->dpvec = NULL; it 8680 src/xdisp.c it->current.dpvec_index = -1; it 8683 src/xdisp.c if (it->dpvec_char_len < 0) it 8684 src/xdisp.c reseat_at_next_visible_line_start (it, true); it 8685 src/xdisp.c else if (it->dpvec_char_len > 0) it 8687 src/xdisp.c it->len = it->dpvec_char_len; it 8688 src/xdisp.c set_iterator_to_next (it, reseat_p); it 8694 src/xdisp.c if (it->method == GET_FROM_STRING) it 8695 src/xdisp.c it->stop_charpos = IT_STRING_CHARPOS (*it); it 8697 src/xdisp.c it->stop_charpos = IT_CHARPOS (*it); it 8704 src/xdisp.c eassert (it->s == NULL && STRINGP (it->string)); it 8710 src/xdisp.c if (it->current.overlay_string_index >= 0) it 8715 src/xdisp.c if (IT_STRING_CHARPOS (*it) >= SCHARS (it->string)) it 8722 src/xdisp.c if (IT_STRING_CHARPOS (*it) >= it->end_charpos) it 8725 src/xdisp.c if (it->cmp_it.id >= 0) it 8730 src/xdisp.c if (! it->bidi_p) it 8732 src/xdisp.c IT_STRING_CHARPOS (*it) += it->cmp_it.nchars; it 8733 src/xdisp.c IT_STRING_BYTEPOS (*it) += it->cmp_it.nbytes; it 8739 src/xdisp.c for (i = 0; i < it->cmp_it.nchars; i++) it 8740 src/xdisp.c bidi_move_to_visually_next (&it->bidi_it); it 8741 src/xdisp.c IT_STRING_BYTEPOS (*it) = it->bidi_it.bytepos; it 8742 src/xdisp.c IT_STRING_CHARPOS (*it) = it->bidi_it.charpos; it 8747 src/xdisp.c if ((! it->bidi_p || ! it->cmp_it.reversed_p) it 8748 src/xdisp.c && (it->cmp_it.to < it->cmp_it.nglyphs)) it 8752 src/xdisp.c it->cmp_it.from = it->cmp_it.to; it 8754 src/xdisp.c else if ((it->bidi_p && it->cmp_it.reversed_p) it 8755 src/xdisp.c && it->cmp_it.from > 0) it 8759 src/xdisp.c it->cmp_it.to = it->cmp_it.from; it 8769 src/xdisp.c ptrdiff_t stop = SCHARS (it->string); it 8771 src/xdisp.c if (it->bidi_p && it->bidi_it.scan_dir < 0) it 8773 src/xdisp.c else if (it->end_charpos < stop) it 8778 src/xdisp.c stop = it->end_charpos; it 8780 src/xdisp.c composition_compute_stop_pos (&it->cmp_it, it 8781 src/xdisp.c IT_STRING_CHARPOS (*it), it 8782 src/xdisp.c IT_STRING_BYTEPOS (*it), stop, it 8783 src/xdisp.c it->string, true); it 8788 src/xdisp.c if (!it->bidi_p it 8794 src/xdisp.c || IT_STRING_CHARPOS (*it) >= it->bidi_it.string.schars) it 8796 src/xdisp.c IT_STRING_BYTEPOS (*it) += it->len; it 8797 src/xdisp.c IT_STRING_CHARPOS (*it) += 1; it 8801 src/xdisp.c int prev_scan_dir = it->bidi_it.scan_dir; it 8803 src/xdisp.c bidi_move_to_visually_next (&it->bidi_it); it 8804 src/xdisp.c IT_STRING_BYTEPOS (*it) = it->bidi_it.bytepos; it 8805 src/xdisp.c IT_STRING_CHARPOS (*it) = it->bidi_it.charpos; it 8808 src/xdisp.c if (prev_scan_dir != it->bidi_it.scan_dir) it 8810 src/xdisp.c ptrdiff_t stop = SCHARS (it->string); it 8812 src/xdisp.c if (it->bidi_it.scan_dir < 0) it 8814 src/xdisp.c else if (it->end_charpos < stop) it 8815 src/xdisp.c stop = it->end_charpos; it 8817 src/xdisp.c composition_compute_stop_pos (&it->cmp_it, it 8818 src/xdisp.c IT_STRING_CHARPOS (*it), it 8819 src/xdisp.c IT_STRING_BYTEPOS (*it), stop, it 8820 src/xdisp.c it->string, true); it 8827 src/xdisp.c if (it->current.overlay_string_index >= 0) it 8831 src/xdisp.c if (IT_STRING_CHARPOS (*it) >= SCHARS (it->string)) it 8833 src/xdisp.c it->ellipsis_p = false; it 8834 src/xdisp.c next_overlay_string (it); it 8835 src/xdisp.c if (it->ellipsis_p) it 8836 src/xdisp.c setup_for_ellipsis (it, 0); it 8845 src/xdisp.c if (IT_STRING_CHARPOS (*it) == SCHARS (it->string) it 8846 src/xdisp.c && it->sp > 0) it 8848 src/xdisp.c pop_it (it); it 8849 src/xdisp.c if (it->method == GET_FROM_STRING) it 8862 src/xdisp.c eassert (it->sp > 0); it 8863 src/xdisp.c pop_it (it); it 8864 src/xdisp.c if (it->method == GET_FROM_STRING) it 8873 src/xdisp.c eassert (it->method != GET_FROM_STRING it 8874 src/xdisp.c || (STRINGP (it->string) it 8875 src/xdisp.c && IT_STRING_CHARPOS (*it) >= 0)); it 8888 src/xdisp.c next_element_from_display_vector (struct it *it) it 8891 src/xdisp.c int prev_face_id = it->face_id; it 8895 src/xdisp.c eassert (it->dpvec && it->current.dpvec_index >= 0); it 8897 src/xdisp.c it->face_id = it->saved_face_id; it 8901 src/xdisp.c if (it->dpend - it->dpvec > 0 /* empty dpvec[] is invalid */ it 8902 src/xdisp.c && (gc = it->dpvec[it->current.dpvec_index], GLYPH_CODE_P (gc))) it 8906 src/xdisp.c it->c = GLYPH_CODE_CHAR (gc); it 8907 src/xdisp.c it->len = CHAR_BYTES (it->c); it 8912 src/xdisp.c if (it->dpvec_face_id >= 0) it 8913 src/xdisp.c it->face_id = it->dpvec_face_id; it 8918 src/xdisp.c it->face_id = merge_faces (it->w, Qt, lface_id, it 8919 src/xdisp.c it->saved_face_id); it 8925 src/xdisp.c this_face = FACE_FROM_ID_OR_NULL (it->f, it->face_id); it 8926 src/xdisp.c prev_face = FACE_FROM_ID_OR_NULL (it->f, prev_face_id); it 8929 src/xdisp.c it->start_of_box_run_p = (this_face && this_face->box != FACE_NO_BOX it 8936 src/xdisp.c next_face_id = it->saved_face_id; it 8937 src/xdisp.c if (it->current.dpvec_index < it->dpend - it->dpvec - 1) it 8939 src/xdisp.c if (it->dpvec_face_id >= 0) it 8940 src/xdisp.c next_face_id = it->dpvec_face_id; it 8943 src/xdisp.c Lisp_Object gc = it->dpvec[it->current.dpvec_index + 1]; it 8947 src/xdisp.c next_face_id = merge_faces (it->w, Qt, lface_id, it 8948 src/xdisp.c it->saved_face_id); it 8951 src/xdisp.c next_face = FACE_FROM_ID_OR_NULL (it->f, next_face_id); it 8954 src/xdisp.c it->end_of_box_run_p = true; it 8955 src/xdisp.c it->face_box_p = this_face && this_face->box != FACE_NO_BOX; it 8959 src/xdisp.c it->c = ' ', it->len = 1; it 8964 src/xdisp.c it->what = IT_CHARACTER; it 8971 src/xdisp.c get_visually_first_element (struct it *it) it 8973 src/xdisp.c bool string_p = STRINGP (it->string) || it->s; it 8974 src/xdisp.c ptrdiff_t eob = (string_p ? it->bidi_it.string.schars : ZV); it 8978 src/xdisp.c SET_WITH_NARROWED_BEGV (it, bob, it 8980 src/xdisp.c IT_CHARPOS (*it) < BEGV ? obegv : BEGV, it 8981 src/xdisp.c it->medium_narrowing_begv); it 8983 src/xdisp.c if (STRINGP (it->string)) it 8985 src/xdisp.c it->bidi_it.charpos = IT_STRING_CHARPOS (*it); it 8986 src/xdisp.c it->bidi_it.bytepos = IT_STRING_BYTEPOS (*it); it 8990 src/xdisp.c it->bidi_it.charpos = IT_CHARPOS (*it); it 8991 src/xdisp.c it->bidi_it.bytepos = IT_BYTEPOS (*it); it 8994 src/xdisp.c if (it->bidi_it.charpos == eob) it 8999 src/xdisp.c it->bidi_it.first_elt = false; it 9001 src/xdisp.c else if (it->bidi_it.charpos == bob it 9003 src/xdisp.c && (FETCH_BYTE (it->bidi_it.bytepos - 1) == '\n' it 9004 src/xdisp.c || FETCH_BYTE (it->bidi_it.bytepos) == '\n'))) it 9008 src/xdisp.c bidi_paragraph_init (it->paragraph_embedding, &it->bidi_it, true); it 9009 src/xdisp.c bidi_move_to_visually_next (&it->bidi_it); it 9013 src/xdisp.c ptrdiff_t orig_bytepos = it->bidi_it.bytepos; it 9019 src/xdisp.c it->bidi_it.charpos = it->bidi_it.bytepos = 0; it 9021 src/xdisp.c SET_WITH_NARROWED_BEGV (it, it->bidi_it.charpos, it 9022 src/xdisp.c find_newline_no_quit (IT_CHARPOS (*it), it 9023 src/xdisp.c IT_BYTEPOS (*it), -1, it 9024 src/xdisp.c &it->bidi_it.bytepos), it 9025 src/xdisp.c it->medium_narrowing_begv); it 9026 src/xdisp.c bidi_paragraph_init (it->paragraph_embedding, &it->bidi_it, true); it 9031 src/xdisp.c bidi_move_to_visually_next (&it->bidi_it); it 9033 src/xdisp.c while (it->bidi_it.bytepos != orig_bytepos it 9034 src/xdisp.c && it->bidi_it.charpos < eob); it 9038 src/xdisp.c if (STRINGP (it->string)) it 9040 src/xdisp.c IT_STRING_CHARPOS (*it) = it->bidi_it.charpos; it 9041 src/xdisp.c IT_STRING_BYTEPOS (*it) = it->bidi_it.bytepos; it 9045 src/xdisp.c IT_CHARPOS (*it) = it->bidi_it.charpos; it 9046 src/xdisp.c IT_BYTEPOS (*it) = it->bidi_it.bytepos; it 9049 src/xdisp.c if (STRINGP (it->string) || !it->s) it 9053 src/xdisp.c if (STRINGP (it->string)) it 9055 src/xdisp.c eassert (!it->s); it 9056 src/xdisp.c stop = SCHARS (it->string); it 9057 src/xdisp.c if (stop > it->end_charpos) it 9058 src/xdisp.c stop = it->end_charpos; it 9059 src/xdisp.c charpos = IT_STRING_CHARPOS (*it); it 9060 src/xdisp.c bytepos = IT_STRING_BYTEPOS (*it); it 9064 src/xdisp.c stop = it->end_charpos; it 9065 src/xdisp.c charpos = IT_CHARPOS (*it); it 9066 src/xdisp.c bytepos = IT_BYTEPOS (*it); it 9068 src/xdisp.c if (it->bidi_it.scan_dir < 0) it 9070 src/xdisp.c composition_compute_stop_pos (&it->cmp_it, charpos, bytepos, stop, it 9071 src/xdisp.c it->string, true); it 9081 src/xdisp.c next_element_from_string (struct it *it) it 9085 src/xdisp.c eassert (STRINGP (it->string)); it 9086 src/xdisp.c eassert (!it->bidi_p || EQ (it->string, it->bidi_it.string.lstring)); it 9087 src/xdisp.c eassert (IT_STRING_CHARPOS (*it) >= 0); it 9088 src/xdisp.c position = it->current.string_pos; it 9094 src/xdisp.c if (it->bidi_p && it->bidi_it.first_elt) it 9096 src/xdisp.c get_visually_first_element (it); it 9097 src/xdisp.c SET_TEXT_POS (position, IT_STRING_CHARPOS (*it), IT_STRING_BYTEPOS (*it)); it 9101 src/xdisp.c if (IT_STRING_CHARPOS (*it) < it->end_charpos) it 9103 src/xdisp.c if (IT_STRING_CHARPOS (*it) >= it->stop_charpos) it 9105 src/xdisp.c if (!(!it->bidi_p it 9106 src/xdisp.c || BIDI_AT_BASE_LEVEL (it->bidi_it) it 9107 src/xdisp.c || IT_STRING_CHARPOS (*it) == it->stop_charpos)) it 9115 src/xdisp.c handle_stop_backwards (it, it->stop_charpos); it 9116 src/xdisp.c return GET_NEXT_DISPLAY_ELEMENT (it); it 9120 src/xdisp.c if (it->bidi_p) it 9124 src/xdisp.c it->prev_stop = it->stop_charpos; it 9128 src/xdisp.c if (BIDI_AT_BASE_LEVEL (it->bidi_it)) it 9129 src/xdisp.c it->base_level_stop = it->stop_charpos; it 9131 src/xdisp.c handle_stop (it); it 9135 src/xdisp.c return GET_NEXT_DISPLAY_ELEMENT (it); it 9138 src/xdisp.c else if (it->bidi_p it 9142 src/xdisp.c && IT_STRING_CHARPOS (*it) < it->prev_stop it 9147 src/xdisp.c && !BIDI_AT_BASE_LEVEL (it->bidi_it)) it 9153 src/xdisp.c if (it->base_level_stop <= 0 it 9154 src/xdisp.c || IT_STRING_CHARPOS (*it) < it->base_level_stop) it 9155 src/xdisp.c it->base_level_stop = 0; it 9156 src/xdisp.c handle_stop_backwards (it, it->base_level_stop); it 9157 src/xdisp.c return GET_NEXT_DISPLAY_ELEMENT (it); it 9161 src/xdisp.c if (it->current.overlay_string_index >= 0) it 9166 src/xdisp.c if (IT_STRING_CHARPOS (*it) >= SCHARS (it->string)) it 9168 src/xdisp.c it->what = IT_EOB; it 9171 src/xdisp.c else if (CHAR_COMPOSED_P (it, IT_STRING_CHARPOS (*it), it 9172 src/xdisp.c IT_STRING_BYTEPOS (*it), it 9173 src/xdisp.c it->bidi_it.scan_dir < 0 it 9175 src/xdisp.c : SCHARS (it->string)) it 9176 src/xdisp.c && next_element_from_composition (it)) it 9180 src/xdisp.c else if (STRING_MULTIBYTE (it->string)) it 9182 src/xdisp.c const unsigned char *s = (SDATA (it->string) it 9183 src/xdisp.c + IT_STRING_BYTEPOS (*it)); it 9184 src/xdisp.c it->c = check_char_and_length (s, &it->len); it 9188 src/xdisp.c it->c = SREF (it->string, IT_STRING_BYTEPOS (*it)); it 9189 src/xdisp.c it->len = 1; it 9198 src/xdisp.c if (IT_STRING_CHARPOS (*it) >= it->end_charpos) it 9200 src/xdisp.c it->what = IT_EOB; it 9203 src/xdisp.c else if (IT_STRING_CHARPOS (*it) >= it->string_nchars) it 9206 src/xdisp.c it->c = ' ', it->len = 1; it 9209 src/xdisp.c else if (CHAR_COMPOSED_P (it, IT_STRING_CHARPOS (*it), it 9210 src/xdisp.c IT_STRING_BYTEPOS (*it), it 9211 src/xdisp.c it->bidi_it.scan_dir < 0 it 9213 src/xdisp.c : it->string_nchars) it 9214 src/xdisp.c && next_element_from_composition (it)) it 9218 src/xdisp.c else if (STRING_MULTIBYTE (it->string)) it 9220 src/xdisp.c const unsigned char *s = (SDATA (it->string) it 9221 src/xdisp.c + IT_STRING_BYTEPOS (*it)); it 9222 src/xdisp.c it->c = check_char_and_length (s, &it->len); it 9226 src/xdisp.c it->c = SREF (it->string, IT_STRING_BYTEPOS (*it)); it 9227 src/xdisp.c it->len = 1; it 9232 src/xdisp.c it->what = IT_CHARACTER; it 9233 src/xdisp.c it->object = it->string; it 9234 src/xdisp.c it->position = position; it 9247 src/xdisp.c next_element_from_c_string (struct it *it) it 9251 src/xdisp.c eassert (it->s); it 9252 src/xdisp.c eassert (!it->bidi_p || it->s == it->bidi_it.string.s); it 9253 src/xdisp.c it->what = IT_CHARACTER; it 9254 src/xdisp.c BYTEPOS (it->position) = CHARPOS (it->position) = 0; it 9255 src/xdisp.c it->object = make_fixnum (0); it 9261 src/xdisp.c if (it->bidi_p && it->bidi_it.first_elt) it 9262 src/xdisp.c get_visually_first_element (it); it 9267 src/xdisp.c if (IT_CHARPOS (*it) >= it->end_charpos) it 9270 src/xdisp.c it->what = IT_EOB; it 9273 src/xdisp.c else if (IT_CHARPOS (*it) >= it->string_nchars) it 9276 src/xdisp.c it->c = ' ', it->len = 1; it 9277 src/xdisp.c BYTEPOS (it->position) = CHARPOS (it->position) = -1; it 9279 src/xdisp.c else if (it->multibyte_p) it 9280 src/xdisp.c it->c = check_char_and_length (it->s + IT_BYTEPOS (*it), &it->len); it 9282 src/xdisp.c it->c = it->s[IT_BYTEPOS (*it)], it->len = 1; it 9294 src/xdisp.c next_element_from_ellipsis (struct it *it) it 9296 src/xdisp.c if (it->selective_display_ellipsis_p) it 9297 src/xdisp.c setup_for_ellipsis (it, it->len); it 9304 src/xdisp.c it->saved_face_id = it->face_id; it 9305 src/xdisp.c it->method = GET_FROM_BUFFER; it 9306 src/xdisp.c it->object = it->w->contents; it 9307 src/xdisp.c reseat_at_next_visible_line_start (it, true); it 9308 src/xdisp.c it->face_before_selective_p = true; it 9311 src/xdisp.c return GET_NEXT_DISPLAY_ELEMENT (it); it 9321 src/xdisp.c next_element_from_image (struct it *it) it 9323 src/xdisp.c it->what = IT_IMAGE; it 9328 src/xdisp.c next_element_from_xwidget (struct it *it) it 9330 src/xdisp.c it->what = IT_XWIDGET; it 9340 src/xdisp.c next_element_from_stretch (struct it *it) it 9342 src/xdisp.c it->what = IT_STRETCH; it 9352 src/xdisp.c compute_stop_pos_backwards (struct it *it) it 9356 src/xdisp.c struct display_pos save_current = it->current; it 9357 src/xdisp.c struct text_pos save_position = it->position; it 9358 src/xdisp.c ptrdiff_t charpos = IT_CHARPOS (*it); it 9360 src/xdisp.c ptrdiff_t save_stop_pos = it->stop_charpos; it 9361 src/xdisp.c ptrdiff_t save_end_pos = it->end_charpos; it 9363 src/xdisp.c eassert (NILP (it->string) && !it->s); it 9364 src/xdisp.c eassert (it->bidi_p); it 9365 src/xdisp.c it->bidi_p = false; it 9368 src/xdisp.c it->end_charpos = min (charpos + 1, ZV); it 9371 src/xdisp.c reseat_1 (it, pos, false); it 9372 src/xdisp.c compute_stop_pos (it); it 9374 src/xdisp.c if (it->stop_charpos <= charpos) it 9377 src/xdisp.c while (charpos > BEGV && it->stop_charpos >= it->end_charpos); it 9379 src/xdisp.c if (it->stop_charpos <= where_we_are) it 9380 src/xdisp.c it->prev_stop = it->stop_charpos; it 9382 src/xdisp.c it->prev_stop = BEGV; it 9383 src/xdisp.c it->bidi_p = true; it 9384 src/xdisp.c it->current = save_current; it 9385 src/xdisp.c it->position = save_position; it 9386 src/xdisp.c it->stop_charpos = save_stop_pos; it 9387 src/xdisp.c it->end_charpos = save_end_pos; it 9399 src/xdisp.c handle_stop_backwards (struct it *it, ptrdiff_t charpos) it 9401 src/xdisp.c bool bufp = !STRINGP (it->string); it 9402 src/xdisp.c ptrdiff_t where_we_are = (bufp ? IT_CHARPOS (*it) : IT_STRING_CHARPOS (*it)); it 9403 src/xdisp.c struct display_pos save_current = it->current; it 9404 src/xdisp.c struct text_pos save_position = it->position; it 9405 src/xdisp.c struct composition_it save_cmp_it = it->cmp_it; it 9410 src/xdisp.c eassert (it->bidi_p); it 9411 src/xdisp.c it->bidi_p = false; it 9414 src/xdisp.c it->prev_stop = charpos; it 9418 src/xdisp.c reseat_1 (it, pos1, false); it 9421 src/xdisp.c it->current.string_pos = string_pos (charpos, it->string); it 9422 src/xdisp.c compute_stop_pos (it); it 9424 src/xdisp.c if (it->stop_charpos <= it->prev_stop) it 9426 src/xdisp.c charpos = it->stop_charpos; it 9430 src/xdisp.c it->bidi_p = true; it 9431 src/xdisp.c it->current = save_current; it 9432 src/xdisp.c it->position = save_position; it 9433 src/xdisp.c it->cmp_it = save_cmp_it; it 9434 src/xdisp.c next_stop = it->stop_charpos; it 9435 src/xdisp.c it->stop_charpos = it->prev_stop; it 9436 src/xdisp.c handle_stop (it); it 9437 src/xdisp.c it->stop_charpos = next_stop; it 9446 src/xdisp.c next_element_from_buffer (struct it *it) it 9450 src/xdisp.c eassert (IT_CHARPOS (*it) >= BEGV); it 9451 src/xdisp.c eassert (NILP (it->string) && !it->s); it 9452 src/xdisp.c eassert (!it->bidi_p it 9453 src/xdisp.c || (NILP (it->bidi_it.string.lstring) it 9454 src/xdisp.c && it->bidi_it.string.s == NULL)); it 9460 src/xdisp.c if (it->bidi_p && it->bidi_it.first_elt) it 9462 src/xdisp.c get_visually_first_element (it); it 9463 src/xdisp.c SET_TEXT_POS (it->position, IT_CHARPOS (*it), IT_BYTEPOS (*it)); it 9466 src/xdisp.c if (IT_CHARPOS (*it) >= it->stop_charpos) it 9468 src/xdisp.c if (IT_CHARPOS (*it) >= it->end_charpos) it 9474 src/xdisp.c if (it->overlay_strings_at_end_processed_p) it 9478 src/xdisp.c it->overlay_strings_at_end_processed_p = true; it 9479 src/xdisp.c overlay_strings_follow_p = get_overlay_strings (it, 0); it 9483 src/xdisp.c success_p = GET_NEXT_DISPLAY_ELEMENT (it); it 9486 src/xdisp.c it->what = IT_EOB; it 9487 src/xdisp.c it->position = it->current.pos; it 9491 src/xdisp.c else if (!(!it->bidi_p it 9492 src/xdisp.c || BIDI_AT_BASE_LEVEL (it->bidi_it) it 9493 src/xdisp.c || IT_CHARPOS (*it) == it->stop_charpos)) it 9501 src/xdisp.c handle_stop_backwards (it, it->stop_charpos); it 9502 src/xdisp.c it->ignore_overlay_strings_at_pos_p = false; it 9503 src/xdisp.c return GET_NEXT_DISPLAY_ELEMENT (it); it 9507 src/xdisp.c if (it->bidi_p) it 9511 src/xdisp.c it->prev_stop = it->stop_charpos; it 9515 src/xdisp.c if (BIDI_AT_BASE_LEVEL (it->bidi_it)) it 9516 src/xdisp.c it->base_level_stop = it->stop_charpos; it 9518 src/xdisp.c handle_stop (it); it 9519 src/xdisp.c it->ignore_overlay_strings_at_pos_p = false; it 9520 src/xdisp.c return GET_NEXT_DISPLAY_ELEMENT (it); it 9523 src/xdisp.c else if (it->bidi_p it 9527 src/xdisp.c && IT_CHARPOS (*it) < it->prev_stop it 9532 src/xdisp.c && !BIDI_AT_BASE_LEVEL (it->bidi_it)) it 9534 src/xdisp.c if (it->base_level_stop <= 0 it 9535 src/xdisp.c || IT_CHARPOS (*it) < it->base_level_stop) it 9541 src/xdisp.c it->base_level_stop = BEGV; it 9542 src/xdisp.c compute_stop_pos_backwards (it); it 9543 src/xdisp.c handle_stop_backwards (it, it->prev_stop); it 9546 src/xdisp.c handle_stop_backwards (it, it->base_level_stop); it 9547 src/xdisp.c it->ignore_overlay_strings_at_pos_p = false; it 9548 src/xdisp.c return GET_NEXT_DISPLAY_ELEMENT (it); it 9559 src/xdisp.c it->ignore_overlay_strings_at_pos_p = false; it 9566 src/xdisp.c if (it->bidi_it.scan_dir < 0) it 9567 src/xdisp.c stop = (PT <= IT_CHARPOS (*it)) ? PT : -1; it 9569 src/xdisp.c stop = (IT_CHARPOS (*it) < PT it 9570 src/xdisp.c && PT < it->end_charpos) ? PT : it->end_charpos; it 9573 src/xdisp.c stop = it->bidi_it.scan_dir < 0 ? -1 : it->end_charpos; it 9574 src/xdisp.c if (CHAR_COMPOSED_P (it, IT_CHARPOS (*it), IT_BYTEPOS (*it), it 9576 src/xdisp.c && next_element_from_composition (it)) it 9582 src/xdisp.c p = BYTE_POS_ADDR (IT_BYTEPOS (*it)); it 9583 src/xdisp.c if (it->multibyte_p && !ASCII_CHAR_P (*p)) it 9584 src/xdisp.c it->c = string_char_and_length (p, &it->len); it 9586 src/xdisp.c it->c = *p, it->len = 1; it 9589 src/xdisp.c it->what = IT_CHARACTER; it 9590 src/xdisp.c it->object = it->w->contents; it 9591 src/xdisp.c it->position = it->current.pos; it 9595 src/xdisp.c if (it->selective) it 9597 src/xdisp.c if (it->c == '\n') it 9601 src/xdisp.c if (it->selective > 0 it 9602 src/xdisp.c && IT_CHARPOS (*it) + 1 < ZV it 9603 src/xdisp.c && indented_beyond_p (IT_CHARPOS (*it) + 1, it 9604 src/xdisp.c IT_BYTEPOS (*it) + 1, it 9605 src/xdisp.c it->selective)) it 9607 src/xdisp.c success_p = next_element_from_ellipsis (it); it 9608 src/xdisp.c it->dpvec_char_len = -1; it 9611 src/xdisp.c else if (it->c == '\r' && it->selective == -1) it 9616 src/xdisp.c success_p = next_element_from_ellipsis (it); it 9617 src/xdisp.c it->dpvec_char_len = -1; it 9623 src/xdisp.c eassert (!success_p || it->what != IT_CHARACTER || it->len > 0); it 9634 src/xdisp.c next_element_from_composition (struct it *it) it 9636 src/xdisp.c it->what = IT_COMPOSITION; it 9637 src/xdisp.c it->len = it->cmp_it.nbytes; it 9638 src/xdisp.c if (STRINGP (it->string)) it 9640 src/xdisp.c if (it->c < 0) it 9642 src/xdisp.c IT_STRING_CHARPOS (*it) += it->cmp_it.nchars; it 9643 src/xdisp.c IT_STRING_BYTEPOS (*it) += it->cmp_it.nbytes; it 9646 src/xdisp.c it->position = it->current.string_pos; it 9647 src/xdisp.c it->object = it->string; it 9648 src/xdisp.c it->c = composition_update_it (&it->cmp_it, IT_STRING_CHARPOS (*it), it 9649 src/xdisp.c IT_STRING_BYTEPOS (*it), it->string); it 9653 src/xdisp.c if (it->c < 0) it 9655 src/xdisp.c IT_CHARPOS (*it) += it->cmp_it.nchars; it 9656 src/xdisp.c IT_BYTEPOS (*it) += it->cmp_it.nbytes; it 9657 src/xdisp.c if (it->bidi_p) it 9659 src/xdisp.c if (it->bidi_it.new_paragraph) it 9660 src/xdisp.c bidi_paragraph_init (it->paragraph_embedding, &it->bidi_it, it 9664 src/xdisp.c while (it->bidi_it.charpos < IT_CHARPOS (*it)) it 9665 src/xdisp.c bidi_move_to_visually_next (&it->bidi_it); it 9669 src/xdisp.c it->position = it->current.pos; it 9670 src/xdisp.c it->object = it->w->contents; it 9671 src/xdisp.c it->c = composition_update_it (&it->cmp_it, IT_CHARPOS (*it), it 9672 src/xdisp.c IT_BYTEPOS (*it), Qnil); it 9686 src/xdisp.c #define IT_POS_VALID_AFTER_MOVE_P(it) \ it 9687 src/xdisp.c ((it)->method != GET_FROM_STRING || IT_STRING_CHARPOS (*it) == 0) it 9724 src/xdisp.c move_it_in_display_line_to (struct it *it, it 9730 src/xdisp.c struct it wrap_it, atpos_it, atx_it, ppos_it; it 9734 src/xdisp.c enum it_method prev_method = it->method; it 9736 src/xdisp.c ptrdiff_t prev_pos = IT_CHARPOS (*it); it 9741 src/xdisp.c saved_glyph_row = it->glyph_row; it 9742 src/xdisp.c it->glyph_row = NULL; it 9760 src/xdisp.c if (it->bidi_p) it 9762 src/xdisp.c if ((op & MOVE_TO_POS) && IT_CHARPOS (*it) >= to_charpos) it 9764 src/xdisp.c SAVE_IT (ppos_it, *it, ppos_data); it 9765 src/xdisp.c closest_pos = IT_CHARPOS (*it); it 9773 src/xdisp.c && BUFFERP (it->object) \ it 9774 src/xdisp.c && (IT_CHARPOS (*it) == to_charpos \ it 9775 src/xdisp.c || ((!it->bidi_p \ it 9776 src/xdisp.c || BIDI_AT_BASE_LEVEL (it->bidi_it)) \ it 9777 src/xdisp.c && IT_CHARPOS (*it) > to_charpos) \ it 9778 src/xdisp.c || (it->what == IT_COMPOSITION \ it 9779 src/xdisp.c && ((IT_CHARPOS (*it) > to_charpos \ it 9780 src/xdisp.c && to_charpos >= it->cmp_it.charpos) \ it 9781 src/xdisp.c || (IT_CHARPOS (*it) < to_charpos \ it 9782 src/xdisp.c && to_charpos <= it->cmp_it.charpos)))) \ it 9783 src/xdisp.c && (it->method == GET_FROM_BUFFER \ it 9784 src/xdisp.c || (it->method == GET_FROM_DISPLAY_VECTOR \ it 9785 src/xdisp.c && it->dpvec + it->current.dpvec_index + 1 >= it->dpend))) it 9787 src/xdisp.c if (it->hpos == 0) it 9793 src/xdisp.c if (!((op && MOVE_TO_X) && to_x == it->first_visible_x) it 9794 src/xdisp.c && should_produce_line_number (it)) it 9796 src/xdisp.c if (it->current_x == it->first_visible_x) it 9797 src/xdisp.c maybe_produce_line_number (it); it 9802 src/xdisp.c if (it->area == TEXT_AREA && !it->string_from_prefix_prop_p) it 9803 src/xdisp.c handle_line_prefix (it); it 9806 src/xdisp.c if (IT_CHARPOS (*it) < CHARPOS (this_line_min_pos)) it 9807 src/xdisp.c SET_TEXT_POS (this_line_min_pos, IT_CHARPOS (*it), IT_BYTEPOS (*it)); it 9821 src/xdisp.c && BUFFERP (it->object) it 9822 src/xdisp.c && it->method == GET_FROM_BUFFER it 9823 src/xdisp.c && (((!it->bidi_p it 9828 src/xdisp.c || BIDI_AT_BASE_LEVEL (it->bidi_it)) it 9829 src/xdisp.c && IT_CHARPOS (*it) > to_charpos) it 9830 src/xdisp.c || (it->bidi_p it 9836 src/xdisp.c && IT_CHARPOS (*it) >= to_charpos) it 9839 src/xdisp.c && IT_CHARPOS (*it) <= to_charpos))))) it 9841 src/xdisp.c if (it->line_wrap != WORD_WRAP || wrap_it.sp < 0) it 9846 src/xdisp.c else if (it->line_wrap == WORD_WRAP && atpos_it.sp < 0) it 9850 src/xdisp.c SAVE_IT (atpos_it, *it, atpos_data); it 9857 src/xdisp.c if (!get_next_display_element (it)) it 9863 src/xdisp.c if (it->line_wrap == TRUNCATE) it 9872 src/xdisp.c && (it->pixel_width > 0 it 9873 src/xdisp.c || IT_CHARPOS (*it) > to_charpos it 9874 src/xdisp.c || it->area != TEXT_AREA)) it 9882 src/xdisp.c if (it->line_wrap == WORD_WRAP && it->area == TEXT_AREA) it 9886 src/xdisp.c if (char_can_wrap_after (it)) it 9891 src/xdisp.c if (may_wrap && char_can_wrap_before (it)) it 9900 src/xdisp.c RESTORE_IT (it, &atpos_it, atpos_data); it 9906 src/xdisp.c RESTORE_IT (it, &atx_it, atx_data); it 9911 src/xdisp.c SAVE_IT (wrap_it, *it, wrap_data); it 9920 src/xdisp.c ascent = it->max_ascent; it 9921 src/xdisp.c descent = it->max_descent; it 9927 src/xdisp.c x = it->current_x; it 9929 src/xdisp.c PRODUCE_GLYPHS (it); it 9931 src/xdisp.c if (it->area != TEXT_AREA) it 9933 src/xdisp.c prev_method = it->method; it 9934 src/xdisp.c if (it->method == GET_FROM_BUFFER) it 9935 src/xdisp.c prev_pos = IT_CHARPOS (*it); it 9936 src/xdisp.c set_iterator_to_next (it, true); it 9937 src/xdisp.c if (IT_CHARPOS (*it) < CHARPOS (this_line_min_pos)) it 9939 src/xdisp.c IT_CHARPOS (*it), IT_BYTEPOS (*it)); it 9940 src/xdisp.c if (it->bidi_p it 9942 src/xdisp.c && IT_CHARPOS (*it) > to_charpos it 9943 src/xdisp.c && IT_CHARPOS (*it) < closest_pos) it 9944 src/xdisp.c closest_pos = IT_CHARPOS (*it); it 9966 src/xdisp.c if (it->nglyphs) it 9970 src/xdisp.c int single_glyph_width = it->pixel_width / it->nglyphs; it 9973 src/xdisp.c int hpos_before_this_char = it->hpos; it 9975 src/xdisp.c for (i = 0; i < it->nglyphs; ++i, x = new_x) it 9984 src/xdisp.c if (it->line_wrap != WORD_WRAP || wrap_it.sp < 0) it 9988 src/xdisp.c SAVE_IT (atpos_it, *it, atpos_data); it 9994 src/xdisp.c if (it->line_wrap != WORD_WRAP || wrap_it.sp < 0) it 9996 src/xdisp.c it->current_x = x; it 10002 src/xdisp.c SAVE_IT (atx_it, *it, atx_data); it 10009 src/xdisp.c it->line_wrap != TRUNCATE it 10011 src/xdisp.c new_x > it->last_visible_x it 10014 src/xdisp.c || (new_x == it->last_visible_x it 10015 src/xdisp.c && FRAME_WINDOW_P (it->f) it 10016 src/xdisp.c && ((it->bidi_p && it->bidi_it.paragraph_dir == R2L) it 10017 src/xdisp.c ? WINDOW_LEFT_FRINGE_WIDTH (it->w) it 10018 src/xdisp.c : WINDOW_RIGHT_FRINGE_WIDTH (it->w))))) it 10024 src/xdisp.c it->hpos == 0 it 10025 src/xdisp.c || (new_x == it->last_visible_x it 10026 src/xdisp.c && FRAME_WINDOW_P (it->f))) it 10028 src/xdisp.c ++it->hpos; it 10029 src/xdisp.c it->current_x = new_x; it 10033 src/xdisp.c if (i == it->nglyphs - 1) it 10046 src/xdisp.c if (it->line_wrap == WORD_WRAP it 10049 src/xdisp.c && IT_OVERFLOW_NEWLINE_INTO_FRINGE (it)) it 10051 src/xdisp.c struct it tem_it; it 10054 src/xdisp.c SAVE_IT (tem_it, *it, tem_data); it 10055 src/xdisp.c set_iterator_to_next (it, true); it 10056 src/xdisp.c if (get_next_display_element (it) it 10057 src/xdisp.c && !char_can_wrap_before (it)) it 10059 src/xdisp.c RESTORE_IT (it, &tem_it, tem_data); it 10061 src/xdisp.c if (it->line_wrap != WORD_WRAP it 10071 src/xdisp.c && IT_OVERFLOW_NEWLINE_INTO_FRINGE (it))) it 10073 src/xdisp.c it->hpos = hpos_before_this_char; it 10074 src/xdisp.c it->current_x = x_before_this_char; it 10078 src/xdisp.c if (it->line_wrap == WORD_WRAP it 10081 src/xdisp.c SAVE_IT (atpos_it, *it, atpos_data); it 10087 src/xdisp.c prev_method = it->method; it 10088 src/xdisp.c if (it->method == GET_FROM_BUFFER) it 10089 src/xdisp.c prev_pos = IT_CHARPOS (*it); it 10090 src/xdisp.c set_iterator_to_next (it, true); it 10091 src/xdisp.c if (IT_CHARPOS (*it) < CHARPOS (this_line_min_pos)) it 10093 src/xdisp.c IT_CHARPOS (*it), IT_BYTEPOS (*it)); it 10101 src/xdisp.c if (!FRAME_WINDOW_P (it->f) it 10102 src/xdisp.c || ((it->bidi_p it 10103 src/xdisp.c && it->bidi_it.paragraph_dir == R2L) it 10104 src/xdisp.c ? WINDOW_LEFT_FRINGE_WIDTH (it->w) it 10105 src/xdisp.c : WINDOW_RIGHT_FRINGE_WIDTH (it->w)) == 0 it 10106 src/xdisp.c || IT_OVERFLOW_NEWLINE_INTO_FRINGE (it)) it 10108 src/xdisp.c if (!get_next_display_element (it)) it 10116 src/xdisp.c if (ITERATOR_AT_END_OF_LINE_P (it)) it 10122 src/xdisp.c if (ITERATOR_AT_END_OF_LINE_P (it) it 10123 src/xdisp.c && (it->line_wrap != WORD_WRAP it 10125 src/xdisp.c || IT_OVERFLOW_NEWLINE_INTO_FRINGE (it))) it 10134 src/xdisp.c IT_RESET_X_ASCENT_DESCENT (it); it 10141 src/xdisp.c if (may_wrap && IT_OVERFLOW_NEWLINE_INTO_FRINGE (it) it 10147 src/xdisp.c && (!moved_forward || char_can_wrap_before (it))) it 10151 src/xdisp.c if ((op & MOVE_TO_X) && new_x == it->last_visible_x it 10154 src/xdisp.c RESTORE_IT (it, &atx_it, atx_data); it 10163 src/xdisp.c RESTORE_IT (it, &wrap_it, wrap_data); it 10169 src/xdisp.c IT_CHARPOS (*it)); it 10176 src/xdisp.c if (it->line_wrap != WORD_WRAP || wrap_it.sp < 0) it 10178 src/xdisp.c if (it->line_wrap == WORD_WRAP && atpos_it.sp < 0) it 10180 src/xdisp.c SAVE_IT (atpos_it, *it, atpos_data); it 10185 src/xdisp.c if (new_x > it->first_visible_x) it 10192 src/xdisp.c it->current_x = it->first_visible_x; it 10193 src/xdisp.c maybe_produce_line_number (it); it 10194 src/xdisp.c it->current_x += new_x - it->first_visible_x; it 10198 src/xdisp.c ++it->hpos; it 10208 src/xdisp.c IT_RESET_X_ASCENT_DESCENT (it); it 10212 src/xdisp.c else if ((op & MOVE_TO_X) && it->current_x >= to_x) it 10218 src/xdisp.c eassert (it->nglyphs == 0); it 10224 src/xdisp.c if (ITERATOR_AT_END_OF_LINE_P (it)) it 10230 src/xdisp.c if (it->bidi_p && (op & MOVE_TO_POS) != 0) it 10232 src/xdisp.c if (!saw_smaller_pos && IT_CHARPOS (*it) > to_charpos) it 10236 src/xdisp.c RESTORE_IT (it, &ppos_it, ppos_data); it 10240 src/xdisp.c move_it_in_display_line_to (it, closest_pos, -1, it 10247 src/xdisp.c else if (it->line_wrap == WORD_WRAP && atpos_it.sp >= 0 it 10248 src/xdisp.c && IT_CHARPOS (*it) > to_charpos) it 10259 src/xdisp.c if (it->line_wrap == TRUNCATE it 10260 src/xdisp.c && it->current_x <= it->first_visible_x it 10262 src/xdisp.c && it->char_to_display == '\n') it 10264 src/xdisp.c it->max_ascent = it->ascent; it 10265 src/xdisp.c it->max_descent = it->descent; it 10271 src/xdisp.c it->constrain_row_ascent_descent_p = false; it 10275 src/xdisp.c prev_method = it->method; it 10276 src/xdisp.c if (it->method == GET_FROM_BUFFER) it 10277 src/xdisp.c prev_pos = IT_CHARPOS (*it); it 10288 src/xdisp.c CONSP (it->object) && EQ (XCAR (it->object), Qspace) it 10289 src/xdisp.c && it->sp > 0 && it->method == GET_FROM_STRETCH it 10290 src/xdisp.c && it->current_x >= it->last_visible_x it 10291 src/xdisp.c && it->continuation_lines_width > 0 it 10292 src/xdisp.c && it->line_wrap == TRUNCATE && it->stack[0].line_wrap != TRUNCATE; it 10296 src/xdisp.c set_iterator_to_next (it, true); it 10297 src/xdisp.c if (IT_CHARPOS (*it) < CHARPOS (this_line_min_pos)) it 10298 src/xdisp.c SET_TEXT_POS (this_line_min_pos, IT_CHARPOS (*it), IT_BYTEPOS (*it)); it 10299 src/xdisp.c if (IT_CHARPOS (*it) < to_charpos) it 10301 src/xdisp.c if (it->bidi_p it 10303 src/xdisp.c && IT_CHARPOS (*it) >= to_charpos it 10304 src/xdisp.c && IT_CHARPOS (*it) < closest_pos) it 10305 src/xdisp.c closest_pos = IT_CHARPOS (*it); it 10309 src/xdisp.c if (it->line_wrap == TRUNCATE it 10310 src/xdisp.c && it->current_x >= it->last_visible_x) it 10312 src/xdisp.c if (!FRAME_WINDOW_P (it->f) it 10313 src/xdisp.c || ((it->bidi_p && it->bidi_it.paragraph_dir == R2L) it 10314 src/xdisp.c ? WINDOW_LEFT_FRINGE_WIDTH (it->w) it 10315 src/xdisp.c : WINDOW_RIGHT_FRINGE_WIDTH (it->w)) == 0 it 10316 src/xdisp.c || IT_OVERFLOW_NEWLINE_INTO_FRINGE (it)) it 10320 src/xdisp.c if ((at_eob_p = !get_next_display_element (it)) it 10326 src/xdisp.c || (it->bidi_p && (op & MOVE_TO_POS) != 0 it 10328 src/xdisp.c && IT_CHARPOS (*it) > to_charpos)) it 10330 src/xdisp.c if (it->bidi_p 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 10342 src/xdisp.c if (ITERATOR_AT_END_OF_LINE_P (it)) it 10348 src/xdisp.c else if (it->bidi_p && (op & MOVE_TO_POS) != 0 it 10350 src/xdisp.c && IT_CHARPOS (*it) > to_charpos) it 10354 src/xdisp.c RESTORE_IT (it, &ppos_it, ppos_data); it 10356 src/xdisp.c move_it_in_display_line_to (it, closest_pos, -1, it 10376 src/xdisp.c && it->line_wrap == WORD_WRAP it 10380 src/xdisp.c RESTORE_IT (it, &wrap_it, wrap_data); it 10382 src/xdisp.c RESTORE_IT (it, &atpos_it, atpos_data); it 10384 src/xdisp.c RESTORE_IT (it, &atx_it, atx_data); it 10399 src/xdisp.c it->glyph_row = saved_glyph_row; it 10405 src/xdisp.c move_it_in_display_line (struct it *it, it 10409 src/xdisp.c if (it->line_wrap == WORD_WRAP it 10412 src/xdisp.c struct it save_it; it 10416 src/xdisp.c SAVE_IT (save_it, *it, save_data); it 10417 src/xdisp.c skip = move_it_in_display_line_to (it, to_charpos, to_x, op); it 10424 src/xdisp.c int prev_x = max (it->current_x - 1, 0); it 10425 src/xdisp.c RESTORE_IT (it, &save_it, save_data); it 10427 src/xdisp.c (it, -1, prev_x, MOVE_TO_X); it 10433 src/xdisp.c move_it_in_display_line_to (it, to_charpos, to_x, op); it 10452 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 10463 src/xdisp.c orig_charpos = IT_CHARPOS (*it); it 10464 src/xdisp.c orig_method = it->method; it 10471 src/xdisp.c if (it->vpos == to_vpos) it 10477 src/xdisp.c skip = move_it_in_display_line_to (it, -1, -1, 0); it 10483 src/xdisp.c if (it->vpos == to_vpos) it 10489 src/xdisp.c skip = move_it_in_display_line_to (it, to_charpos, to_x, op); it 10491 src/xdisp.c if (skip == MOVE_POS_MATCH_OR_ZV || it->vpos == to_vpos) it 10496 src/xdisp.c else if (skip == MOVE_X_REACHED && it->vpos != to_vpos) it 10499 src/xdisp.c skip = move_it_in_display_line_to (it, to_charpos, it 10511 src/xdisp.c struct it it_backup; it 10513 src/xdisp.c if (it->line_wrap == WORD_WRAP) it 10514 src/xdisp.c SAVE_IT (it_backup, *it, backup_data); it 10529 src/xdisp.c (it, to_charpos, ((op & MOVE_TO_X) ? to_x : 0), it 10541 src/xdisp.c line_height = it->max_ascent + it->max_descent; it 10542 src/xdisp.c if (to_y >= it->current_y it 10543 src/xdisp.c && to_y < it->current_y + line_height) it 10548 src/xdisp.c SAVE_IT (it_backup, *it, backup_data); it 10549 src/xdisp.c move_trace ("move_it: from %td\n", IT_CHARPOS (*it)); it 10550 src/xdisp.c skip2 = move_it_in_display_line_to (it, to_charpos, -1, it 10552 src/xdisp.c move_trace ("move_it: to %td\n", IT_CHARPOS (*it)); it 10553 src/xdisp.c line_height = it->max_ascent + it->max_descent; it 10556 src/xdisp.c if (to_y >= it->current_y it 10557 src/xdisp.c && to_y < it->current_y + line_height) it 10567 src/xdisp.c int max_ascent = it->max_ascent; it 10568 src/xdisp.c int max_descent = it->max_descent; it 10570 src/xdisp.c RESTORE_IT (it, &it_backup, backup_data); it 10571 src/xdisp.c it->max_ascent = max_ascent; it 10572 src/xdisp.c it->max_descent = max_descent; it 10589 src/xdisp.c && IT_CHARPOS (*it) != to_charpos it 10591 src/xdisp.c == (IT_CHARPOS (*it) > to_charpos))) it 10593 src/xdisp.c int max_ascent = it->max_ascent; it 10594 src/xdisp.c int max_descent = it->max_descent; it 10596 src/xdisp.c RESTORE_IT (it, &it_backup, backup_data); it 10597 src/xdisp.c it->max_ascent = max_ascent; it 10598 src/xdisp.c it->max_descent = max_descent; it 10606 src/xdisp.c line_height = it->max_ascent + it->max_descent; it 10609 src/xdisp.c if (to_y >= it->current_y it 10610 src/xdisp.c && to_y < it->current_y + line_height) it 10612 src/xdisp.c if (to_y > it->current_y) it 10613 src/xdisp.c max_current_x = max (it->current_x, max_current_x); it 10620 src/xdisp.c && it->line_wrap == WORD_WRAP) it 10622 src/xdisp.c int prev_x = max (it->current_x - 1, 0); it 10623 src/xdisp.c RESTORE_IT (it, &it_backup, backup_data); it 10625 src/xdisp.c (it, -1, prev_x, MOVE_TO_X); it 10634 src/xdisp.c max_current_x = max (it->current_x, max_current_x); it 10638 src/xdisp.c else if (BUFFERP (it->object) it 10639 src/xdisp.c && (it->method == GET_FROM_BUFFER it 10640 src/xdisp.c || it->method == GET_FROM_STRETCH) it 10641 src/xdisp.c && IT_CHARPOS (*it) >= to_charpos it 10647 src/xdisp.c && !(it->bidi_p it 10648 src/xdisp.c && it->bidi_it.scan_dir == -1)) it 10651 src/xdisp.c skip = move_it_in_display_line_to (it, to_charpos, -1, MOVE_TO_POS); it 10656 src/xdisp.c max_current_x = max (it->current_x, max_current_x); it 10661 src/xdisp.c max_current_x = max (it->current_x, max_current_x); it 10662 src/xdisp.c if (!IT_OVERFLOW_NEWLINE_INTO_FRINGE (it)) it 10663 src/xdisp.c it->override_ascent = -1; it 10664 src/xdisp.c set_iterator_to_next (it, true); it 10665 src/xdisp.c it->continuation_lines_width = 0; it 10669 src/xdisp.c max_current_x = it->last_visible_x; it 10670 src/xdisp.c it->continuation_lines_width = 0; it 10671 src/xdisp.c reseat_at_next_visible_line_start (it, false); it 10673 src/xdisp.c && (IT_CHARPOS (*it) > to_charpos it 10674 src/xdisp.c || (IT_CHARPOS (*it) == to_charpos it 10682 src/xdisp.c && (it->sp == 0 it 10683 src/xdisp.c || (STRINGP (it->string) it 10684 src/xdisp.c && (it->current.overlay_string_index < 0 it 10685 src/xdisp.c || (it->current.overlay_string_index >= 0 it 10686 src/xdisp.c && it->current.overlay_string_index it 10687 src/xdisp.c >= it->n_overlay_strings - 1)) it 10688 src/xdisp.c && IT_STRING_CHARPOS (*it) >= it->end_charpos))))) it 10696 src/xdisp.c max_current_x = it->last_visible_x; it 10701 src/xdisp.c if (it->c == '\t') it 10703 src/xdisp.c it->continuation_lines_width += it->last_visible_x; it 10707 src/xdisp.c if (it->current_x != it->last_visible_x it 10711 src/xdisp.c line_start_x = it->current_x + it->pixel_width it 10712 src/xdisp.c - it->last_visible_x; it 10713 src/xdisp.c if (FRAME_WINDOW_P (it->f)) it 10715 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); it 10729 src/xdisp.c += it->tab_width * face_font->space_width; it 10732 src/xdisp.c set_iterator_to_next (it, false); it 10745 src/xdisp.c if (IT_CHARPOS (*it) == orig_charpos it 10746 src/xdisp.c && it->method == orig_method it 10748 src/xdisp.c set_iterator_to_next (it, false); it 10749 src/xdisp.c it->continuation_lines_width += it->current_x; it 10758 src/xdisp.c it->current_x = line_start_x; it 10760 src/xdisp.c it->hpos = 0; it 10761 src/xdisp.c it->line_number_produced_p = false; it 10762 src/xdisp.c it->current_y += it->max_ascent + it->max_descent; it 10763 src/xdisp.c ++it->vpos; it 10764 src/xdisp.c last_height = it->max_ascent + it->max_descent; it 10765 src/xdisp.c it->max_ascent = it->max_descent = 0; it 10775 src/xdisp.c if (!FRAME_WINDOW_P (it->f) it 10777 src/xdisp.c && IT_CHARPOS (*it) == to_charpos it 10778 src/xdisp.c && it->what == IT_CHARACTER it 10779 src/xdisp.c && it->nglyphs > 1 it 10780 src/xdisp.c && it->line_wrap == WINDOW_WRAP it 10781 src/xdisp.c && it->current_x == it->last_visible_x - 1 it 10782 src/xdisp.c && it->c != '\n' it 10783 src/xdisp.c && it->c != '\t' it 10784 src/xdisp.c && it->w->window_end_valid it 10785 src/xdisp.c && it->vpos < it->w->window_end_vpos) it 10787 src/xdisp.c it->continuation_lines_width += it->current_x; it 10788 src/xdisp.c it->current_x = it->hpos = it->max_ascent = it->max_descent = 0; it 10789 src/xdisp.c it->current_y += it->max_ascent + it->max_descent; it 10790 src/xdisp.c ++it->vpos; it 10791 src/xdisp.c last_height = it->max_ascent + it->max_descent; it 10813 src/xdisp.c move_it_vertically_backward (struct it *it, int dy) it 10816 src/xdisp.c struct it it2, it3; it 10820 src/xdisp.c = (it->last_visible_x - it->first_visible_x) / FRAME_COLUMN_WIDTH (it->f); it 10826 src/xdisp.c start_pos = IT_CHARPOS (*it); it 10829 src/xdisp.c nlines = max (1, dy / default_line_pixel_height (it->w)); it 10830 src/xdisp.c if (it->line_wrap == TRUNCATE || nchars_per_row == 0) it 10838 src/xdisp.c while (nlines-- && IT_CHARPOS (*it) > pos_limit) it 10839 src/xdisp.c back_to_previous_visible_line_start (it); it 10845 src/xdisp.c reseat_1 (it, it->current.pos, true); it 10848 src/xdisp.c it->current_x = it->hpos = 0; /* FIXME: this is incorrect when bidi it 10850 src/xdisp.c it->continuation_lines_width = 0; it 10856 src/xdisp.c SAVE_IT (it2, *it, it2data); it 10873 src/xdisp.c eassert (IT_CHARPOS (*it) >= BEGV); it 10877 src/xdisp.c eassert (IT_CHARPOS (*it) >= BEGV); it 10880 src/xdisp.c h = it2.current_y - it->current_y; it 10882 src/xdisp.c nlines = it2.vpos - it->vpos; it 10886 src/xdisp.c it->vpos -= nlines; it 10887 src/xdisp.c it->current_y -= h; it 10894 src/xdisp.c RESTORE_IT (it, it, it2data); it 10896 src/xdisp.c move_it_by_lines (it, nlines); it 10903 src/xdisp.c if (it->bidi_p it 10904 src/xdisp.c && !it->continuation_lines_width it 10905 src/xdisp.c && !STRINGP (it->string) it 10906 src/xdisp.c && IT_CHARPOS (*it) > BEGV it 10907 src/xdisp.c && FETCH_BYTE (IT_BYTEPOS (*it) - 1) != '\n') it 10909 src/xdisp.c ptrdiff_t cp = IT_CHARPOS (*it), bp = IT_BYTEPOS (*it); it 10912 src/xdisp.c SET_WITH_NARROWED_BEGV (it, cp, it 10914 src/xdisp.c get_small_narrowing_begv (it->w, IT_CHARPOS (*it))); it 10915 src/xdisp.c move_it_to (it, cp, -1, -1, -1, MOVE_TO_POS); it 10923 src/xdisp.c int target_y = it->current_y + h - dy; it 10931 src/xdisp.c RESTORE_IT (it, it, it2data); it 10934 src/xdisp.c if (target_y < it->current_y it 10939 src/xdisp.c && (it->current_y - target_y it 10940 src/xdisp.c > min (window_box_height (it->w), line_height * 2 / 3)) it 10941 src/xdisp.c && IT_CHARPOS (*it) > BEGV) it 10944 src/xdisp.c target_y - it->current_y); it 10945 src/xdisp.c dy = it->current_y - target_y; it 10948 src/xdisp.c else if (target_y >= it->current_y + line_height it 10949 src/xdisp.c && IT_CHARPOS (*it) < ZV) it 10959 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) it 10960 src/xdisp.c move_it_vertically (it, target_y - it->current_y); it 10967 src/xdisp.c last_pos = it->current.pos; it 10968 src/xdisp.c last_y = it->current_y; it 10969 src/xdisp.c last_vpos = it->vpos; it 10970 src/xdisp.c move_it_by_lines (it, 1); it 10972 src/xdisp.c while (target_y > it->current_y && IT_CHARPOS (*it) < ZV); it 10973 src/xdisp.c if (it->current_y > target_y) it 10975 src/xdisp.c reseat (it, last_pos, true); it 10976 src/xdisp.c it->current_y = last_y; it 10977 src/xdisp.c it->vpos = last_vpos; it 10990 src/xdisp.c move_it_vertically (struct it *it, int dy) it 10993 src/xdisp.c move_it_vertically_backward (it, -dy); it 10996 src/xdisp.c move_trace ("move_it_v: from %td, %d\n", IT_CHARPOS (*it), dy); it 10997 src/xdisp.c move_it_to (it, ZV, -1, it->current_y + dy, -1, it 10999 src/xdisp.c move_trace ("move_it_v: to %td\n", IT_CHARPOS (*it)); it 11003 src/xdisp.c if (IT_CHARPOS (*it) == ZV it 11005 src/xdisp.c && FETCH_BYTE (IT_BYTEPOS (*it) - 1) != '\n') it 11006 src/xdisp.c move_it_by_lines (it, 0); it 11014 src/xdisp.c move_it_past_eol (struct it *it) it 11018 src/xdisp.c rc = move_it_in_display_line_to (it, Z, 0, MOVE_TO_POS); it 11020 src/xdisp.c set_iterator_to_next (it, false); it 11033 src/xdisp.c move_it_by_lines (struct it *it, ptrdiff_t dvpos) it 11055 src/xdisp.c move_it_vertically_backward (it, 0); it 11061 src/xdisp.c move_it_to (it, -1, -1, -1, it->vpos + dvpos, MOVE_TO_VPOS); it 11062 src/xdisp.c if (!IT_POS_VALID_AFTER_MOVE_P (it)) it 11074 src/xdisp.c move_it_to (it, IT_CHARPOS (*it) + it->string_from_display_prop_p, it 11080 src/xdisp.c struct it it2; it 11084 src/xdisp.c = (it->last_visible_x - it->first_visible_x) / FRAME_COLUMN_WIDTH (it->f); it 11091 src/xdisp.c dvpos += it->vpos; it 11092 src/xdisp.c orig_charpos = IT_CHARPOS (*it); it 11093 src/xdisp.c move_it_vertically_backward (it, 0); it 11094 src/xdisp.c dvpos -= it->vpos; it 11098 src/xdisp.c start_charpos = IT_CHARPOS (*it); it 11099 src/xdisp.c if (it->line_wrap == TRUNCATE || nchars_per_row == 0) it 11104 src/xdisp.c for (i = -dvpos; i > 0 && IT_CHARPOS (*it) > pos_limit; --i) it 11105 src/xdisp.c back_to_previous_visible_line_start (it); it 11106 src/xdisp.c if (i > 0 && IT_CHARPOS (*it) <= pos_limit) it 11108 src/xdisp.c reseat (it, it->current.pos, true); it 11111 src/xdisp.c while (!IT_POS_VALID_AFTER_MOVE_P (it)) it 11114 src/xdisp.c dvpos += it->vpos; it 11115 src/xdisp.c move_it_vertically_backward (it, 0); it 11116 src/xdisp.c dvpos -= it->vpos; it 11117 src/xdisp.c if (IT_POS_VALID_AFTER_MOVE_P (it)) it 11121 src/xdisp.c back_to_previous_visible_line_start (it); it 11122 src/xdisp.c reseat (it, it->current.pos, true); it 11126 src/xdisp.c it->current_x = it->hpos = 0; it 11130 src/xdisp.c SAVE_IT (it2, *it, it2data); it 11133 src/xdisp.c it->vpos -= it2.vpos; it 11134 src/xdisp.c it->current_y -= it2.current_y; it 11135 src/xdisp.c it->current_x = it->hpos = 0; it 11143 src/xdisp.c SAVE_IT (it2, *it, it2data); it 11144 src/xdisp.c move_it_to (it, -1, -1, -1, it->vpos + delta, MOVE_TO_VPOS); it 11147 src/xdisp.c if (it->vpos - it2.vpos > delta || IT_CHARPOS (*it) == orig_charpos) it 11148 src/xdisp.c RESTORE_IT (it, &it2, it2data); it 11164 src/xdisp.c RESTORE_IT (it, it, it2data); it 11167 src/xdisp.c back_to_previous_visible_line_start (it); it 11168 src/xdisp.c it->vpos--; it 11170 src/xdisp.c reseat_1 (it, it->current.pos, true); it 11173 src/xdisp.c RESTORE_IT (it, it, it2data); it 11178 src/xdisp.c partial_line_height (struct it *it_origin) it 11191 src/xdisp.c struct it it; it 11192 src/xdisp.c SAVE_IT (it, *it_origin, it_data); it 11193 src/xdisp.c move_it_to (&it, ZV, -1, it.last_visible_y, -1, it 11195 src/xdisp.c if (it.what == IT_EOB) it 11197 src/xdisp.c int vis_height = it.last_visible_y - it.current_y; it 11198 src/xdisp.c int height = it.ascent + it.descent; it 11203 src/xdisp.c int last_line_y = it.current_y; it 11204 src/xdisp.c move_it_by_lines (&it, 1); it 11205 src/xdisp.c partial_height = (it.current_y > it.last_visible_y) it 11206 src/xdisp.c ? it.last_visible_y - last_line_y : 0; it 11208 src/xdisp.c RESTORE_IT (&it, &it, it_data); it 11224 src/xdisp.c fast_move_it_horizontally (struct it *it, ptrdiff_t nchars) it 11227 src/xdisp.c ptrdiff_t nl_pos = find_newline_no_quit (IT_CHARPOS (*it), IT_BYTEPOS (*it), it 11232 src/xdisp.c if (nl_pos - IT_CHARPOS (*it) > nchars) it 11235 src/xdisp.c IT_CHARPOS (*it) + nchars, it 11236 src/xdisp.c CHAR_TO_BYTE (IT_CHARPOS (*it) + nchars)); it 11253 src/xdisp.c reseat (it, new_pos, false); it 11260 src/xdisp.c in_display_vector_p (struct it *it) it 11262 src/xdisp.c return (it->method == GET_FROM_DISPLAY_VECTOR it 11263 src/xdisp.c && it->current.dpvec_index > 0 it 11264 src/xdisp.c && it->dpvec + it->current.dpvec_index != it->dpend); it 11277 src/xdisp.c struct it it; it 11360 src/xdisp.c start_display (&it, w, startp); it 11362 src/xdisp.c int start_y = it.current_y; it 11370 src/xdisp.c it.bidi_p = false; it 11376 src/xdisp.c it.current_y = 0; it 11378 src/xdisp.c move_it_by_lines (&it, 0); it 11386 src/xdisp.c while (it.current_y > vertical_offset) it 11388 src/xdisp.c last_y = it.current_y; it 11389 src/xdisp.c move_it_vertically_backward (&it, it 11391 src/xdisp.c + it.current_y)); it 11393 src/xdisp.c if (it.current_y == last_y) it 11399 src/xdisp.c move_it_vertically (&it, vertical_offset); it 11402 src/xdisp.c it.current_y = (WINDOW_TAB_LINE_HEIGHT (w) it 11404 src/xdisp.c start = clip_to_bounds (BEGV, IT_CHARPOS (it), ZV); it 11405 src/xdisp.c start_y = it.current_y; it 11406 src/xdisp.c start_x = it.current_x; it 11413 src/xdisp.c reseat_at_previous_visible_line_start (&it); it 11414 src/xdisp.c it.current_x = it.hpos = 0; it 11415 src/xdisp.c if (IT_CHARPOS (it) != start) it 11418 src/xdisp.c struct it it1; it 11420 src/xdisp.c SAVE_IT (it1, it, it1data); it 11421 src/xdisp.c move_it_to (&it, start, -1, -1, -1, MOVE_TO_POS); it 11427 src/xdisp.c if (IT_CHARPOS (it) > start && start > BEGV) it 11432 src/xdisp.c RESTORE_IT (&it, &it1, it1data); it 11439 src/xdisp.c move_it_to (&it, start - 1, -1, -1, -1, MOVE_TO_POS); it 11441 src/xdisp.c move_it_in_display_line (&it, start, it1_x + 1, it 11443 src/xdisp.c move_it_to (&it, start - 1, -1, -1, -1, MOVE_TO_POS); it 11444 src/xdisp.c start_x = it.current_x; it 11448 src/xdisp.c if (IT_CHARPOS (it) == start - 1) it 11449 src/xdisp.c start_x += it.pixel_width; it 11453 src/xdisp.c start_x = it.current_x; it 11458 src/xdisp.c start_x = it.current_x; it 11464 src/xdisp.c it.current_y = start_y; it 11468 src/xdisp.c it.current_x = 0; it 11471 src/xdisp.c it.last_visible_x = max_x; it 11480 src/xdisp.c struct it it2; it 11481 src/xdisp.c SAVE_IT (it2, it, it2data); it 11483 src/xdisp.c x = move_it_to (&it, end, to_x, max_y, -1, move_op); it 11489 src/xdisp.c if (IT_CHARPOS (it) > end) it 11492 src/xdisp.c RESTORE_IT (&it, &it2, it2data); it 11493 src/xdisp.c x = move_it_to (&it, end, to_x, max_y, -1, move_op); it 11497 src/xdisp.c if (IT_CHARPOS (it) == end) it 11499 src/xdisp.c x += it.pixel_width; it 11503 src/xdisp.c doff = (max (it.max_ascent, it.ascent) it 11504 src/xdisp.c + max (it.max_descent, it.descent)); it 11507 src/xdisp.c it.max_ascent = max (it.max_ascent, it.ascent); it 11508 src/xdisp.c it.max_descent = max (it.max_descent, it.descent); it 11525 src/xdisp.c if (it.current_y > start_y) it 11531 src/xdisp.c y = (it.current_y + doff it 11535 src/xdisp.c y = (it.current_y + it.max_ascent + it.max_descent + doff it 11738 src/xdisp.c struct it it; it 11749 src/xdisp.c start_display (&it, w, startpos); it 11751 src/xdisp.c if (it.line_wrap != TRUNCATE) it 11753 src/xdisp.c it.glyph_row = NULL; it 11754 src/xdisp.c rc = move_it_in_display_line_to (&it, ZV, -1, MOVE_TO_POS); it 12785 src/xdisp.c struct it it; it 12798 src/xdisp.c init_iterator (&it, w, BEGV, BEGV_BYTE, NULL, DEFAULT_FACE_ID); it 12813 src/xdisp.c move_it_to (&it, ZV, -1, -1, -1, MOVE_TO_POS); it 12816 src/xdisp.c if (it.max_ascent == 0 && it.max_descent == 0) it 12818 src/xdisp.c height = it.current_y; it 12824 src/xdisp.c if (!(it.line_wrap == TRUNCATE it 12825 src/xdisp.c && it.current_x <= it.first_visible_x it 12831 src/xdisp.c height = it.current_y + it.max_ascent + it.max_descent; it 12832 src/xdisp.c height -= min (it.extra_line_spacing, it.max_extra_line_spacing); it 12840 src/xdisp.c init_iterator (&it, w, ZV, ZV_BYTE, NULL, DEFAULT_FACE_ID); it 12841 src/xdisp.c move_it_vertically_backward (&it, height - unit); it 12851 src/xdisp.c move_it_by_lines (&it, 0); it 12852 src/xdisp.c start = it.current.pos; it 13585 src/xdisp.c struct it it; it 13636 src/xdisp.c init_iterator (&it, XWINDOW (f->selected_window), -1, -1, it 13638 src/xdisp.c display_mode_element (&it, 0, -1, -1, fmt, Qnil, false); it 14102 src/xdisp.c struct it it; it 14123 src/xdisp.c init_iterator (&it, w, -1, -1, f->desired_matrix->rows it 14126 src/xdisp.c it.first_visible_x = 0; it 14127 src/xdisp.c it.last_visible_x = FRAME_PIXEL_WIDTH (f); it 14135 src/xdisp.c init_iterator (&it, tab_w, -1, -1, tab_w->desired_matrix->rows, it 14137 src/xdisp.c it.first_visible_x = 0; it 14138 src/xdisp.c it.last_visible_x = FRAME_PIXEL_WIDTH (f); it 14145 src/xdisp.c init_iterator (&it, w, -1, -1, f->desired_matrix->rows it 14148 src/xdisp.c it.first_visible_x = 0; it 14149 src/xdisp.c it.last_visible_x = FRAME_COLS (f); it 14155 src/xdisp.c it.paragraph_embedding = L2R; it 14160 src/xdisp.c struct glyph_row *row = it.glyph_row + i; it 14168 src/xdisp.c items = it.f->tab_bar_items; it 14170 src/xdisp.c for (i = 0, j = 0; i < it.f->n_tab_bar_items; ++i, j += TAB_BAR_ITEM_NSLOTS) it 14178 src/xdisp.c if (it.current_x < it.last_visible_x) it 14179 src/xdisp.c display_string (NULL, string, Qnil, 0, 0, &it, it 14184 src/xdisp.c if (it.current_x < it.last_visible_x) it 14185 src/xdisp.c display_string ("", Qnil, Qnil, 0, 0, &it, -1, 0, 0, -1); it 14188 src/xdisp.c compute_line_metrics (&it); it 14248 src/xdisp.c display_tab_bar_line (struct it *it, int height) it 14250 src/xdisp.c struct glyph_row *row = it->glyph_row; it 14251 src/xdisp.c int max_x = it->last_visible_x; it 14257 src/xdisp.c row->y = it->current_y; it 14261 src/xdisp.c it->start_of_box_run_p = true; it 14264 src/xdisp.c while (it->current_x < max_x) it 14267 src/xdisp.c struct it it_before; it 14270 src/xdisp.c if (!get_next_display_element (it)) it 14273 src/xdisp.c if (height < 0 && !it->hpos) it 14280 src/xdisp.c it_before = *it; it 14282 src/xdisp.c PRODUCE_GLYPHS (it); it 14295 src/xdisp.c *it = it_before; it 14300 src/xdisp.c && (it->vpos > 0 || IT_STRING_CHARPOS (*it) < it->end_charpos-1)) it 14305 src/xdisp.c ++it->hpos; it 14310 src/xdisp.c enough = ITERATOR_AT_END_OF_LINE_P (it); it 14311 src/xdisp.c set_iterator_to_next (it, true); it 14330 src/xdisp.c it->face_id = DEFAULT_FACE_ID; it 14332 src/xdisp.c extend_face_to_end_of_line (it); it 14339 src/xdisp.c if ((height -= it->max_ascent + it->max_descent) > 0) it 14342 src/xdisp.c height %= FRAME_LINE_HEIGHT (it->f); it 14343 src/xdisp.c it->max_ascent += height / 2; it 14344 src/xdisp.c it->max_descent += (height + 1) / 2; it 14347 src/xdisp.c compute_line_metrics (it); it 14352 src/xdisp.c row->height = row->phys_height = it->last_visible_y - row->y; it 14363 src/xdisp.c it->current_x = it->hpos = 0; it 14364 src/xdisp.c it->current_y += row->height; it 14365 src/xdisp.c ++it->vpos; it 14366 src/xdisp.c ++it->glyph_row; it 14377 src/xdisp.c struct it it; it 14385 src/xdisp.c init_iterator (&it, w, -1, -1, temp_row, TAB_BAR_FACE_ID); it 14387 src/xdisp.c it.first_visible_x = 0; it 14388 src/xdisp.c it.last_visible_x = WINDOW_PIXEL_WIDTH (w); it 14389 src/xdisp.c reseat_to_string (&it, NULL, f->desired_tab_bar_string, it 14391 src/xdisp.c it.paragraph_embedding = L2R; it 14394 src/xdisp.c while (!ITERATOR_AT_END_P (&it)) it 14396 src/xdisp.c it.glyph_row = temp_row; it 14397 src/xdisp.c display_tab_bar_line (&it, -1); it 14403 src/xdisp.c *n_rows = it.vpos > 0 ? it.vpos : -1; it 14406 src/xdisp.c return it.current_y; it 14408 src/xdisp.c return (it.current_y + FRAME_LINE_HEIGHT (f) - 1) / FRAME_LINE_HEIGHT (f); it 14443 src/xdisp.c struct it it; it 14498 src/xdisp.c init_iterator (&it, w, -1, -1, w->desired_matrix->rows, TAB_BAR_FACE_ID); it 14499 src/xdisp.c it.first_visible_x = 0; it 14500 src/xdisp.c it.last_visible_x = WINDOW_PIXEL_WIDTH (w); it 14501 src/xdisp.c row = it.glyph_row; it 14503 src/xdisp.c reseat_to_string (&it, NULL, f->desired_tab_bar_string, 0, 0, 0, it 14512 src/xdisp.c it.paragraph_embedding = L2R; it 14532 src/xdisp.c height = max (1, (it.last_visible_y - border) / rows); it 14533 src/xdisp.c extra = it.last_visible_y - border - height * rows; it 14535 src/xdisp.c while (it.current_y < it.last_visible_y) it 14543 src/xdisp.c display_tab_bar_line (&it, height + h); it 14548 src/xdisp.c while (it.current_y < it.last_visible_y) it 14549 src/xdisp.c display_tab_bar_line (&it, 0); it 14563 src/xdisp.c if (IT_STRING_CHARPOS (it) < it.end_charpos) it 14570 src/xdisp.c row = it.glyph_row - 1; it 14582 src/xdisp.c && MATRIX_ROW_BOTTOM_Y (row) > it.last_visible_y) it 15263 src/xdisp.c display_tool_bar_line (struct it *it, int height) it 15265 src/xdisp.c struct glyph_row *row = it->glyph_row; it 15266 src/xdisp.c int max_x = it->last_visible_x; it 15272 src/xdisp.c row->y = it->current_y; it 15276 src/xdisp.c it->start_of_box_run_p = true; it 15278 src/xdisp.c while (it->current_x < max_x) it 15281 src/xdisp.c struct it it_before; it 15284 src/xdisp.c if (!get_next_display_element (it)) it 15287 src/xdisp.c if (height < 0 && !it->hpos) it 15294 src/xdisp.c it_before = *it; it 15296 src/xdisp.c PRODUCE_GLYPHS (it); it 15309 src/xdisp.c *it = it_before; it 15314 src/xdisp.c && (it->vpos > 0 || IT_STRING_CHARPOS (*it) < it->end_charpos-1)) it 15319 src/xdisp.c ++it->hpos; it 15329 src/xdisp.c if (ITERATOR_AT_END_OF_LINE_P (it)) it 15331 src/xdisp.c reseat_at_next_visible_line_start (it, false); it 15335 src/xdisp.c if (ITERATOR_AT_END_P (it)) it 15338 src/xdisp.c set_iterator_to_next (it, true); it 15353 src/xdisp.c it->face_id = DEFAULT_FACE_ID; it 15355 src/xdisp.c extend_face_to_end_of_line (it); it 15363 src/xdisp.c && (height -= it->max_ascent + it->max_descent) > 0) it 15366 src/xdisp.c height %= FRAME_LINE_HEIGHT (it->f); it 15367 src/xdisp.c it->max_ascent += height / 2; it 15368 src/xdisp.c it->max_descent += (height + 1) / 2; it 15371 src/xdisp.c compute_line_metrics (it); it 15376 src/xdisp.c row->height = row->phys_height = it->last_visible_y - row->y; it 15387 src/xdisp.c it->current_x = it->hpos = 0; it 15388 src/xdisp.c it->current_y += row->height; it 15389 src/xdisp.c ++it->vpos; it 15390 src/xdisp.c ++it->glyph_row; it 15402 src/xdisp.c struct it it; it 15410 src/xdisp.c init_iterator (&it, w, -1, -1, temp_row, TOOL_BAR_FACE_ID); it 15412 src/xdisp.c it.first_visible_x = 0; it 15413 src/xdisp.c it.last_visible_x = WINDOW_PIXEL_WIDTH (w); it 15414 src/xdisp.c reseat_to_string (&it, NULL, f->desired_tool_bar_string, it 15416 src/xdisp.c it.paragraph_embedding = L2R; it 15418 src/xdisp.c while (!ITERATOR_AT_END_P (&it)) it 15421 src/xdisp.c it.glyph_row = temp_row; it 15422 src/xdisp.c display_tool_bar_line (&it, -1); it 15428 src/xdisp.c *n_rows = it.vpos > 0 ? it.vpos : -1; it 15431 src/xdisp.c return it.current_y; it 15433 src/xdisp.c return (it.current_y + FRAME_LINE_HEIGHT (f) - 1) / FRAME_LINE_HEIGHT (f); it 15473 src/xdisp.c struct it it; it 15499 src/xdisp.c init_iterator (&it, w, -1, -1, w->desired_matrix->rows, TOOL_BAR_FACE_ID); it 15500 src/xdisp.c it.first_visible_x = 0; it 15501 src/xdisp.c it.last_visible_x = WINDOW_PIXEL_WIDTH (w); it 15502 src/xdisp.c row = it.glyph_row; it 15507 src/xdisp.c reseat_to_string (&it, NULL, f->desired_tool_bar_string, it 15516 src/xdisp.c it.paragraph_embedding = L2R; it 15567 src/xdisp.c while (!ITERATOR_AT_END_P (&it)) it 15568 src/xdisp.c display_tool_bar_line (&it, -1); it 15575 src/xdisp.c if (it.current_y != it.last_visible_y) it 15580 src/xdisp.c height = max (1, (it.last_visible_y - border) / rows); it 15581 src/xdisp.c extra = it.last_visible_y - border - height * rows; it 15583 src/xdisp.c while (it.current_y < it.last_visible_y) it 15592 src/xdisp.c display_tool_bar_line (&it, height + h); it 15598 src/xdisp.c while (it.current_y < it.last_visible_y) it 15599 src/xdisp.c display_tool_bar_line (&it, 0); it 15611 src/xdisp.c if (IT_STRING_CHARPOS (it) < it.end_charpos) it 15618 src/xdisp.c row = it.glyph_row - 1; it 15630 src/xdisp.c && MATRIX_ROW_BOTTOM_Y (row) > it.last_visible_y) it 16094 src/xdisp.c struct it it; it 16111 src/xdisp.c init_to_row_start (&it, w, cursor_row); it 16113 src/xdisp.c it.first_visible_x = window_hscroll_limited (w, it.f) it 16114 src/xdisp.c * FRAME_COLUMN_WIDTH (it.f); it 16115 src/xdisp.c it.last_visible_x = DISP_INFINITY; it 16117 src/xdisp.c ptrdiff_t nchars = pt - IT_CHARPOS (it); it 16125 src/xdisp.c fast_move_it_horizontally (&it, nchars); it 16126 src/xdisp.c it.current_x += nchars * FRAME_COLUMN_WIDTH (it.f); it 16129 src/xdisp.c move_it_in_display_line_to (&it, pt, -1, MOVE_TO_POS); it 16136 src/xdisp.c if (it.method == GET_FROM_STRING && pt > 1) it 16138 src/xdisp.c init_to_row_start (&it, w, cursor_row); it 16140 src/xdisp.c it.first_visible_x = (window_hscroll_limited (w, it.f) it 16141 src/xdisp.c * FRAME_COLUMN_WIDTH (it.f)); it 16145 src/xdisp.c fast_move_it_horizontally (&it, nchars - 1); it 16146 src/xdisp.c it.current_x += (nchars - 1) * FRAME_COLUMN_WIDTH (it.f); it 16149 src/xdisp.c move_it_in_display_line_to (&it, pt - 1, -1, MOVE_TO_POS); it 16155 src/xdisp.c hscroll = max (0, (it.current_x it 16156 src/xdisp.c - (ITERATOR_AT_END_OF_LINE_P (&it) it 16157 src/xdisp.c ? (text_area_width - 4 * FRAME_COLUMN_WIDTH (it.f)) it 16159 src/xdisp.c / FRAME_COLUMN_WIDTH (it.f); it 16169 src/xdisp.c - hscroll_step_abs * FRAME_COLUMN_WIDTH (it.f) it 16172 src/xdisp.c = max (0, it.current_x - wanted_x) / FRAME_COLUMN_WIDTH (it.f); it 16181 src/xdisp.c hscroll_step_abs * FRAME_COLUMN_WIDTH (it.f) it 16184 src/xdisp.c = max (0, it.current_x - wanted_x) / FRAME_COLUMN_WIDTH (it.f); it 16497 src/xdisp.c overlay_arrow_at_row (struct it *it, struct glyph_row *row) it 16517 src/xdisp.c if (FRAME_WINDOW_P (it->f) it 16520 src/xdisp.c && WINDOW_LEFT_FRINGE_WIDTH (it->w) > 0) it 16951 src/xdisp.c struct it it; it 16956 src/xdisp.c start_display (&it, w, tlbufpos); it 16959 src/xdisp.c if (it.current_x != this_line_start_x) it 16965 src/xdisp.c if (it.sp > 1 it 16966 src/xdisp.c && it.method == GET_FROM_IMAGE && it.image_id == -1) it 16971 src/xdisp.c it.vpos = this_line_vpos; it 16972 src/xdisp.c it.current_y = this_line_y; it 16973 src/xdisp.c it.glyph_row = MATRIX_ROW (w->desired_matrix, this_line_vpos); it 16974 src/xdisp.c display_line (&it, -1); it 16995 src/xdisp.c if (it.current_y < it.last_visible_y) it 17022 src/xdisp.c if (MATRIX_ROW_DISPLAYS_TEXT_P (it.glyph_row - 1)) it 17077 src/xdisp.c struct it it; it 17083 src/xdisp.c init_iterator (&it, w, CHARPOS (tlbufpos), BYTEPOS (tlbufpos), it 17085 src/xdisp.c it.current_x = this_line_start_x; it 17086 src/xdisp.c it.current_y = this_line_y; it 17087 src/xdisp.c it.vpos = this_line_vpos; it 17090 src/xdisp.c && it.line_wrap == TRUNCATE it 17096 src/xdisp.c reseat_at_next_visible_line_start (&it, false); it 17097 src/xdisp.c if (IT_CHARPOS (it) <= PT) /* point moved off this line */ it 17098 src/xdisp.c it.vpos = this_line_vpos + 1; it 17104 src/xdisp.c move_it_to (&it, PT, -1, -1, -1, MOVE_TO_POS); it 17107 src/xdisp.c if (it.vpos == this_line_vpos it 17111 src/xdisp.c eassert (this_line_vpos == it.vpos); it 17112 src/xdisp.c eassert (this_line_y == it.current_y); it 18680 src/xdisp.c struct it it; it 18733 src/xdisp.c start_display (&it, w, startp); it 18734 src/xdisp.c scroll_margin_y = it.last_visible_y - partial_line_height (&it) it 18737 src/xdisp.c move_it_to (&it, PT, -1, scroll_margin_y - 1, -1, it 18740 src/xdisp.c if (PT > CHARPOS (it.current.pos)) it 18742 src/xdisp.c int y0 = line_bottom_y (&it); it 18749 src/xdisp.c int y_to_move = it.last_visible_y + slack; it 18755 src/xdisp.c move_it_to (&it, PT, -1, y_to_move, it 18757 src/xdisp.c dy = line_bottom_y (&it) - y0; it 18765 src/xdisp.c else if (PT == IT_CHARPOS (it) it 18766 src/xdisp.c && IT_CHARPOS (it) < ZV it 18767 src/xdisp.c && it.method == GET_FROM_STRING it 18769 src/xdisp.c && it.current_x == 0) it 18772 src/xdisp.c int y1 = it.current_y; it 18782 src/xdisp.c skip = move_it_in_display_line_to (&it, ZV, -1, MOVE_TO_POS); it 18784 src/xdisp.c || IT_CHARPOS (it) != PT it 18785 src/xdisp.c || it.method == GET_FROM_BUFFER) it 18787 src/xdisp.c vpos = it.vpos; it 18788 src/xdisp.c move_it_to (&it, -1, -1, -1, vpos + 1, MOVE_TO_VPOS); it 18789 src/xdisp.c } while (it.vpos > vpos); it 18791 src/xdisp.c dy = it.current_y - y1; it 18838 src/xdisp.c start_display (&it, w, startp); it 18840 src/xdisp.c move_it_vertically (&it, amount_to_scroll); it 18849 src/xdisp.c struct it it1; it 18855 src/xdisp.c SAVE_IT (it1, it, it1data); it 18858 src/xdisp.c RESTORE_IT (&it, &it, it1data); it 18859 src/xdisp.c move_it_by_lines (&it, 1); it 18860 src/xdisp.c SAVE_IT (it1, it, it1data); it 18861 src/xdisp.c } while (IT_CHARPOS (it) < ZV it 18867 src/xdisp.c if (IT_CHARPOS (it) == CHARPOS (startp)) it 18868 src/xdisp.c move_it_by_lines (&it, 1); it 18869 src/xdisp.c startp = it.current.pos; it 18882 src/xdisp.c start_display (&it, w, startp); it 18883 src/xdisp.c y_start = it.current_y; it 18884 src/xdisp.c move_it_vertically (&it, this_scroll_margin); it 18885 src/xdisp.c scroll_margin_pos = it.current.pos; it 18889 src/xdisp.c if (IT_CHARPOS (it) == ZV it 18890 src/xdisp.c && it.current_y - y_start < this_scroll_margin) it 18891 src/xdisp.c y_offset = this_scroll_margin - (it.current_y - y_start); it 18906 src/xdisp.c start_display (&it, w, pos); it 18907 src/xdisp.c y0 = it.current_y; it 18908 src/xdisp.c y_to_move = max (it.last_visible_y, it 18910 src/xdisp.c move_it_to (&it, CHARPOS (scroll_margin_pos), 0, it 18913 src/xdisp.c dy = it.current_y - y0; it 18915 src/xdisp.c || IT_CHARPOS (it) < CHARPOS (scroll_margin_pos)) it 18922 src/xdisp.c start_display (&it, w, startp); it 18953 src/xdisp.c move_it_vertically_backward (&it, amount_to_scroll); it 18954 src/xdisp.c startp = it.current.pos; it 19022 src/xdisp.c struct it it; it 19035 src/xdisp.c init_iterator (&it, w, CHARPOS (start_pos), BYTEPOS (start_pos), it 19037 src/xdisp.c reseat_at_previous_visible_line_start (&it); it 19045 src/xdisp.c if (IT_CHARPOS (it) <= PT it 19046 src/xdisp.c && (CHARPOS (start_pos) - IT_CHARPOS (it) it 19058 src/xdisp.c pos_before_pt = pos = it.current.pos; it 19060 src/xdisp.c while ((distance = eabs (CHARPOS (start_pos) - IT_CHARPOS (it))), it 19066 src/xdisp.c pos = it.current.pos; it 19067 src/xdisp.c if (it.line_wrap == WORD_WRAP) it 19078 src/xdisp.c move_it_to (&it, ZV, it.last_visible_x, it.current_y, -1, it 19080 src/xdisp.c move_it_to (&it, ZV, 0, it 19081 src/xdisp.c it.current_y + it.max_ascent + it.max_descent, -1, it 19085 src/xdisp.c move_it_by_lines (&it, 1); it 19551 src/xdisp.c struct it it; it 19559 src/xdisp.c start_display (&it, w, start_pos); it 19560 src/xdisp.c move_it_to (&it, -1, it.last_visible_x, window_box_height (w), -1, it 19562 src/xdisp.c end -= (BUF_Z (buf) - IT_CHARPOS (it)) - w->window_end_pos; it 19590 src/xdisp.c struct it it; it 19600 src/xdisp.c start_display (&it, w, startp); it 19601 src/xdisp.c it.last_visible_x = INT_MAX; it 19602 src/xdisp.c whole = move_it_to (&it, -1, INT_MAX, window_box_height (w), -1, it 19617 src/xdisp.c if (it.bidi_p) it 19741 src/xdisp.c struct it it; it 19966 src/xdisp.c start_display (&it, w, startp); it 19967 src/xdisp.c move_it_to (&it, PT, 0, it.last_visible_y, -1, it 19971 src/xdisp.c it_charpos = IT_CHARPOS (it); it 19977 src/xdisp.c if (it.current_y == 0 || line_bottom_y (&it) < it.last_visible_y) it 20430 src/xdisp.c init_iterator (&it, w, PT, PT_BYTE, NULL, DEFAULT_FACE_ID); it 20431 src/xdisp.c it.current_y = it.last_visible_y; it 20449 src/xdisp.c struct it it1; it 20452 src/xdisp.c SAVE_IT (it1, it, it1data); it 20456 src/xdisp.c RESTORE_IT (&it, &it, it1data); it 20486 src/xdisp.c centering_position = it.last_visible_y; it 20506 src/xdisp.c && it.line_wrap == TRUNCATE) it 20513 src/xdisp.c while (nlines-- && IT_CHARPOS (it) > BEGV) it 20514 src/xdisp.c back_to_previous_visible_line_start (&it); it 20515 src/xdisp.c reseat_1 (&it, it.current.pos, true); it 20518 src/xdisp.c move_it_vertically_backward (&it, centering_position); it 20520 src/xdisp.c eassert (IT_CHARPOS (it) >= BEGV); it 20527 src/xdisp.c if (it.current_y <= 0) it 20529 src/xdisp.c init_iterator (&it, w, PT, PT_BYTE, NULL, DEFAULT_FACE_ID); it 20530 src/xdisp.c move_it_vertically_backward (&it, 0); it 20531 src/xdisp.c it.current_y = 0; it 20534 src/xdisp.c it.current_x = it.hpos = 0; it 20539 src/xdisp.c set_marker_both (w->start, Qnil, IT_CHARPOS (it), IT_BYTEPOS (it)); it 20542 src/xdisp.c startp = run_window_scroll_functions (window, it.current.pos); it 20581 src/xdisp.c move_it_by_lines (&it, 1); it 20582 src/xdisp.c try_window (window, it.current.pos, 0); it 20584 src/xdisp.c else if (PT < IT_CHARPOS (it)) it 20587 src/xdisp.c move_it_by_lines (&it, -1); it 20588 src/xdisp.c try_window (window, it.current.pos, 0); it 20591 src/xdisp.c && (it.method == GET_FROM_STRING it 20592 src/xdisp.c || overlay_touches_p (IT_CHARPOS (it))) it 20593 src/xdisp.c && IT_CHARPOS (it) < ZV) it 20603 src/xdisp.c ptrdiff_t pos0 = IT_CHARPOS (it); it 20607 src/xdisp.c move_it_by_lines (&it, 1); it 20608 src/xdisp.c } while (IT_CHARPOS (it) == pos0); it 20609 src/xdisp.c try_window (window, it.current.pos, 0); it 20695 src/xdisp.c move_it_by_lines (&it, move_down ? margin + 1 : -(margin + 1)); it 20697 src/xdisp.c if (1 == try_window (window, it.current.pos, it 20932 src/xdisp.c struct it it; it 20945 src/xdisp.c start_display (&it, w, pos); it 20946 src/xdisp.c it.glyph_row->reversed_p = false; it 20949 src/xdisp.c while (it.current_y < it.last_visible_y) it 20951 src/xdisp.c int last_row_scale = it.w->nrows_scale_factor; it 20952 src/xdisp.c int last_col_scale = it.w->ncols_scale_factor; it 20953 src/xdisp.c if (display_line (&it, cursor_vpos)) it 20954 src/xdisp.c last_text_row = it.glyph_row - 1; it 20959 src/xdisp.c && last_row_scale == it.w->nrows_scale_factor it 20960 src/xdisp.c && last_col_scale == it.w->ncols_scale_factor)) it 20966 src/xdisp.c ptrdiff_t it_charpos = IT_CHARPOS (it); it 20981 src/xdisp.c start_display (&it, w, pos); it 20990 src/xdisp.c || w->cursor.y > (it.last_visible_y - partial_line_height (&it) it 21042 src/xdisp.c struct it it; it 21126 src/xdisp.c start_display (&it, w, new_start); it 21130 src/xdisp.c while (it.current_y < it.last_visible_y && !f->fonts_changed) it 21136 src/xdisp.c while (IT_CHARPOS (it) > CHARPOS (start)) it 21154 src/xdisp.c if (IT_CHARPOS (it) == CHARPOS (start) it 21160 src/xdisp.c && it.current.dpvec_index < 0) it 21163 src/xdisp.c it.glyph_row->reversed_p = false; it 21164 src/xdisp.c if (display_line (&it, -1)) it 21165 src/xdisp.c last_text_row = it.glyph_row - 1; it 21172 src/xdisp.c if (it.current_y < it.last_visible_y) it 21177 src/xdisp.c nrows_scrolled = it.vpos - (start_row - MATRIX_FIRST_TEXT_ROW (w->current_matrix)); it 21182 src/xdisp.c int dy = it.current_y - start_row->y; it 21203 src/xdisp.c run.desired_y = it.current_y; it 21204 src/xdisp.c run.height = it.last_visible_y - it.current_y; it 21231 src/xdisp.c max_y = it.last_visible_y; it 21236 src/xdisp.c row->y = it.current_y; it 21246 src/xdisp.c it.current_y += row->height; it 21250 src/xdisp.c if (MATRIX_ROW_BOTTOM_Y (row) >= it.last_visible_y) it 21330 src/xdisp.c init_to_row_start (&it, w, first_row_to_display); it 21334 src/xdisp.c it.vpos = (MATRIX_ROW_VPOS (first_row_to_display, w->current_matrix) it 21336 src/xdisp.c it.current_y = (first_row_to_display->y - first_reusable_row->y it 21342 src/xdisp.c it.glyph_row = MATRIX_ROW (w->desired_matrix, it.vpos); it 21346 src/xdisp.c while (it.current_y < it.last_visible_y && !f->fonts_changed) it 21347 src/xdisp.c if (display_line (&it, w->cursor.vpos)) it 21348 src/xdisp.c last_text_row = it.glyph_row - 1; it 21371 src/xdisp.c run.height = it.last_visible_y - run.current_y; it 21389 src/xdisp.c max_y = it.last_visible_y; it 21488 src/xdisp.c find_last_row_displaying_text (struct glyph_matrix *, struct it *, it 21498 src/xdisp.c find_last_row_displaying_text (struct glyph_matrix *matrix, struct it *it, it 21512 src/xdisp.c if (MATRIX_ROW_BOTTOM_Y (row) >= it->last_visible_y) it 21835 src/xdisp.c struct it it; it 22127 src/xdisp.c if (! init_to_row_end (&it, w, last_unchanged_at_beg_row)) it 22132 src/xdisp.c if (it.sp > 1 it 22133 src/xdisp.c && it.method == GET_FROM_IMAGE && it.image_id == -1) it 22135 src/xdisp.c start_pos = it.current.pos; it 22140 src/xdisp.c it.vpos = 1 + MATRIX_ROW_VPOS (last_unchanged_at_beg_row, it 22142 src/xdisp.c it.glyph_row = MATRIX_ROW (desired_matrix, it.vpos); it 22143 src/xdisp.c it.current_y = MATRIX_ROW_BOTTOM_Y (last_unchanged_at_beg_row); it 22145 src/xdisp.c eassert (it.hpos == 0 && it.current_x == 0); it 22151 src/xdisp.c start_display (&it, w, start); it 22152 src/xdisp.c it.vpos = it.first_vpos; it 22153 src/xdisp.c start_pos = it.current.pos; it 22185 src/xdisp.c < it.last_visible_y)) it 22190 src/xdisp.c >= it.last_visible_y)) it 22228 src/xdisp.c if (it.current_y < it.last_visible_y it 22231 src/xdisp.c || IT_CHARPOS (it) < stop_pos)) it 22232 src/xdisp.c it.glyph_row->reversed_p = false; it 22233 src/xdisp.c while (it.current_y < it.last_visible_y it 22236 src/xdisp.c || IT_CHARPOS (it) < stop_pos)) it 22238 src/xdisp.c if (display_line (&it, -1)) it 22239 src/xdisp.c last_text_row = it.glyph_row - 1; it 22267 src/xdisp.c && it.current_y < it.last_visible_y) it 22269 src/xdisp.c dvpos = (it.vpos it 22272 src/xdisp.c dy = it.current_y - first_unchanged_at_end_row->y; it 22275 src/xdisp.c run.height = it.last_visible_y - max (run.current_y, run.desired_y); it 22343 src/xdisp.c : cursor_height + bot_scroll_margin)) > it.last_visible_y) it 22461 src/xdisp.c if (first_unchanged_at_end_row->y >= it.last_visible_y it 22485 src/xdisp.c if (MATRIX_ROW_BOTTOM_Y (last_row) - dy >= it.last_visible_y) it 22487 src/xdisp.c init_to_row_start (&it, w, last_row); it 22488 src/xdisp.c it.vpos = last_vpos; it 22489 src/xdisp.c it.current_y = last_row->y; it 22493 src/xdisp.c init_to_row_end (&it, w, last_row); it 22494 src/xdisp.c it.vpos = 1 + last_vpos; it 22495 src/xdisp.c it.current_y = MATRIX_ROW_BOTTOM_Y (last_row); it 22501 src/xdisp.c it.continuation_lines_width = last_row->continuation_lines_width; it 22502 src/xdisp.c it.hpos = it.current_x = 0; it 22505 src/xdisp.c it.glyph_row = MATRIX_ROW (desired_matrix, it.vpos); it 22506 src/xdisp.c while (it.current_y < it.last_visible_y && !f->fonts_changed) it 22512 src/xdisp.c SET_MATRIX_ROW_ENABLED_P (w->current_matrix, it.vpos, false); it 22513 src/xdisp.c if (display_line (&it, w->cursor.vpos)) it 22514 src/xdisp.c last_text_row_at_end = it.glyph_row - 1; it 22526 src/xdisp.c row = find_last_row_displaying_text (w->current_matrix, &it, it 23038 src/xdisp.c struct it it; it 23043 src/xdisp.c init_iterator (&it, w, -1, -1, &scratch_glyph_row, DEFAULT_FACE_ID); it 23045 src/xdisp.c it.glyph_row->used[TEXT_AREA] = 0; it 23046 src/xdisp.c SET_TEXT_POS (it.position, 0, 0); it 23056 src/xdisp.c it.c = it.char_to_display = check_char_and_length (p, &it.len); it 23059 src/xdisp.c it.c = it.char_to_display = *p, it.len = 1; it 23060 src/xdisp.c if (! ASCII_CHAR_P (it.c)) it 23061 src/xdisp.c it.char_to_display = BYTE8_TO_CHAR (it.c); it 23063 src/xdisp.c p += it.len; it 23068 src/xdisp.c it.face_id = compute_char_face (f, it.char_to_display, face); it 23071 src/xdisp.c n_glyphs_before = it.glyph_row->used[TEXT_AREA]; it 23072 src/xdisp.c SET_TEXT_POS (it.position, -1, -1); it 23073 src/xdisp.c PRODUCE_GLYPHS (&it); it 23077 src/xdisp.c if (it.current_x > it.last_visible_x) it 23079 src/xdisp.c it.glyph_row->used[TEXT_AREA] = n_glyphs_before; it 23085 src/xdisp.c return it.glyph_row; it 23093 src/xdisp.c insert_left_trunc_glyphs (struct it *it) it 23095 src/xdisp.c struct it truncate_it; it 23098 src/xdisp.c eassert (!FRAME_WINDOW_P (it->f) it 23099 src/xdisp.c || (!it->glyph_row->reversed_p it 23100 src/xdisp.c && WINDOW_LEFT_FRINGE_WIDTH (it->w) == 0) it 23101 src/xdisp.c || (it->glyph_row->reversed_p it 23102 src/xdisp.c && WINDOW_RIGHT_FRINGE_WIDTH (it->w) == 0)); it 23105 src/xdisp.c truncate_it = *it; it 23116 src/xdisp.c if (!it->glyph_row->reversed_p) it 23122 src/xdisp.c to = it->glyph_row->glyphs[TEXT_AREA]; it 23123 src/xdisp.c toend = to + it->glyph_row->used[TEXT_AREA]; it 23124 src/xdisp.c if (FRAME_WINDOW_P (it->f)) it 23142 src/xdisp.c it->glyph_row->x = 0; it 23143 src/xdisp.c while (g < toend && w < it->truncation_pixel_width) it 23151 src/xdisp.c it->glyph_row->used[TEXT_AREA] -= g - to - tused; it 23153 src/xdisp.c used = it->glyph_row->used[TEXT_AREA]; it 23154 src/xdisp.c if (it->glyph_row->truncated_on_right_p it 23155 src/xdisp.c && WINDOW_RIGHT_FRINGE_WIDTH (it->w) == 0 it 23156 src/xdisp.c && it->glyph_row->glyphs[TEXT_AREA][used - 2].type it 23159 src/xdisp.c int extra = w - it->truncation_pixel_width; it 23161 src/xdisp.c it->glyph_row->glyphs[TEXT_AREA][used - 2].pixel_width += extra; it 23169 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) it 23180 src/xdisp.c it->glyph_row->used[TEXT_AREA] = to - it->glyph_row->glyphs[TEXT_AREA]; it 23190 src/xdisp.c toend = it->glyph_row->glyphs[TEXT_AREA]; it 23191 src/xdisp.c to = toend + it->glyph_row->used[TEXT_AREA] - 1; it 23192 src/xdisp.c if (FRAME_WINDOW_P (it->f)) it 23197 src/xdisp.c while (g >= toend && w < it->truncation_pixel_width) it 23204 src/xdisp.c if (it->glyph_row->truncated_on_right_p it 23205 src/xdisp.c && WINDOW_LEFT_FRINGE_WIDTH (it->w) == 0 it 23206 src/xdisp.c && it->glyph_row->glyphs[TEXT_AREA][1].type == STRETCH_GLYPH) it 23208 src/xdisp.c int extra = w - it->truncation_pixel_width; it 23210 src/xdisp.c it->glyph_row->glyphs[TEXT_AREA][1].pixel_width += extra; it 23216 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) it 23232 src/xdisp.c struct glyph *g0 = it->glyph_row->glyphs[TEXT_AREA]; it 23233 src/xdisp.c struct glyph *g = g0 + it->glyph_row->used[TEXT_AREA] - 1; it 23239 src/xdisp.c it->glyph_row->used[TEXT_AREA] += move_by; it 23280 src/xdisp.c compute_line_metrics (struct it *it) it 23282 src/xdisp.c struct glyph_row *row = it->glyph_row; it 23284 src/xdisp.c if (FRAME_WINDOW_P (it->f)) it 23293 src/xdisp.c if (it->max_ascent + it->max_descent == 0) it 23294 src/xdisp.c it->max_descent = it->max_phys_descent = FRAME_LINE_HEIGHT (it->f); it 23295 src/xdisp.c row->ascent = it->max_ascent; it 23296 src/xdisp.c row->height = it->max_ascent + it->max_descent; it 23297 src/xdisp.c row->phys_ascent = it->max_phys_ascent; it 23298 src/xdisp.c row->phys_height = it->max_phys_ascent + it->max_phys_descent; it 23299 src/xdisp.c row->extra_line_spacing = it->max_extra_line_spacing; it 23316 src/xdisp.c if (row == MATRIX_FIRST_TEXT_ROW (it->w->desired_matrix) it 23326 src/xdisp.c min_y = WINDOW_TAB_LINE_HEIGHT (it->w) + WINDOW_HEADER_LINE_HEIGHT (it->w); it 23327 src/xdisp.c max_y = WINDOW_BOX_HEIGHT_NO_MODE_LINE (it->w); it 23338 src/xdisp.c row->pixel_width -= it->continuation_pixel_width; it 23340 src/xdisp.c row->pixel_width -= it->truncation_pixel_width; it 23349 src/xdisp.c it->max_ascent = it->max_descent = 0; it 23350 src/xdisp.c it->max_phys_ascent = it->max_phys_descent = 0; it 23355 src/xdisp.c clear_position (struct it *it) it 23357 src/xdisp.c it->position.charpos = 0; it 23358 src/xdisp.c it->position.bytepos = 0; it 23374 src/xdisp.c append_space_for_newline (struct it *it, bool default_face_p) it 23376 src/xdisp.c int n = it->glyph_row->used[TEXT_AREA]; it 23378 src/xdisp.c if (it->glyph_row->glyphs[TEXT_AREA] + n it 23379 src/xdisp.c < it->glyph_row->glyphs[1 + TEXT_AREA]) it 23385 src/xdisp.c enum display_element_type saved_what = it->what; it 23386 src/xdisp.c int saved_c = it->c, saved_len = it->len; it 23387 src/xdisp.c int saved_char_to_display = it->char_to_display; it 23388 src/xdisp.c int saved_x = it->current_x; it 23389 src/xdisp.c const int saved_face_id = it->face_id; it 23390 src/xdisp.c bool saved_box_end = it->end_of_box_run_p; it 23391 src/xdisp.c struct text_pos saved_pos = it->position; it 23392 src/xdisp.c Lisp_Object saved_object = it->object; it 23395 src/xdisp.c it->what = IT_CHARACTER; it 23396 src/xdisp.c clear_position (it); it 23397 src/xdisp.c it->object = Qnil; it 23398 src/xdisp.c it->len = 1; it 23404 src/xdisp.c || FRAME_WINDOW_P (it->f) it 23409 src/xdisp.c lookup_basic_face (it->w, it->f, DEFAULT_FACE_ID); it 23412 src/xdisp.c if (FRAME_WINDOW_P (it->f)) it 23415 src/xdisp.c = FACE_FROM_ID (it->f, local_default_face_id); it 23418 src/xdisp.c : FRAME_FONT (it->f)); it 23425 src/xdisp.c it->face_id = local_default_face_id; it 23432 src/xdisp.c fill_column_indicator_column (it, char_width); it 23433 src/xdisp.c int saved_end_of_box_run = it->end_of_box_run_p; it 23436 src/xdisp.c if (it->current_x == indicator_column) it 23438 src/xdisp.c it->c = it->char_to_display it 23440 src/xdisp.c it->face_id it 23441 src/xdisp.c = merge_faces (it->w, Qfill_column_indicator, it 23443 src/xdisp.c face = FACE_FROM_ID (it->f, it->face_id); it 23447 src/xdisp.c it->c = it->char_to_display = ' '; it 23451 src/xdisp.c face = FACE_FROM_ID (it->f, it->face_id); it 23452 src/xdisp.c it->face_id = FACE_FOR_CHAR (it->f, face, 0, -1, Qnil); it 23457 src/xdisp.c if (!(it->glyph_row->reversed_p it 23461 src/xdisp.c && saved_x + FRAME_COLUMN_WIDTH (it->f) < it->last_visible_x)) it 23464 src/xdisp.c PRODUCE_GLYPHS (it); it 23468 src/xdisp.c it->end_of_box_run_p = saved_end_of_box_run; it 23470 src/xdisp.c if (FRAME_WINDOW_P (it->f)) it 23475 src/xdisp.c struct glyph *g = it->glyph_row->glyphs[TEXT_AREA] + n; it 23476 src/xdisp.c struct font *font = face->font ? face->font : FRAME_FONT (it->f); it 23480 src/xdisp.c int extra_line_spacing = it->extra_line_spacing; it 23484 src/xdisp.c boff = VCENTER_BASELINE_OFFSET (font, it->f) - boff; it 23486 src/xdisp.c it->object = saved_object; /* get_it_property needs this */ it 23487 src/xdisp.c normal_char_ascent_descent (font, -1, &it->ascent, &it->descent); it 23490 src/xdisp.c height = get_it_property (it, Qline_height); it 23500 src/xdisp.c height = calc_line_height_property (it, height, font, boff, true); it 23502 src/xdisp.c if (it->override_ascent >= 0) it 23504 src/xdisp.c it->ascent = it->override_ascent; it 23505 src/xdisp.c it->descent = it->override_descent; it 23506 src/xdisp.c boff = it->override_boff; it 23514 src/xdisp.c it->phys_ascent = it->ascent; it 23515 src/xdisp.c it->phys_descent = it->descent; it 23517 src/xdisp.c && XFIXNUM (height) > it->ascent + it->descent) it 23518 src/xdisp.c it->ascent = XFIXNUM (height) - it->descent; it 23521 src/xdisp.c spacing = calc_line_height_property (it, total_height, font, it 23525 src/xdisp.c spacing = get_it_property (it, Qline_spacing); it 23526 src/xdisp.c spacing = calc_line_height_property (it, spacing, font, it 23533 src/xdisp.c extra_line_spacing -= (it->phys_ascent + it->phys_descent); it 23538 src/xdisp.c it->descent += extra_line_spacing; it 23539 src/xdisp.c if (extra_line_spacing > it->max_extra_line_spacing) it 23540 src/xdisp.c it->max_extra_line_spacing = extra_line_spacing; it 23542 src/xdisp.c it->max_ascent = it->ascent; it 23543 src/xdisp.c it->max_descent = it->descent; it 23545 src/xdisp.c it->glyph_row->height = 0; it 23548 src/xdisp.c g->ascent = it->max_ascent; it 23549 src/xdisp.c g->descent = it->max_descent; it 23552 src/xdisp.c it->override_ascent = -1; it 23553 src/xdisp.c it->constrain_row_ascent_descent_p = false; it 23554 src/xdisp.c it->current_x = saved_x; it 23555 src/xdisp.c it->object = saved_object; it 23556 src/xdisp.c it->position = saved_pos; it 23557 src/xdisp.c it->what = saved_what; it 23558 src/xdisp.c it->face_id = saved_face_id; it 23559 src/xdisp.c it->len = saved_len; it 23560 src/xdisp.c it->c = saved_c; it 23561 src/xdisp.c it->char_to_display = saved_char_to_display; it 23562 src/xdisp.c it->end_of_box_run_p = saved_box_end; it 23578 src/xdisp.c extend_face_to_end_of_line (struct it *it) it 23580 src/xdisp.c struct frame *f = it->f; it 23587 src/xdisp.c if ((it->current_x >= it->last_visible_x it 23589 src/xdisp.c && it->glyph_row->reversed_p it 23590 src/xdisp.c && !it->glyph_row->continued_p)) it 23593 src/xdisp.c && !(WINDOW_LEFT_MARGIN_WIDTH (it->w) > 0 it 23594 src/xdisp.c || WINDOW_RIGHT_MARGIN_WIDTH (it->w) > 0)) it 23605 src/xdisp.c FACE_FROM_ID_OR_NULL (f, lookup_basic_face (it->w, f, DEFAULT_FACE_ID)); it 23610 src/xdisp.c (it->face_id == default_face->id || it->s != NULL) it 23611 src/xdisp.c ? it->face_id it 23612 src/xdisp.c : (it->glyph_row->ends_at_zv_p it 23614 src/xdisp.c : face_at_pos (it, LFACE_EXTEND_INDEX)); it 23620 src/xdisp.c struct face *face = FACE_FROM_ID (f, (it->face_before_selective_p it 23621 src/xdisp.c ? it->saved_face_id it 23625 src/xdisp.c && MATRIX_ROW_DISPLAYS_TEXT_P (it->glyph_row) it 23634 src/xdisp.c && !it->glyph_row->reversed_p it 23640 src/xdisp.c it->glyph_row->fill_line_p = true; it 23642 src/xdisp.c const int orig_face_id = it->face_id; it 23648 src/xdisp.c if (!ASCII_CHAR_P (it->c)) it 23649 src/xdisp.c it->face_id = FACE_FOR_CHAR (f, face, 0, -1, Qnil); it 23657 src/xdisp.c if (it->glyph_row->used[TEXT_AREA] == 0) it 23659 src/xdisp.c it->glyph_row->glyphs[TEXT_AREA][0] = space_glyph; it 23660 src/xdisp.c it->glyph_row->glyphs[TEXT_AREA][0].face_id = face->id; it 23661 src/xdisp.c it->glyph_row->used[TEXT_AREA] = 1; it 23665 src/xdisp.c if (!(it->glyph_row->mode_line_p it 23667 src/xdisp.c && it->w == XWINDOW (f->tab_bar_window)) it 23670 src/xdisp.c && it->w == XWINDOW (f->tool_bar_window)) it 23674 src/xdisp.c if (WINDOW_LEFT_MARGIN_WIDTH (it->w) > 0 it 23675 src/xdisp.c && it->glyph_row->used[LEFT_MARGIN_AREA] == 0) it 23677 src/xdisp.c it->glyph_row->glyphs[LEFT_MARGIN_AREA][0] = space_glyph; it 23678 src/xdisp.c it->glyph_row->glyphs[LEFT_MARGIN_AREA][0].face_id = it 23680 src/xdisp.c it->glyph_row->used[LEFT_MARGIN_AREA] = 1; it 23682 src/xdisp.c if (WINDOW_RIGHT_MARGIN_WIDTH (it->w) > 0 it 23683 src/xdisp.c && it->glyph_row->used[RIGHT_MARGIN_AREA] == 0) it 23685 src/xdisp.c it->glyph_row->glyphs[RIGHT_MARGIN_AREA][0] = space_glyph; it 23686 src/xdisp.c it->glyph_row->glyphs[RIGHT_MARGIN_AREA][0].face_id = it 23688 src/xdisp.c it->glyph_row->used[RIGHT_MARGIN_AREA] = 1; it 23700 src/xdisp.c fill_column_indicator_column (it, char_width); it 23702 src/xdisp.c const char saved_char = it->char_to_display; it 23703 src/xdisp.c const struct text_pos saved_pos = it->position; it 23704 src/xdisp.c const bool saved_avoid_cursor = it->avoid_cursor_p; it 23705 src/xdisp.c const bool saved_box_start = it->start_of_box_run_p; it 23706 src/xdisp.c Lisp_Object save_object = it->object; it 23707 src/xdisp.c const int saved_face_id = it->face_id; it 23709 src/xdisp.c it->face_id = extend_face_id; it 23710 src/xdisp.c it->avoid_cursor_p = true; it 23711 src/xdisp.c it->object = Qnil; it 23713 src/xdisp.c const int stretch_height = it->ascent + it->descent; it 23718 src/xdisp.c && indicator_column > it->current_x it 23719 src/xdisp.c && indicator_column < it->last_visible_x) it 23726 src/xdisp.c indicator_column - it->current_x - char_width; it 23728 src/xdisp.c clear_position (it); it 23734 src/xdisp.c append_stretch_glyph (it, Qnil, stretch_width, it 23740 src/xdisp.c if (it->current_x < indicator_column) it 23742 src/xdisp.c const int save_face_id = it->face_id; it 23743 src/xdisp.c const int save_ascent = it->ascent; it 23744 src/xdisp.c const int save_descent = it->descent; it 23745 src/xdisp.c it->char_to_display it 23747 src/xdisp.c it->face_id it 23748 src/xdisp.c = merge_faces (it->w, Qfill_column_indicator, it 23750 src/xdisp.c PRODUCE_GLYPHS (it); it 23751 src/xdisp.c it->face_id = save_face_id; it 23752 src/xdisp.c it->ascent = save_ascent; it 23753 src/xdisp.c it->descent = save_descent; it 23759 src/xdisp.c if (!it->glyph_row->reversed_p) it 23761 src/xdisp.c const int stretch_width = it->last_visible_x - it->current_x; it 23765 src/xdisp.c clear_position (it); it 23766 src/xdisp.c append_stretch_glyph (it, Qnil, stretch_width, it 23771 src/xdisp.c it->char_to_display = saved_char; it 23772 src/xdisp.c it->position = saved_pos; it 23773 src/xdisp.c it->avoid_cursor_p = saved_avoid_cursor; it 23774 src/xdisp.c it->start_of_box_run_p = saved_box_start; it 23775 src/xdisp.c it->object = save_object; it 23776 src/xdisp.c it->face_id = saved_face_id; it 23778 src/xdisp.c if (it->glyph_row->reversed_p) it 23786 src/xdisp.c struct glyph *row_start = it->glyph_row->glyphs[TEXT_AREA]; it 23787 src/xdisp.c struct glyph *row_end = row_start + it->glyph_row->used[TEXT_AREA]; it 23800 src/xdisp.c if ((WINDOW_LEFT_FRINGE_WIDTH (it->w) == 0) it 23801 src/xdisp.c == (WINDOW_RIGHT_FRINGE_WIDTH (it->w) == 0) it 23802 src/xdisp.c || WINDOW_RIGHT_FRINGE_WIDTH (it->w) != 0) it 23803 src/xdisp.c stretch_width = window_box_width (it->w, TEXT_AREA); it 23805 src/xdisp.c stretch_width = it->last_visible_x - it->first_visible_x; it 23811 src/xdisp.c (((it->ascent + it->descent) it 23813 src/xdisp.c saved_pos = it->position; it 23814 src/xdisp.c clear_position (it); it 23815 src/xdisp.c saved_avoid_cursor = it->avoid_cursor_p; it 23816 src/xdisp.c it->avoid_cursor_p = true; it 23817 src/xdisp.c saved_face_id = it->face_id; it 23818 src/xdisp.c saved_box_start = it->start_of_box_run_p; it 23822 src/xdisp.c it->face_id = (it->glyph_row->ends_at_zv_p ? it 23825 src/xdisp.c it->start_of_box_run_p = false; it 23826 src/xdisp.c append_stretch_glyph (it, Qnil, stretch_width, it 23827 src/xdisp.c it->ascent + it->descent, stretch_ascent); it 23828 src/xdisp.c it->position = saved_pos; it 23829 src/xdisp.c it->avoid_cursor_p = saved_avoid_cursor; it 23830 src/xdisp.c it->face_id = saved_face_id; it 23831 src/xdisp.c it->start_of_box_run_p = saved_box_start; it 23838 src/xdisp.c it->glyph_row->x = stretch_width; it 23840 src/xdisp.c it->face_id = orig_face_id; it 23846 src/xdisp.c int saved_x = it->current_x; it 23847 src/xdisp.c struct text_pos saved_pos = it->position; it 23848 src/xdisp.c Lisp_Object saved_object = it->object;; it 23849 src/xdisp.c enum display_element_type saved_what = it->what; it 23851 src/xdisp.c it->what = IT_CHARACTER; it 23852 src/xdisp.c clear_position (it); it 23853 src/xdisp.c it->object = Qnil; it 23854 src/xdisp.c it->c = it->char_to_display = ' '; it 23855 src/xdisp.c it->len = 1; it 23857 src/xdisp.c if (WINDOW_LEFT_MARGIN_WIDTH (it->w) > 0 it 23858 src/xdisp.c && (it->glyph_row->used[LEFT_MARGIN_AREA] it 23859 src/xdisp.c < WINDOW_LEFT_MARGIN_WIDTH (it->w)) it 23860 src/xdisp.c && !it->glyph_row->mode_line_p it 23863 src/xdisp.c struct glyph *g = it->glyph_row->glyphs[LEFT_MARGIN_AREA]; it 23864 src/xdisp.c struct glyph *e = g + it->glyph_row->used[LEFT_MARGIN_AREA]; it 23866 src/xdisp.c for (it->current_x = 0; g < e; g++) it 23867 src/xdisp.c it->current_x += g->pixel_width; it 23869 src/xdisp.c it->area = LEFT_MARGIN_AREA; it 23870 src/xdisp.c it->face_id = default_face->id; it 23871 src/xdisp.c while (it->glyph_row->used[LEFT_MARGIN_AREA] it 23872 src/xdisp.c < WINDOW_LEFT_MARGIN_WIDTH (it->w) it 23873 src/xdisp.c && g < it->glyph_row->glyphs[TEXT_AREA]) it 23875 src/xdisp.c PRODUCE_GLYPHS (it); it 23878 src/xdisp.c it->current_x += it->pixel_width; it 23882 src/xdisp.c it->current_x = saved_x; it 23883 src/xdisp.c it->area = TEXT_AREA; it 23889 src/xdisp.c it->face_id = (it->glyph_row->ends_at_zv_p ? it 23896 src/xdisp.c it->current_x = it->glyph_row->used[TEXT_AREA]; it 23906 src/xdisp.c fill_column_indicator_column (it, 1) - it->first_visible_x; it 23909 src/xdisp.c while (it->current_x <= it->last_visible_x) it 23911 src/xdisp.c if (it->current_x != indicator_column) it 23912 src/xdisp.c PRODUCE_GLYPHS (it); it 23915 src/xdisp.c int saved_face_id = it->face_id; it 23916 src/xdisp.c it->face_id it 23917 src/xdisp.c = merge_faces (it->w, Qfill_column_indicator, 0, extend_face_id); it 23918 src/xdisp.c it->c = it->char_to_display it 23921 src/xdisp.c PRODUCE_GLYPHS (it); it 23923 src/xdisp.c it->face_id = saved_face_id; it 23924 src/xdisp.c it->c = it->char_to_display = ' '; it 23928 src/xdisp.c if (WINDOW_RIGHT_MARGIN_WIDTH (it->w) > 0 it 23929 src/xdisp.c && (it->glyph_row->used[RIGHT_MARGIN_AREA] it 23930 src/xdisp.c < WINDOW_RIGHT_MARGIN_WIDTH (it->w)) it 23931 src/xdisp.c && !it->glyph_row->mode_line_p it 23934 src/xdisp.c struct glyph *g = it->glyph_row->glyphs[RIGHT_MARGIN_AREA]; it 23935 src/xdisp.c struct glyph *e = g + it->glyph_row->used[RIGHT_MARGIN_AREA]; it 23938 src/xdisp.c it->current_x += g->pixel_width; it 23940 src/xdisp.c it->area = RIGHT_MARGIN_AREA; it 23941 src/xdisp.c it->face_id = default_face->id; it 23942 src/xdisp.c while (it->glyph_row->used[RIGHT_MARGIN_AREA] it 23943 src/xdisp.c < WINDOW_RIGHT_MARGIN_WIDTH (it->w) it 23944 src/xdisp.c && g < it->glyph_row->glyphs[LAST_AREA]) it 23946 src/xdisp.c PRODUCE_GLYPHS (it); it 23947 src/xdisp.c it->current_x += it->pixel_width; it 23951 src/xdisp.c it->area = TEXT_AREA; it 23956 src/xdisp.c it->current_x = saved_x; it 23957 src/xdisp.c it->object = saved_object; it 23958 src/xdisp.c it->position = saved_pos; it 23959 src/xdisp.c it->what = saved_what; it 23960 src/xdisp.c it->face_id = orig_face_id; it 23991 src/xdisp.c highlight_trailing_whitespace (struct it *it) it 23993 src/xdisp.c struct glyph_row *row = it->glyph_row; it 24039 src/xdisp.c int face_id = lookup_named_face (it->w, it->f, Qtrailing_whitespace, false); it 24170 src/xdisp.c push_prefix_prop (struct it *it, Lisp_Object prop) it 24173 src/xdisp.c STRINGP (it->string) ? it->current.string_pos : it->current.pos; it 24175 src/xdisp.c eassert (it->method == GET_FROM_BUFFER it 24176 src/xdisp.c || it->method == GET_FROM_DISPLAY_VECTOR it 24177 src/xdisp.c || it->method == GET_FROM_STRING it 24178 src/xdisp.c || it->method == GET_FROM_IMAGE); it 24184 src/xdisp.c push_it (it, &pos); it 24190 src/xdisp.c pop_it (it); it 24194 src/xdisp.c it->string = prop; it 24195 src/xdisp.c it->string_from_prefix_prop_p = true; it 24196 src/xdisp.c it->multibyte_p = STRING_MULTIBYTE (it->string); it 24197 src/xdisp.c it->current.overlay_string_index = -1; it 24198 src/xdisp.c IT_STRING_CHARPOS (*it) = IT_STRING_BYTEPOS (*it) = 0; it 24199 src/xdisp.c it->end_charpos = it->string_nchars = SCHARS (it->string); it 24200 src/xdisp.c it->method = GET_FROM_STRING; it 24201 src/xdisp.c it->stop_charpos = 0; it 24202 src/xdisp.c it->prev_stop = 0; it 24203 src/xdisp.c it->base_level_stop = 0; it 24204 src/xdisp.c it->cmp_it.id = -1; it 24208 src/xdisp.c if (it->bidi_p && it->bidi_it.paragraph_dir == R2L) it 24209 src/xdisp.c it->paragraph_embedding = it->bidi_it.paragraph_dir; it 24211 src/xdisp.c it->paragraph_embedding = L2R; it 24214 src/xdisp.c if (it->bidi_p) it 24216 src/xdisp.c it->bidi_it.string.lstring = it->string; it 24217 src/xdisp.c it->bidi_it.string.s = NULL; it 24218 src/xdisp.c it->bidi_it.string.schars = it->end_charpos; it 24219 src/xdisp.c it->bidi_it.string.bufpos = IT_CHARPOS (*it); it 24220 src/xdisp.c it->bidi_it.string.from_disp_str = it->string_from_display_prop_p; it 24221 src/xdisp.c it->bidi_it.string.unibyte = !it->multibyte_p; it 24222 src/xdisp.c it->bidi_it.w = it->w; it 24223 src/xdisp.c bidi_init_it (0, 0, FRAME_WINDOW_P (it->f), &it->bidi_it); it 24228 src/xdisp.c it->method = GET_FROM_STRETCH; it 24229 src/xdisp.c it->object = prop; it 24234 src/xdisp.c it->what = IT_IMAGE; it 24235 src/xdisp.c it->image_id = lookup_image (it->f, prop, it->face_id); it 24236 src/xdisp.c it->method = GET_FROM_IMAGE; it 24241 src/xdisp.c pop_it (it); /* bogus display property, give up */ it 24251 src/xdisp.c get_it_property (struct it *it, Lisp_Object prop) it 24253 src/xdisp.c Lisp_Object position, object = it->object; it 24256 src/xdisp.c position = make_fixnum (IT_STRING_CHARPOS (*it)); it 24259 src/xdisp.c position = make_fixnum (IT_CHARPOS (*it)); it 24260 src/xdisp.c object = it->window; it 24272 src/xdisp.c get_line_prefix_it_property (struct it *it, Lisp_Object prop) it 24274 src/xdisp.c Lisp_Object prefix = get_it_property (it, prop); it 24278 src/xdisp.c if (NILP (prefix) && it->sp > 0 && STRINGP (it->object)) it 24279 src/xdisp.c return Fget_char_property (make_fixnum (IT_CHARPOS (*it)), prop, it 24280 src/xdisp.c it->w->contents); it 24287 src/xdisp.c handle_line_prefix (struct it *it) it 24291 src/xdisp.c if (it->continuation_lines_width > 0) it 24293 src/xdisp.c prefix = get_line_prefix_it_property (it, Qwrap_prefix); it 24299 src/xdisp.c prefix = get_line_prefix_it_property (it, Qline_prefix); it 24303 src/xdisp.c if (! NILP (prefix) && push_prefix_prop (it, prefix)) it 24308 src/xdisp.c it->line_wrap = TRUNCATE; it 24309 src/xdisp.c it->avoid_cursor_p = true; it 24320 src/xdisp.c unproduce_glyphs (struct it *it, int n) it 24324 src/xdisp.c eassert (it->glyph_row); it 24325 src/xdisp.c eassert (it->glyph_row->reversed_p); it 24326 src/xdisp.c eassert (it->area == TEXT_AREA); it 24327 src/xdisp.c eassert (n <= it->glyph_row->used[TEXT_AREA]); it 24329 src/xdisp.c if (n > it->glyph_row->used[TEXT_AREA]) it 24330 src/xdisp.c n = it->glyph_row->used[TEXT_AREA]; it 24331 src/xdisp.c glyph = it->glyph_row->glyphs[TEXT_AREA] + n; it 24332 src/xdisp.c end = it->glyph_row->glyphs[TEXT_AREA] + it->glyph_row->used[TEXT_AREA]; it 24340 src/xdisp.c find_row_edges (struct it *it, struct glyph_row *row, it 24358 src/xdisp.c max_pos = CHARPOS (it->current.pos); it 24359 src/xdisp.c max_bpos = BYTEPOS (it->current.pos); it 24379 src/xdisp.c row->maxpos = it->current.pos; it 24386 src/xdisp.c if (STRINGP (it->object) it 24388 src/xdisp.c && row > it->w->desired_matrix->rows it 24411 src/xdisp.c if (EQ ((end - 1)->object, it->object)) it 24432 src/xdisp.c if (EQ ((end + 1)->object, it->object)) it 24456 src/xdisp.c else if (CHARPOS (it->eol_pos) > 0) it 24458 src/xdisp.c CHARPOS (it->eol_pos) + 1, BYTEPOS (it->eol_pos) + 1); it 24467 src/xdisp.c if (IT_CHARPOS (*it) == max_pos && it->method != GET_FROM_BUFFER) it 24479 src/xdisp.c row->maxpos = it->current.pos; it 24480 src/xdisp.c else if (max_pos == min_pos && it->method != GET_FROM_BUFFER) it 24487 src/xdisp.c row->maxpos = it->current.pos; it 24512 src/xdisp.c display_count_lines_visually (struct it *it) it 24514 src/xdisp.c struct it tem_it; it 24523 src/xdisp.c if (it->lnum_bytepos > 0) it 24524 src/xdisp.c return it->lnum + 1; it 24529 src/xdisp.c if (IT_CHARPOS (*it) <= PT) it 24531 src/xdisp.c from = it->current.pos; it 24537 src/xdisp.c to = IT_CHARPOS (*it); it 24543 src/xdisp.c start_display (&tem_it, it->w, from); it 24553 src/xdisp.c return IT_CHARPOS (*it) <= PT ? -tem_it.vpos : tem_it.vpos; it 24561 src/xdisp.c maybe_produce_line_number (struct it *it) it 24563 src/xdisp.c ptrdiff_t last_line = it->lnum; it 24584 src/xdisp.c this_line = display_count_lines_visually (it); it 24590 src/xdisp.c if (it->w->base_line_number > 0 it 24591 src/xdisp.c && it->w->base_line_pos > 0 it 24592 src/xdisp.c && it->w->base_line_pos <= IT_CHARPOS (*it) it 24601 src/xdisp.c start_from = CHAR_TO_BYTE (it->w->base_line_pos); it 24602 src/xdisp.c last_line = it->w->base_line_number - 1; it 24606 src/xdisp.c if (!it->lnum_bytepos) it 24610 src/xdisp.c start_from = it->lnum_bytepos; it 24623 src/xdisp.c IT_BYTEPOS (*it), it 24624 src/xdisp.c IT_CHARPOS (*it), &bytepos); it 24626 src/xdisp.c eassert (bytepos == IT_BYTEPOS (*it)); it 24630 src/xdisp.c if (this_line != last_line || !it->lnum_bytepos) it 24632 src/xdisp.c it->lnum = this_line; it 24633 src/xdisp.c it->lnum_bytepos = IT_BYTEPOS (*it); it 24637 src/xdisp.c struct it tem_it; it 24639 src/xdisp.c bool beyond_zv = IT_BYTEPOS (*it) >= ZV_BYTE ? true : false; it 24641 src/xdisp.c int lnum_face_id = merge_faces (it->w, Qline_number, 0, DEFAULT_FACE_ID); it 24643 src/xdisp.c = merge_faces (it->w, Qline_number_current_line, 0, DEFAULT_FACE_ID); it 24652 src/xdisp.c && !it->pt_lnum) it 24655 src/xdisp.c if (PT_BYTE > it->lnum_bytepos && !EQ (Vdisplay_line_numbers, Qvisual)) it 24656 src/xdisp.c it->pt_lnum = it 24657 src/xdisp.c this_line + display_count_lines_logically (it->lnum_bytepos, PT_BYTE, it 24660 src/xdisp.c it->pt_lnum = display_count_lines_logically (beg_byte, PT_BYTE, PT, it 24664 src/xdisp.c if (!it->lnum_width) it 24667 src/xdisp.c it->lnum_width = XFIXNAT (Vdisplay_line_numbers_width); it 24678 src/xdisp.c max_lnum = it->w->desired_matrix->nrows - 2; it 24680 src/xdisp.c max_lnum = it->pt_lnum + it->w->desired_matrix->nrows - 1; it 24682 src/xdisp.c max_lnum = this_line + it->w->desired_matrix->nrows - 1 - it->vpos; it 24684 src/xdisp.c it->lnum_width = max (it->lnum_width, log10 (max_lnum) + 1); it 24685 src/xdisp.c eassert (it->lnum_width > 0); it 24688 src/xdisp.c lnum_offset = it->pt_lnum; it 24701 src/xdisp.c lnum_to_display = it->pt_lnum + 1; it 24707 src/xdisp.c pint2str (lnum_buf, it->lnum_width + 1, lnum_to_display); it 24711 src/xdisp.c init_iterator (&tem_it, it->w, -1, -1, &scratch_glyph_row, it 24729 src/xdisp.c - 3 * FRAME_COLUMN_WIDTH (it->f); it 24737 src/xdisp.c : this_line == it->pt_lnum) it 24738 src/xdisp.c && it->what != IT_EOB) it 24744 src/xdisp.c tem_it.face_id = merge_faces (it->w, Qline_number_major_tick, it 24748 src/xdisp.c tem_it.face_id = merge_faces (it->w, Qline_number_minor_tick, it 24760 src/xdisp.c && (it->continuation_lines_width > 0 it 24774 src/xdisp.c it->lnum_width = 0; it 24775 src/xdisp.c it->lnum_pixel_width = 0; it 24785 src/xdisp.c it->lnum_pixel_width = tem_it.current_x; it 24789 src/xdisp.c struct glyph *p = it->glyph_row ? it->glyph_row->glyphs[TEXT_AREA] : NULL; it 24790 src/xdisp.c short *u = it->glyph_row ? &it->glyph_row->used[TEXT_AREA] : NULL; it 24792 src/xdisp.c eassert (it->glyph_row == NULL || it->glyph_row->used[TEXT_AREA] == 0); it 24796 src/xdisp.c it->current_x += g->pixel_width; it 24800 src/xdisp.c if (it->current_x > it->first_visible_x) it 24801 src/xdisp.c it->hpos++; it 24814 src/xdisp.c if (it->glyph_row) it 24816 src/xdisp.c struct glyph_row *row = it->glyph_row; it 24818 src/xdisp.c it->max_ascent = max (row->ascent, tem_it.max_ascent); it 24819 src/xdisp.c it->max_descent = max (row->height - row->ascent, tem_it.max_descent); it 24820 src/xdisp.c it->max_phys_ascent = max (row->phys_ascent, tem_it.max_phys_ascent); it 24821 src/xdisp.c it->max_phys_descent = max (row->phys_height - row->phys_ascent, it 24826 src/xdisp.c it->max_ascent = max (it->max_ascent, tem_it.max_ascent); it 24827 src/xdisp.c it->max_descent = max (it->max_descent, tem_it.max_descent); it 24828 src/xdisp.c it->max_phys_ascent = max (it->max_phys_ascent, it 24830 src/xdisp.c it->max_phys_descent = max (it->max_phys_descent, it 24835 src/xdisp.c it->line_number_produced_p = true; it 24843 src/xdisp.c should_produce_line_number (struct it *it) it 24849 src/xdisp.c if (MINI_WINDOW_P (it->w)) it 24854 src/xdisp.c if (FRAME_TOOLTIP_P (XFRAME (WINDOW_FRAME (it->w)))) it 24862 src/xdisp.c Lisp_Object val = Fget_char_property (make_fixnum (IT_CHARPOS (*it)), it 24864 src/xdisp.c it->window); it 24868 src/xdisp.c if (NILP (val) && IT_CHARPOS (*it) >= ZV) it 24908 src/xdisp.c display_line (struct it *it, int cursor_vpos) it 24910 src/xdisp.c struct glyph_row *row = it->glyph_row; it 24912 src/xdisp.c struct it wrap_it; it 24926 src/xdisp.c int tab_line = window_wants_tab_line (it->w); it 24927 src/xdisp.c int header_line = window_wants_header_line (it->w); it 24929 src/xdisp.c && it->vpos == cursor_vpos - tab_line - header_line it 24930 src/xdisp.c && hscrolling_current_line_p (it->w)); it 24931 src/xdisp.c int first_visible_x = it->first_visible_x; it 24932 src/xdisp.c int last_visible_x = it->last_visible_x; it 24936 src/xdisp.c eassert (it->hpos == 0 && it->current_x == 0); it 24938 src/xdisp.c if (MATRIX_ROW_VPOS (row, it->w->desired_matrix) it 24939 src/xdisp.c >= it->w->desired_matrix->nrows) it 24941 src/xdisp.c it->w->nrows_scale_factor++; it 24942 src/xdisp.c it->f->fonts_changed = true; it 24947 src/xdisp.c prepare_desired_row (it->w, row, false); it 24949 src/xdisp.c row->y = it->current_y; it 24950 src/xdisp.c row->start = it->start; it 24951 src/xdisp.c row->continuation_lines_width = it->continuation_lines_width; it 24953 src/xdisp.c row->starts_in_middle_of_char_p = it->starts_in_middle_of_char_p; it 24954 src/xdisp.c it->starts_in_middle_of_char_p = false; it 24955 src/xdisp.c it->stretch_adjust = 0; it 24956 src/xdisp.c it->line_number_produced_p = false; it 24963 src/xdisp.c (window_hscroll_limited (it->w, it->f) - it->w->min_hscroll) it 24964 src/xdisp.c * FRAME_COLUMN_WIDTH (it->f); it 24966 src/xdisp.c bool line_number_needed = should_produce_line_number (it); it 24971 src/xdisp.c if (it->current_x < it->first_visible_x + x_incr) it 24978 src/xdisp.c it->first_visible_x += x_incr; it 24979 src/xdisp.c it->last_visible_x += x_incr; it 24982 src/xdisp.c && it->line_wrap == TRUNCATE it 24983 src/xdisp.c && window_hscroll_limited (it->w, it->f) > large_hscroll_threshold) it 24990 src/xdisp.c it->first_visible_x / FRAME_COLUMN_WIDTH (it->f); it 24991 src/xdisp.c move_result = fast_move_it_horizontally (it, chars_to_skip); it 24994 src/xdisp.c it->current_x = it->first_visible_x; it 24996 src/xdisp.c it->current_x = it->first_visible_x - FRAME_COLUMN_WIDTH (it->f); it 24999 src/xdisp.c move_result = move_it_in_display_line_to (it, ZV, it->first_visible_x, it 25007 src/xdisp.c if (it->current_x < it->first_visible_x it 25010 src/xdisp.c it->current_x = it->first_visible_x; it 25014 src/xdisp.c it->line_number_produced_p = false; it 25028 src/xdisp.c maybe_produce_line_number (it); it 25030 src/xdisp.c else if (it->area == TEXT_AREA) it 25034 src/xdisp.c maybe_produce_line_number (it); it 25038 src/xdisp.c handle_line_prefix (it); it 25054 src/xdisp.c row->ascent = it->max_ascent; it 25055 src/xdisp.c row->height = it->max_ascent + it->max_descent; it 25056 src/xdisp.c row->phys_ascent = it->max_phys_ascent; it 25057 src/xdisp.c row->phys_height = it->max_phys_ascent + it->max_phys_descent; it 25058 src/xdisp.c row->extra_line_spacing = it->max_extra_line_spacing; it 25077 src/xdisp.c if (IT_CHARPOS (*it) > max_pos) \ it 25079 src/xdisp.c max_pos = IT_CHARPOS (*it); \ it 25080 src/xdisp.c max_bpos = IT_BYTEPOS (*it); \ it 25095 src/xdisp.c if (!get_next_display_element (it)) it 25102 src/xdisp.c if (IT_OVERFLOW_NEWLINE_INTO_FRINGE (it)) it 25104 src/xdisp.c else if ((append_space_for_newline (it, true) it 25115 src/xdisp.c if (!NILP (BVAR (XBUFFER (it->w->contents), indicate_empty_lines)) it 25116 src/xdisp.c && (!MINI_WINDOW_P (it->w))) it 25120 src/xdisp.c it->continuation_lines_width = 0; it 25125 src/xdisp.c it->font_height = Qnil; it 25126 src/xdisp.c it->voffset = 0; it 25137 src/xdisp.c || lookup_basic_face (it->w, it->f, DEFAULT_FACE_ID) it 25139 src/xdisp.c extend_face_to_end_of_line (it); it 25146 src/xdisp.c x = it->current_x; it 25150 src/xdisp.c if (it->line_wrap != TRUNCATE) it 25152 src/xdisp.c ascent = it->max_ascent; it 25153 src/xdisp.c descent = it->max_descent; it 25154 src/xdisp.c phys_ascent = it->max_phys_ascent; it 25155 src/xdisp.c phys_descent = it->max_phys_descent; it 25157 src/xdisp.c if (it->line_wrap == WORD_WRAP && it->area == TEXT_AREA) it 25161 src/xdisp.c if (char_can_wrap_after (it)) it 25166 src/xdisp.c if (may_wrap && char_can_wrap_before (it)) it 25168 src/xdisp.c SAVE_IT (wrap_it, *it, wrap_data); it 25186 src/xdisp.c PRODUCE_GLYPHS (it); it 25190 src/xdisp.c if (it->area != TEXT_AREA) it 25192 src/xdisp.c row->ascent = max (row->ascent, it->max_ascent); it 25193 src/xdisp.c row->height = max (row->height, it->max_ascent + it->max_descent); it 25194 src/xdisp.c row->phys_ascent = max (row->phys_ascent, it->max_phys_ascent); it 25196 src/xdisp.c it->max_phys_ascent + it->max_phys_descent); it 25198 src/xdisp.c it->max_extra_line_spacing); it 25199 src/xdisp.c set_iterator_to_next (it, true); it 25203 src/xdisp.c if (it->area == TEXT_AREA && pending_handle_line_prefix) it 25207 src/xdisp.c maybe_produce_line_number (it); it 25210 src/xdisp.c handle_line_prefix (it); it 25225 src/xdisp.c hpos_before = it->hpos; it 25231 src/xdisp.c && it->current_x < it->last_visible_x) it 25233 src/xdisp.c it->hpos += nglyphs; it 25234 src/xdisp.c row->ascent = max (row->ascent, it->max_ascent); it 25235 src/xdisp.c row->height = max (row->height, it->max_ascent + it->max_descent); it 25236 src/xdisp.c row->phys_ascent = max (row->phys_ascent, it->max_phys_ascent); it 25238 src/xdisp.c it->max_phys_ascent + it->max_phys_descent); it 25240 src/xdisp.c it->max_extra_line_spacing); it 25241 src/xdisp.c if (it->current_x - it->pixel_width < it->first_visible_x it 25251 src/xdisp.c row->x = x - it->first_visible_x; it 25254 src/xdisp.c if (it->bidi_p) it 25255 src/xdisp.c RECORD_MAX_MIN_POS (it); it 25274 src/xdisp.c it->line_wrap != TRUNCATE it 25276 src/xdisp.c new_x > it->last_visible_x it 25278 src/xdisp.c || (new_x == it->last_visible_x it 25279 src/xdisp.c && FRAME_WINDOW_P (it->f) it 25281 src/xdisp.c ? WINDOW_LEFT_FRINGE_WIDTH (it->w) it 25282 src/xdisp.c : WINDOW_RIGHT_FRINGE_WIDTH (it->w))))) it 25286 src/xdisp.c if (it->hpos == 0 it 25287 src/xdisp.c || (new_x == it->last_visible_x it 25288 src/xdisp.c && FRAME_WINDOW_P (it->f) it 25290 src/xdisp.c ? WINDOW_LEFT_FRINGE_WIDTH (it->w) it 25291 src/xdisp.c : WINDOW_RIGHT_FRINGE_WIDTH (it->w)))) it 25298 src/xdisp.c it->current_x = new_x; it 25299 src/xdisp.c it->continuation_lines_width += new_x; it 25300 src/xdisp.c ++it->hpos; it 25305 src/xdisp.c if (!IT_OVERFLOW_NEWLINE_INTO_FRINGE (it) it 25317 src/xdisp.c && (!may_wrap || !char_can_wrap_before (it))) it 25323 src/xdisp.c if (it->bidi_p) it 25324 src/xdisp.c RECORD_MAX_MIN_POS (it); it 25325 src/xdisp.c set_iterator_to_next (it, true); it 25326 src/xdisp.c if (IT_OVERFLOW_NEWLINE_INTO_FRINGE (it)) it 25328 src/xdisp.c if (!get_next_display_element (it)) it 25331 src/xdisp.c it->continuation_lines_width = 0; it 25332 src/xdisp.c it->font_height = Qnil; it 25333 src/xdisp.c it->voffset = 0; it 25337 src/xdisp.c else if (ITERATOR_AT_END_OF_LINE_P (it)) it 25354 src/xdisp.c && (!may_wrap || !char_can_wrap_before (it))) it 25359 src/xdisp.c else if (it->bidi_p) it 25360 src/xdisp.c RECORD_MAX_MIN_POS (it); it 25361 src/xdisp.c if (WINDOW_LEFT_MARGIN_WIDTH (it->w) > 0 it 25362 src/xdisp.c || WINDOW_RIGHT_MARGIN_WIDTH (it->w) > 0) it 25363 src/xdisp.c extend_face_to_end_of_line (it); it 25366 src/xdisp.c && !FRAME_WINDOW_P (it->f)) it 25372 src/xdisp.c unproduce_glyphs (it, row->used[TEXT_AREA] it 25380 src/xdisp.c produce_special_glyphs (it, IT_CONTINUATION); it 25383 src/xdisp.c it->current_x = x_before; it 25384 src/xdisp.c it->continuation_lines_width += x_before; it 25388 src/xdisp.c it->max_ascent = ascent; it 25389 src/xdisp.c it->max_descent = descent; it 25390 src/xdisp.c it->max_phys_ascent = phys_ascent; it 25391 src/xdisp.c it->max_phys_descent = phys_descent; it 25392 src/xdisp.c if (WINDOW_LEFT_MARGIN_WIDTH (it->w) > 0 it 25393 src/xdisp.c || WINDOW_RIGHT_MARGIN_WIDTH (it->w) > 0) it 25394 src/xdisp.c extend_face_to_end_of_line (it); it 25400 src/xdisp.c unproduce_glyphs (it, it 25402 src/xdisp.c RESTORE_IT (it, &wrap_it, wrap_data); it 25403 src/xdisp.c it->continuation_lines_width += wrap_x; it 25420 src/xdisp.c extend_face_to_end_of_line (it); it 25422 src/xdisp.c else if ((it->what == IT_CHARACTER it 25423 src/xdisp.c || it->what == IT_STRETCH it 25424 src/xdisp.c || it->what == IT_COMPOSITION) it 25425 src/xdisp.c && it->c == '\t' && FRAME_WINDOW_P (it->f)) it 25433 src/xdisp.c ? WINDOW_LEFT_FRINGE_WIDTH (it->w) it 25434 src/xdisp.c : WINDOW_RIGHT_FRINGE_WIDTH (it->w)) == 0) it 25435 src/xdisp.c produce_special_glyphs (it, IT_CONTINUATION); it 25436 src/xdisp.c it->continuation_lines_width += it->last_visible_x; it 25439 src/xdisp.c glyph->pixel_width = it->last_visible_x - x; it 25440 src/xdisp.c it->starts_in_middle_of_char_p = true; it 25441 src/xdisp.c if (WINDOW_LEFT_MARGIN_WIDTH (it->w) > 0 it 25442 src/xdisp.c || WINDOW_RIGHT_MARGIN_WIDTH (it->w) > 0) it 25443 src/xdisp.c extend_face_to_end_of_line (it); it 25451 src/xdisp.c unproduce_glyphs (it, row->used[TEXT_AREA] it 25456 src/xdisp.c it->current_x = x_before; it 25457 src/xdisp.c it->continuation_lines_width += x; it 25458 src/xdisp.c if (!FRAME_WINDOW_P (it->f) it 25460 src/xdisp.c ? WINDOW_LEFT_FRINGE_WIDTH (it->w) it 25461 src/xdisp.c : WINDOW_RIGHT_FRINGE_WIDTH (it->w)) == 0) it 25462 src/xdisp.c produce_special_glyphs (it, IT_CONTINUATION); it 25465 src/xdisp.c extend_face_to_end_of_line (it); it 25470 src/xdisp.c it->starts_in_middle_of_char_p = true; it 25475 src/xdisp.c it->max_ascent = ascent; it 25476 src/xdisp.c it->max_descent = descent; it 25477 src/xdisp.c it->max_phys_ascent = phys_ascent; it 25478 src/xdisp.c it->max_phys_descent = phys_descent; it 25483 src/xdisp.c else if (new_x > it->first_visible_x) it 25486 src/xdisp.c ++it->hpos; it 25491 src/xdisp.c if (it->bidi_p) it 25492 src/xdisp.c RECORD_MAX_MIN_POS (it); it 25494 src/xdisp.c if (x < it->first_visible_x && !row->reversed_p it 25502 src/xdisp.c row->x = x - it->first_visible_x; it 25510 src/xdisp.c && new_x > it->last_visible_x it 25512 src/xdisp.c && !(it->line_wrap == TRUNCATE it 25513 src/xdisp.c && WINDOW_LEFT_FRINGE_WIDTH (it->w) == 0)) it 25515 src/xdisp.c eassert (FRAME_WINDOW_P (it->f)); it 25516 src/xdisp.c row->x = it->last_visible_x - new_x; it 25526 src/xdisp.c eassert (it->first_visible_x <= it->last_visible_x); it 25531 src/xdisp.c if (it->bidi_p && nglyphs == 0) it 25532 src/xdisp.c RECORD_MAX_MIN_POS (it); it 25534 src/xdisp.c row->ascent = max (row->ascent, it->max_ascent); it 25535 src/xdisp.c row->height = max (row->height, it->max_ascent + it->max_descent); it 25536 src/xdisp.c row->phys_ascent = max (row->phys_ascent, it->max_phys_ascent); it 25538 src/xdisp.c it->max_phys_ascent + it->max_phys_descent); it 25540 src/xdisp.c it->max_extra_line_spacing); it 25551 src/xdisp.c if (ITERATOR_AT_END_OF_LINE_P (it)) it 25555 src/xdisp.c row->ends_in_newline_from_string_p = STRINGP (it->object); it 25559 src/xdisp.c if (!IT_OVERFLOW_NEWLINE_INTO_FRINGE (it)) it 25560 src/xdisp.c append_space_for_newline (it, false); it 25563 src/xdisp.c extend_face_to_end_of_line (it); it 25567 src/xdisp.c row->glyphs[TEXT_AREA]->charpos = CHARPOS (it->position); it 25571 src/xdisp.c it->eol_pos = it->current.pos; it 25574 src/xdisp.c set_iterator_to_next (it, true); it 25575 src/xdisp.c it->continuation_lines_width = 0; it 25587 src/xdisp.c CONSP (it->object) && EQ (XCAR (it->object), Qspace) it 25588 src/xdisp.c && it->sp > 0 && it->method == GET_FROM_STRETCH it 25589 src/xdisp.c && it->current_x >= it->last_visible_x it 25590 src/xdisp.c && it->continuation_lines_width > 0 it 25591 src/xdisp.c && it->line_wrap == TRUNCATE && it->stack[0].line_wrap != TRUNCATE; it 25596 src/xdisp.c set_iterator_to_next (it, true); it 25600 src/xdisp.c if (it->line_wrap == TRUNCATE it 25601 src/xdisp.c && ((FRAME_WINDOW_P (it->f) it 25607 src/xdisp.c ? WINDOW_LEFT_FRINGE_WIDTH (it->w) it 25608 src/xdisp.c : WINDOW_RIGHT_FRINGE_WIDTH (it->w)) it 25609 src/xdisp.c || it->what == IT_IMAGE)) it 25610 src/xdisp.c ? (it->current_x >= it->last_visible_x) it 25611 src/xdisp.c : (it->current_x > it->last_visible_x))) it 25614 src/xdisp.c if (!FRAME_WINDOW_P (it->f) it 25616 src/xdisp.c ? WINDOW_LEFT_FRINGE_WIDTH (it->w) it 25617 src/xdisp.c : WINDOW_RIGHT_FRINGE_WIDTH (it->w)) == 0) it 25637 src/xdisp.c unproduce_glyphs (it, i + 1); it 25645 src/xdisp.c if (it->current_x > it->last_visible_x) it 25647 src/xdisp.c it->current_x = x_before; it 25648 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) it 25653 src/xdisp.c produce_special_glyphs (it, IT_TRUNCATION); it 25659 src/xdisp.c produce_special_glyphs (it, IT_TRUNCATION); it 25661 src/xdisp.c it->hpos = hpos_before; it 25664 src/xdisp.c else if (IT_OVERFLOW_NEWLINE_INTO_FRINGE (it)) it 25667 src/xdisp.c if (!get_next_display_element (it)) it 25669 src/xdisp.c it->continuation_lines_width = 0; it 25670 src/xdisp.c it->font_height = Qnil; it 25671 src/xdisp.c it->voffset = 0; it 25676 src/xdisp.c if (ITERATOR_AT_END_OF_LINE_P (it)) it 25681 src/xdisp.c it->current_x = x_before; it 25682 src/xdisp.c it->hpos = hpos_before; it 25686 src/xdisp.c it->continuation_lines_width = 0; it 25687 src/xdisp.c reseat_at_next_visible_line_start (it, false); it 25692 src/xdisp.c if (IT_BYTEPOS (*it) > BEG_BYTE) it 25694 src/xdisp.c IT_BYTEPOS (*it) >= ZV_BYTE it 25707 src/xdisp.c if (it->first_visible_x it 25708 src/xdisp.c && IT_CHARPOS (*it) != CHARPOS (row->start.pos)) it 25710 src/xdisp.c if (!FRAME_WINDOW_P (it->f) it 25712 src/xdisp.c ? WINDOW_RIGHT_FRINGE_WIDTH (it->w) it 25713 src/xdisp.c : WINDOW_LEFT_FRINGE_WIDTH (it->w)) == 0) it 25717 src/xdisp.c insert_left_trunc_glyphs (it); it 25726 src/xdisp.c row->end = it->current; it 25727 src/xdisp.c if (!it->bidi_p) it 25738 src/xdisp.c find_row_edges (it, row, min_pos, min_bpos, max_pos, max_bpos); it 25746 src/xdisp.c && (overlay_arrow_string = overlay_arrow_at_row (it, row), it 25753 src/xdisp.c = get_overlay_arrow_glyph_row (it->w, overlay_arrow_string); it 25785 src/xdisp.c highlight_trailing_whitespace (it); it 25788 src/xdisp.c compute_line_metrics (it); it 25797 src/xdisp.c = (it->method == GET_FROM_DISPLAY_VECTOR it 25798 src/xdisp.c && it->ellipsis_p); it 25801 src/xdisp.c row->left_user_fringe_bitmap = it->left_user_fringe_bitmap; it 25802 src/xdisp.c row->left_user_fringe_face_id = it->left_user_fringe_face_id; it 25803 src/xdisp.c row->right_user_fringe_bitmap = it->right_user_fringe_bitmap; it 25804 src/xdisp.c row->right_user_fringe_face_id = it->right_user_fringe_face_id; it 25806 src/xdisp.c it->left_user_fringe_bitmap = 0; it 25807 src/xdisp.c it->left_user_fringe_face_id = 0; it 25808 src/xdisp.c it->right_user_fringe_bitmap = 0; it 25809 src/xdisp.c it->right_user_fringe_face_id = 0; it 25816 src/xdisp.c if (MINI_WINDOW_P (it->w) && it->line_wrap == TRUNCATE it 25817 src/xdisp.c && FRAME_WINDOW_P (it->f) && !cursor_in_echo_area) it 25821 src/xdisp.c cvpos = it->w->cursor.vpos; it 25831 src/xdisp.c || (it->bidi_p it 25832 src/xdisp.c && !MATRIX_ROW (it->w->desired_matrix, cvpos)->ends_at_zv_p)) it 25836 src/xdisp.c set_cursor_from_row (it->w, row, it->w->desired_matrix, 0, 0, 0, 0); it 25842 src/xdisp.c it->current_x = it->hpos = 0; it 25843 src/xdisp.c it->current_y += row->height; it 25848 src/xdisp.c it->first_visible_x = first_visible_x; it 25849 src/xdisp.c it->last_visible_x = last_visible_x; it 25851 src/xdisp.c SET_TEXT_POS (it->eol_pos, 0, 0); it 25852 src/xdisp.c ++it->vpos; it 25853 src/xdisp.c ++it->glyph_row; it 25858 src/xdisp.c if (it->glyph_row < MATRIX_BOTTOM_TEXT_ROW (it->w->desired_matrix, it->w)) it 25859 src/xdisp.c it->glyph_row->reversed_p = row->reversed_p; it 25860 src/xdisp.c it->start = row->end; it 26320 src/xdisp.c struct it it; it 26329 src/xdisp.c start_display (&it, w, pt); it 26336 src/xdisp.c if (it.line_wrap == TRUNCATE) it 26337 src/xdisp.c it.last_visible_x = DISP_INFINITY; it 26339 src/xdisp.c if (it.cmp_it.id < 0 it 26340 src/xdisp.c && it.method == GET_FROM_STRING it 26341 src/xdisp.c && it.area == TEXT_AREA it 26342 src/xdisp.c && it.string_from_display_prop_p it 26343 src/xdisp.c && (it.sp > 0 && it.stack[it.sp - 1].method == GET_FROM_BUFFER)) it 26351 src/xdisp.c reseat_at_previous_visible_line_start (&it); it 26352 src/xdisp.c it.current_x = it.hpos = it.current_y = it.vpos = 0; it 26353 src/xdisp.c if (IT_CHARPOS (it) != PT) it 26355 src/xdisp.c move_it_to (&it, overshoot_expected ? PT - 1 : PT, it 26360 src/xdisp.c if (it.method == GET_FROM_DISPLAY_VECTOR it 26361 src/xdisp.c && it.current.dpvec_index > 0 it 26367 src/xdisp.c else if (IT_CHARPOS (it) != PT && !overshoot_expected) it 26368 src/xdisp.c move_it_in_display_line (&it, PT, -1, MOVE_TO_POS); it 26370 src/xdisp.c pt_x = it.current_x; it 26371 src/xdisp.c pt_vpos = it.vpos; it 26374 src/xdisp.c struct glyph_row *row = it.glyph_row; it 26380 src/xdisp.c get_next_display_element (&it); it 26381 src/xdisp.c at_eol_p = ITERATOR_AT_END_OF_LINE_P (&it); it 26382 src/xdisp.c it.glyph_row = NULL; it 26383 src/xdisp.c PRODUCE_GLYPHS (&it); /* compute it.pixel_width */ it 26384 src/xdisp.c it.glyph_row = row; it 26388 src/xdisp.c it.current_x = pt_x; it 26391 src/xdisp.c at_eol_p = ITERATOR_AT_END_OF_LINE_P (&it); it 26392 src/xdisp.c pixel_width = it.pixel_width; it 26403 src/xdisp.c if (it.bidi_p) it 26404 src/xdisp.c pt_x += pixel_width * it.bidi_it.scan_dir; it 26418 src/xdisp.c target_x = pt_x - (!FRAME_WINDOW_P (it.f)) * pixel_width; it 26428 src/xdisp.c start_display (&it, w, pt); it 26429 src/xdisp.c if (it.line_wrap == TRUNCATE) it 26430 src/xdisp.c it.last_visible_x = DISP_INFINITY; it 26431 src/xdisp.c reseat_at_previous_visible_line_start (&it); it 26432 src/xdisp.c it.current_x = it.current_y = it.hpos = 0; it 26434 src/xdisp.c move_it_by_lines (&it, pt_vpos); it 26438 src/xdisp.c move_it_by_lines (&it, -1); it 26439 src/xdisp.c target_x = it.last_visible_x - !FRAME_WINDOW_P (it.f); it 26451 src/xdisp.c if (!FRAME_WINDOW_P (it.f) && it.line_wrap == WORD_WRAP) it 26454 src/xdisp.c struct it it2; it 26456 src/xdisp.c SAVE_IT (it2, it, it_data); it 26457 src/xdisp.c move_it_in_display_line_to (&it, ZV, target_x, it 26461 src/xdisp.c if (it.current_x != target_x) it 26462 src/xdisp.c target_x = it.current_x - 1; it 26463 src/xdisp.c RESTORE_IT (&it, &it2, it_data); it 26470 src/xdisp.c || (target_x >= it.last_visible_x it 26471 src/xdisp.c && it.line_wrap != TRUNCATE)) it 26474 src/xdisp.c move_it_by_lines (&it, 0); it 26475 src/xdisp.c move_it_by_lines (&it, 1); it 26486 src/xdisp.c if (FRAME_WINDOW_P (it.f) && dir < 0) it 26491 src/xdisp.c if (it.current_x == 0) it 26492 src/xdisp.c get_next_display_element (&it); it 26493 src/xdisp.c if (it.what == IT_COMPOSITION) it 26495 src/xdisp.c new_pos.charpos = it.cmp_it.charpos; it 26499 src/xdisp.c new_pos = it.current.pos; it 26501 src/xdisp.c while (it.current_x + it.pixel_width <= target_x it 26506 src/xdisp.c || (it.line_wrap == WORD_WRAP it 26509 src/xdisp.c int new_x = it.current_x + it.pixel_width; it 26517 src/xdisp.c if (it.what == IT_COMPOSITION) it 26519 src/xdisp.c new_pos.charpos = it.cmp_it.charpos; it 26523 src/xdisp.c new_pos = it.current.pos; it 26524 src/xdisp.c if (new_x == it.current_x) it 26526 src/xdisp.c rc = move_it_in_display_line_to (&it, ZV, new_x, it 26528 src/xdisp.c if (ITERATOR_AT_END_OF_LINE_P (&it) && !target_is_eol_p) it 26535 src/xdisp.c it.current.pos = new_pos; it 26537 src/xdisp.c else if (it.current_x != target_x) it 26538 src/xdisp.c move_it_in_display_line_to (&it, ZV, target_x, MOVE_TO_POS | MOVE_TO_X); it 26544 src/xdisp.c while (IT_CHARPOS (it) == PT) it 26546 src/xdisp.c set_iterator_to_next (&it, false); it 26547 src/xdisp.c if (!get_next_display_element (&it)) it 26553 src/xdisp.c SET_PT_BOTH (IT_CHARPOS (it), IT_BYTEPOS (it)); it 26689 src/xdisp.c struct it it; it 26720 src/xdisp.c init_iterator (&it, w, -1, -1, f->desired_matrix->rows, MENU_FACE_ID); it 26721 src/xdisp.c it.first_visible_x = 0; it 26722 src/xdisp.c it.last_visible_x = FRAME_PIXEL_WIDTH (f); it 26732 src/xdisp.c init_iterator (&it, menu_window, -1, -1, it 26741 src/xdisp.c init_iterator (&it, w, -1, -1, f->desired_matrix->rows, it 26743 src/xdisp.c it.first_visible_x = 0; it 26744 src/xdisp.c it.last_visible_x = FRAME_COLS (f); it 26750 src/xdisp.c it.paragraph_embedding = L2R; it 26755 src/xdisp.c struct glyph_row *row = it.glyph_row + i; it 26763 src/xdisp.c items = FRAME_MENU_BAR_ITEMS (it.f); it 26774 src/xdisp.c ASET (items, i + 3, make_fixnum (it.hpos)); it 26777 src/xdisp.c if (it.current_x < it.last_visible_x) it 26778 src/xdisp.c display_string (NULL, string, Qnil, 0, 0, &it, it 26783 src/xdisp.c if (it.current_x < it.last_visible_x) it 26784 src/xdisp.c display_string ("", Qnil, Qnil, 0, 0, &it, -1, 0, 0, -1); it 26787 src/xdisp.c compute_line_metrics (&it); it 26788 src/xdisp.c it.glyph_row->full_width_p = true; it 26789 src/xdisp.c it.glyph_row->continued_p = false; it 26790 src/xdisp.c it.glyph_row->truncated_on_left_p = false; it 26791 src/xdisp.c it.glyph_row->truncated_on_right_p = false; it 26799 src/xdisp.c extend_face_to_end_of_line (&it); it 26802 src/xdisp.c struct glyph *last = (it.glyph_row->glyphs[TEXT_AREA] it 26803 src/xdisp.c + it.glyph_row->used[TEXT_AREA] - 1); it 26814 src/xdisp.c - (it.current_x - it.last_visible_x))); it 26819 src/xdisp.c if (FRAME_WINDOW_P (it.f) && menu_window) it 26824 src/xdisp.c row = it.glyph_row; it 26831 src/xdisp.c FRAME_MENU_BAR_HEIGHT (it.f) += delta_height; it 26832 src/xdisp.c adjust_frame_size (it.f, -1, -1, 3, false, Qmenu_bar_lines); it 26894 src/xdisp.c struct it it; it 26910 src/xdisp.c init_iterator (&it, w, -1, -1, f->desired_matrix->rows + y, MENU_FACE_ID); it 26911 src/xdisp.c it.first_visible_x = 0; it 26912 src/xdisp.c it.last_visible_x = FRAME_COLS (f) - 1; it 26913 src/xdisp.c row = it.glyph_row; it 26925 src/xdisp.c it.current_x = it.hpos = x; it 26926 src/xdisp.c it.current_y = it.vpos = y; it 26930 src/xdisp.c it.face_id = face_id; it 26931 src/xdisp.c it.line_wrap = TRUNCATE; it 26938 src/xdisp.c it.paragraph_embedding = L2R; it 26941 src/xdisp.c display_string (" ", Qnil, Qnil, 0, 0, &it, 1, 0, FRAME_COLS (f) - 1, -1); it 26946 src/xdisp.c display_string (item_text, Qnil, Qnil, 0, 0, &it, it 26950 src/xdisp.c display_string (" >", Qnil, Qnil, 0, 0, &it, width, 0, it 26954 src/xdisp.c display_string (item_text, Qnil, Qnil, 0, 0, &it, it 27124 src/xdisp.c struct it it; it 27128 src/xdisp.c init_iterator (&it, w, -1, -1, NULL, face_id); it 27131 src/xdisp.c it.glyph_row->enabled_p = false; it 27132 src/xdisp.c prepare_desired_row (w, it.glyph_row, true); it 27134 src/xdisp.c it.glyph_row->mode_line_p = true; it 27137 src/xdisp.c it.glyph_row->tab_line_p = true; it 27146 src/xdisp.c it.paragraph_embedding = L2R; it 27155 src/xdisp.c push_kboard (FRAME_KBOARD (it.f)); it 27162 src/xdisp.c display_mode_element (&it, 0, 0, 0, format, Qnil, false); it 27173 src/xdisp.c 0, 0, &it, 0, 0, 0, it 27190 src/xdisp.c Qnil, 0, 0, &it, 0, 0, 0, it 27205 src/xdisp.c Qnil, 0, 0, &it, 0, 0, 0, it 27214 src/xdisp.c display_string (" ", Qnil, Qnil, 0, 0, &it, 10000, -1, -1, 0); it 27216 src/xdisp.c compute_line_metrics (&it); it 27217 src/xdisp.c it.glyph_row->full_width_p = true; it 27218 src/xdisp.c it.glyph_row->continued_p = false; it 27219 src/xdisp.c it.glyph_row->truncated_on_left_p = false; it 27220 src/xdisp.c it.glyph_row->truncated_on_right_p = false; it 27223 src/xdisp.c face = FACE_FROM_ID (it.f, face_id); it 27224 src/xdisp.c extend_face_to_end_of_line (&it); it 27227 src/xdisp.c struct glyph *last = (it.glyph_row->glyphs[TEXT_AREA] it 27228 src/xdisp.c + it.glyph_row->used[TEXT_AREA] - 1); it 27239 src/xdisp.c - (it.current_x - it.last_visible_x))); it 27242 src/xdisp.c return it.glyph_row->height; it 27318 src/xdisp.c display_mode_element (struct it *it, int depth, int field_width, int precision, it 27427 src/xdisp.c n += display_string (NULL, elt, Qnil, 0, 0, it, it 27440 src/xdisp.c || it->current_x < it->last_visible_x)) it 27489 src/xdisp.c it, 0, nchars, 0, it 27513 src/xdisp.c n += display_mode_element (it, depth, field, prec, it 27527 src/xdisp.c spec = decode_mode_spec (it->w, c, field, &string); it 27558 src/xdisp.c nglyphs_before = it->glyph_row->used[TEXT_AREA]; it 27560 src/xdisp.c charpos, 0, it, it 27570 src/xdisp.c = (it->glyph_row->glyphs[TEXT_AREA] it 27657 src/xdisp.c if (!FRAME_LIVE_P (it->f)) it 27659 src/xdisp.c n += display_mode_element (it, depth, field_width - n, it 27673 src/xdisp.c n += display_mode_element (it, depth, field_width - n, it 27736 src/xdisp.c n += display_mode_element (it, depth, it 27768 src/xdisp.c n += display_string ("", Qnil, Qnil, 0, 0, it, field_width - n, it 27895 src/xdisp.c struct it it; it 27944 src/xdisp.c init_iterator (&it, w, -1, -1, NULL, face_id); it 27962 src/xdisp.c push_kboard (FRAME_KBOARD (it.f)); it 27963 src/xdisp.c display_mode_element (&it, 0, 0, 0, format, Qnil, false); it 28848 src/xdisp.c ptrdiff_t face_string_pos, ptrdiff_t start, struct it *it, it 28851 src/xdisp.c int hpos_at_start = it->hpos; it 28852 src/xdisp.c int saved_face_id = it->face_id; it 28853 src/xdisp.c struct glyph_row *row = it->glyph_row; it 28858 src/xdisp.c reseat_to_string (it, NILP (lisp_string) ? string : NULL, lisp_string, it 28864 src/xdisp.c it->stop_charpos = it->end_charpos; it 28873 src/xdisp.c it->face_id it 28874 src/xdisp.c = face_at_string_position (it->w, face_string, face_string_pos, it 28875 src/xdisp.c 0, &endptr, it->base_face_id, false, 0); it 28876 src/xdisp.c face = FACE_FROM_ID (it->f, it->face_id); it 28877 src/xdisp.c it->face_box_p = face->box != FACE_NO_BOX; it 28890 src/xdisp.c display_min_width (it, 0, face_string, min_width); it 28898 src/xdisp.c max_x = it->last_visible_x; it 28900 src/xdisp.c max_x = min (max_x, it->last_visible_x); it 28904 src/xdisp.c if (it->current_x < it->first_visible_x) it 28905 src/xdisp.c move_it_in_display_line_to (it, 100000, it->first_visible_x, it 28908 src/xdisp.c row->ascent = it->max_ascent; it 28909 src/xdisp.c row->height = it->max_ascent + it->max_descent; it 28910 src/xdisp.c row->phys_ascent = it->max_phys_ascent; it 28911 src/xdisp.c row->phys_height = it->max_phys_ascent + it->max_phys_descent; it 28912 src/xdisp.c row->extra_line_spacing = it->max_extra_line_spacing; it 28914 src/xdisp.c if (STRINGP (it->string)) it 28915 src/xdisp.c it_charpos = IT_STRING_CHARPOS (*it); it 28917 src/xdisp.c it_charpos = IT_CHARPOS (*it); it 28921 src/xdisp.c while (it->current_x < max_x) it 28926 src/xdisp.c if (!get_next_display_element (it)) it 28930 src/xdisp.c x_before = it->current_x; it 28932 src/xdisp.c PRODUCE_GLYPHS (it); it 28941 src/xdisp.c if (it->line_wrap != TRUNCATE it 28949 src/xdisp.c unproduce_glyphs (it, row->used[TEXT_AREA] it 28952 src/xdisp.c it->current_x = x_before; it 28957 src/xdisp.c unproduce_glyphs (it, row->used[TEXT_AREA] it 28960 src/xdisp.c it->current_x = x; it 28964 src/xdisp.c else if (x + glyph->pixel_width >= it->first_visible_x) it 28967 src/xdisp.c ++it->hpos; it 28968 src/xdisp.c if (x < it->first_visible_x) it 28969 src/xdisp.c row->x = x - it->first_visible_x; it 28978 src/xdisp.c row->ascent = max (row->ascent, it->max_ascent); it 28979 src/xdisp.c row->height = max (row->height, it->max_ascent + it->max_descent); it 28980 src/xdisp.c row->phys_ascent = max (row->phys_ascent, it->max_phys_ascent); it 28982 src/xdisp.c it->max_phys_ascent + it->max_phys_descent); it 28984 src/xdisp.c it->max_extra_line_spacing); it 28994 src/xdisp.c if (ITERATOR_AT_END_OF_LINE_P (it)) it 28996 src/xdisp.c it->continuation_lines_width = 0; it 29000 src/xdisp.c set_iterator_to_next (it, true); it 29001 src/xdisp.c if (STRINGP (it->string)) it 29002 src/xdisp.c it_charpos = IT_STRING_CHARPOS (*it); it 29004 src/xdisp.c it_charpos = IT_CHARPOS (*it); it 29007 src/xdisp.c if (it->line_wrap == TRUNCATE it 29008 src/xdisp.c && it->current_x >= it->last_visible_x) it 29016 src/xdisp.c if (it_charpos <= it->string_nchars) it 29018 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) it 29022 src/xdisp.c if (it->current_x > it->last_visible_x) it 29032 src/xdisp.c struct window *w = it->w; it 29047 src/xdisp.c unproduce_glyphs (it, ii + 1); it 29054 src/xdisp.c pad_mode_line (it, mode_line_p); it 29056 src/xdisp.c produce_special_glyphs (it, IT_TRUNCATION); it 29059 src/xdisp.c produce_special_glyphs (it, IT_TRUNCATION); it 29068 src/xdisp.c if (it->first_visible_x it 29071 src/xdisp.c if (!FRAME_WINDOW_P (it->f) it 29073 src/xdisp.c ? WINDOW_RIGHT_FRINGE_WIDTH (it->w) it 29074 src/xdisp.c : WINDOW_LEFT_FRINGE_WIDTH (it->w)) == 0) it 29075 src/xdisp.c insert_left_trunc_glyphs (it); it 29079 src/xdisp.c it->face_id = saved_face_id; it 29082 src/xdisp.c return it->hpos - hpos_at_start; it 29238 src/xdisp.c calc_pixel_width_or_height (double *res, struct it *it, Lisp_Object prop, it 29245 src/xdisp.c int lnum_pixel_width = it->line_number_produced_p ? it->lnum_pixel_width : 0; it 29254 src/xdisp.c eassert (FRAME_LIVE_P (it->f)); it 29273 src/xdisp.c double ppi = (width_p ? FRAME_RES_X (it->f) it 29274 src/xdisp.c : FRAME_RES_Y (it->f)); it 29287 src/xdisp.c : FRAME_LINE_HEIGHT (it->f)); it 29294 src/xdisp.c : FRAME_COLUMN_WIDTH (it->f)); it 29303 src/xdisp.c ? (window_box_width (it->w, TEXT_AREA) it 29305 src/xdisp.c : WINDOW_BOX_HEIGHT_NO_MODE_LINE (it->w)); it 29315 src/xdisp.c return OK_ALIGN_TO (window_box_left_offset (it->w, TEXT_AREA) it 29319 src/xdisp.c return OK_ALIGN_TO (window_box_right_offset (it->w, TEXT_AREA)); it 29322 src/xdisp.c return OK_ALIGN_TO (window_box_left_offset (it->w, TEXT_AREA) it 29324 src/xdisp.c + window_box_width (it->w, TEXT_AREA) / 2); it 29327 src/xdisp.c return OK_ALIGN_TO (WINDOW_HAS_FRINGES_OUTSIDE_MARGINS (it->w) it 29328 src/xdisp.c ? WINDOW_LEFT_SCROLL_BAR_AREA_WIDTH (it->w) it 29329 src/xdisp.c : window_box_right_offset (it->w, LEFT_MARGIN_AREA)); it 29332 src/xdisp.c return OK_ALIGN_TO (WINDOW_HAS_FRINGES_OUTSIDE_MARGINS (it->w) it 29333 src/xdisp.c ? window_box_right_offset (it->w, RIGHT_MARGIN_AREA) it 29334 src/xdisp.c : window_box_right_offset (it->w, TEXT_AREA)); it 29337 src/xdisp.c return OK_ALIGN_TO (window_box_left_offset (it->w, LEFT_MARGIN_AREA)); it 29340 src/xdisp.c return OK_ALIGN_TO (window_box_left_offset (it->w, RIGHT_MARGIN_AREA)); it 29343 src/xdisp.c return OK_ALIGN_TO (WINDOW_HAS_VERTICAL_SCROLL_BAR_ON_LEFT (it->w) it 29345 src/xdisp.c : (window_box_right_offset (it->w, RIGHT_MARGIN_AREA) it 29346 src/xdisp.c + (WINDOW_HAS_FRINGES_OUTSIDE_MARGINS (it->w) it 29347 src/xdisp.c ? WINDOW_RIGHT_FRINGE_WIDTH (it->w) it 29354 src/xdisp.c return OK_PIXELS (WINDOW_LEFT_FRINGE_WIDTH (it->w)); it 29356 src/xdisp.c return OK_PIXELS (WINDOW_RIGHT_FRINGE_WIDTH (it->w)); it 29358 src/xdisp.c return OK_PIXELS (WINDOW_LEFT_MARGIN_WIDTH (it->w)); it 29360 src/xdisp.c return OK_PIXELS (WINDOW_RIGHT_MARGIN_WIDTH (it->w)); it 29362 src/xdisp.c return OK_PIXELS (WINDOW_SCROLL_BAR_AREA_WIDTH (it->w)); it 29365 src/xdisp.c prop = buffer_local_value (prop, it->w->contents); it 29373 src/xdisp.c ? FRAME_COLUMN_WIDTH (it->f) it 29374 src/xdisp.c : FRAME_LINE_HEIGHT (it->f)); it 29389 src/xdisp.c if (FRAME_WINDOW_P (it->f) it 29392 src/xdisp.c ptrdiff_t id = lookup_image (it->f, prop, it->face_id); it 29393 src/xdisp.c struct image *img = IMAGE_FROM_ID (it->f, id); it 29398 src/xdisp.c if (FRAME_WINDOW_P (it->f) && valid_xwidget_spec_p (prop)) it 29414 src/xdisp.c if (!calc_pixel_width_or_height (&px, it, XCAR (cdr), it 29428 src/xdisp.c car = buffer_local_value (car, it->w->contents); it 29442 src/xdisp.c if (calc_pixel_width_or_height (&fact, it, cdr, it 30979 src/xdisp.c #define IT_EXPAND_MATRIX_WIDTH(it, area) \ it 30981 src/xdisp.c if (!it->f->fonts_changed \ it 30982 src/xdisp.c && (it->glyph_row->glyphs[area] \ it 30983 src/xdisp.c < it->glyph_row->glyphs[area + 1])) \ it 30985 src/xdisp.c it->w->ncols_scale_factor++; \ it 30986 src/xdisp.c it->f->fonts_changed = true; \ it 30994 src/xdisp.c append_glyph (struct it *it) it 30997 src/xdisp.c enum glyph_row_area area = it->area; it 30999 src/xdisp.c eassert (it->glyph_row); it 31000 src/xdisp.c eassert (it->char_to_display != '\n' && it->char_to_display != '\t'); it 31002 src/xdisp.c glyph = it->glyph_row->glyphs[area] + it->glyph_row->used[area]; it 31003 src/xdisp.c if (glyph < it->glyph_row->glyphs[area + 1]) it 31007 src/xdisp.c if (it->glyph_row->reversed_p && area == TEXT_AREA) it 31012 src/xdisp.c for (g = glyph - 1; g >= it->glyph_row->glyphs[area]; g--) it 31014 src/xdisp.c glyph = it->glyph_row->glyphs[area]; it 31016 src/xdisp.c glyph->charpos = CHARPOS (it->position); it 31017 src/xdisp.c glyph->object = it->object; it 31018 src/xdisp.c if (it->pixel_width > 0) it 31020 src/xdisp.c eassert (it->pixel_width <= SHRT_MAX); it 31021 src/xdisp.c glyph->pixel_width = it->pixel_width; it 31031 src/xdisp.c glyph->ascent = it->ascent; it 31032 src/xdisp.c glyph->descent = it->descent; it 31033 src/xdisp.c glyph->voffset = it->voffset; it 31035 src/xdisp.c glyph->avoid_cursor_p = it->avoid_cursor_p; it 31036 src/xdisp.c glyph->multibyte_p = it->multibyte_p; it 31037 src/xdisp.c if (it->glyph_row->reversed_p && area == TEXT_AREA) it 31041 src/xdisp.c glyph->right_box_line_p = it->start_of_box_run_p; it 31042 src/xdisp.c glyph->left_box_line_p = it->end_of_box_run_p; it 31046 src/xdisp.c glyph->left_box_line_p = it->start_of_box_run_p; it 31047 src/xdisp.c glyph->right_box_line_p = it->end_of_box_run_p; it 31049 src/xdisp.c glyph->overlaps_vertically_p = (it->phys_ascent > it->ascent it 31050 src/xdisp.c || it->phys_descent > it->descent); it 31051 src/xdisp.c glyph->glyph_not_available_p = it->glyph_not_available_p; it 31052 src/xdisp.c glyph->face_id = it->face_id; it 31053 src/xdisp.c glyph->u.ch = it->char_to_display; it 31056 src/xdisp.c if (it->bidi_p) it 31058 src/xdisp.c glyph->resolved_level = it->bidi_it.resolved_level; it 31059 src/xdisp.c eassert ((it->bidi_it.type & 7) == it->bidi_it.type); it 31060 src/xdisp.c glyph->bidi_type = it->bidi_it.type; it 31067 src/xdisp.c ++it->glyph_row->used[area]; it 31070 src/xdisp.c IT_EXPAND_MATRIX_WIDTH (it, area); it 31077 src/xdisp.c append_composite_glyph (struct it *it) it 31080 src/xdisp.c enum glyph_row_area area = it->area; it 31082 src/xdisp.c eassert (it->glyph_row); it 31084 src/xdisp.c glyph = it->glyph_row->glyphs[area] + it->glyph_row->used[area]; it 31085 src/xdisp.c if (glyph < it->glyph_row->glyphs[area + 1]) it 31089 src/xdisp.c if (it->glyph_row->reversed_p && it->area == TEXT_AREA) it 31094 src/xdisp.c for (g = glyph - 1; g >= it->glyph_row->glyphs[it->area]; g--) it 31096 src/xdisp.c glyph = it->glyph_row->glyphs[it->area]; it 31098 src/xdisp.c glyph->charpos = it->cmp_it.charpos; it 31099 src/xdisp.c glyph->object = it->object; it 31100 src/xdisp.c eassert (it->pixel_width <= SHRT_MAX); it 31101 src/xdisp.c glyph->pixel_width = it->pixel_width; it 31102 src/xdisp.c glyph->ascent = it->ascent; it 31103 src/xdisp.c glyph->descent = it->descent; it 31104 src/xdisp.c glyph->voffset = it->voffset; it 31106 src/xdisp.c if (it->cmp_it.ch < 0) it 31109 src/xdisp.c glyph->u.cmp.id = it->cmp_it.id; it 31115 src/xdisp.c glyph->u.cmp.id = it->cmp_it.id; it 31116 src/xdisp.c glyph->slice.cmp.from = it->cmp_it.from; it 31117 src/xdisp.c glyph->slice.cmp.to = it->cmp_it.to - 1; it 31119 src/xdisp.c glyph->avoid_cursor_p = it->avoid_cursor_p; it 31120 src/xdisp.c glyph->multibyte_p = it->multibyte_p; it 31121 src/xdisp.c if (it->glyph_row->reversed_p && area == TEXT_AREA) it 31125 src/xdisp.c glyph->right_box_line_p = it->start_of_box_run_p; it 31126 src/xdisp.c glyph->left_box_line_p = it->end_of_box_run_p; it 31130 src/xdisp.c glyph->left_box_line_p = it->start_of_box_run_p; it 31131 src/xdisp.c glyph->right_box_line_p = it->end_of_box_run_p; it 31133 src/xdisp.c glyph->overlaps_vertically_p = (it->phys_ascent > it->ascent it 31134 src/xdisp.c || it->phys_descent > it->descent); it 31136 src/xdisp.c glyph->glyph_not_available_p = it->glyph_not_available_p; it 31137 src/xdisp.c glyph->face_id = it->face_id; it 31139 src/xdisp.c if (it->bidi_p) it 31141 src/xdisp.c glyph->resolved_level = it->bidi_it.resolved_level; it 31142 src/xdisp.c eassert ((it->bidi_it.type & 7) == it->bidi_it.type); it 31143 src/xdisp.c glyph->bidi_type = it->bidi_it.type; it 31145 src/xdisp.c ++it->glyph_row->used[area]; it 31148 src/xdisp.c IT_EXPAND_MATRIX_WIDTH (it, area); it 31156 src/xdisp.c take_vertical_position_into_account (struct it *it) it 31158 src/xdisp.c if (it->voffset) it 31160 src/xdisp.c if (it->voffset < 0) it 31163 src/xdisp.c it->ascent -= it->voffset; it 31167 src/xdisp.c it->descent += it->voffset; it 31177 src/xdisp.c produce_image_glyph (struct it *it) it 31184 src/xdisp.c eassert (it->what == IT_IMAGE); it 31186 src/xdisp.c face = FACE_FROM_ID (it->f, it->face_id); it 31188 src/xdisp.c prepare_face_for_display (it->f, face); it 31190 src/xdisp.c if (it->image_id < 0) it 31193 src/xdisp.c it->ascent = it->phys_ascent = 0; it 31194 src/xdisp.c it->descent = it->phys_descent = 0; it 31195 src/xdisp.c it->pixel_width = 0; it 31196 src/xdisp.c it->nglyphs = 0; it 31200 src/xdisp.c img = IMAGE_FROM_ID (it->f, it->image_id); it 31202 src/xdisp.c prepare_image_for_display (it->f, img); it 31208 src/xdisp.c if (FIXNUMP (it->slice.x)) it 31209 src/xdisp.c slice.x = XFIXNUM (it->slice.x); it 31210 src/xdisp.c else if (FLOATP (it->slice.x)) it 31211 src/xdisp.c slice.x = XFLOAT_DATA (it->slice.x) * img->width; it 31213 src/xdisp.c if (FIXNUMP (it->slice.y)) it 31214 src/xdisp.c slice.y = XFIXNUM (it->slice.y); it 31215 src/xdisp.c else if (FLOATP (it->slice.y)) it 31216 src/xdisp.c slice.y = XFLOAT_DATA (it->slice.y) * img->height; it 31218 src/xdisp.c if (FIXNUMP (it->slice.width)) it 31219 src/xdisp.c slice.width = XFIXNUM (it->slice.width); it 31220 src/xdisp.c else if (FLOATP (it->slice.width)) it 31221 src/xdisp.c slice.width = XFLOAT_DATA (it->slice.width) * img->width; it 31223 src/xdisp.c if (FIXNUMP (it->slice.height)) it 31224 src/xdisp.c slice.height = XFIXNUM (it->slice.height); it 31225 src/xdisp.c else if (FLOATP (it->slice.height)) it 31226 src/xdisp.c slice.height = XFLOAT_DATA (it->slice.height) * img->height; it 31240 src/xdisp.c it->ascent = it->phys_ascent = glyph_ascent = image_ascent (img, face, &slice); it 31242 src/xdisp.c it->descent = slice.height - glyph_ascent; it 31244 src/xdisp.c it->descent += img->vmargin; it 31246 src/xdisp.c it->descent += img->vmargin; it 31247 src/xdisp.c it->phys_descent = it->descent; it 31249 src/xdisp.c it->pixel_width = slice.width; it 31251 src/xdisp.c it->pixel_width += img->hmargin; it 31253 src/xdisp.c it->pixel_width += img->hmargin; it 31257 src/xdisp.c if (it->descent < 0) it 31258 src/xdisp.c it->descent = 0; it 31260 src/xdisp.c it->nglyphs = 1; it 31269 src/xdisp.c it->ascent += face->box_horizontal_line_width; it 31271 src/xdisp.c it->descent += face->box_horizontal_line_width; it 31276 src/xdisp.c if (it->start_of_box_run_p && slice.x == 0) it 31277 src/xdisp.c it->pixel_width += face->box_vertical_line_width; it 31278 src/xdisp.c if (it->end_of_box_run_p && slice.x + slice.width == img->width) it 31279 src/xdisp.c it->pixel_width += face->box_vertical_line_width; it 31283 src/xdisp.c take_vertical_position_into_account (it); it 31287 src/xdisp.c if ((crop = it->pixel_width - (it->last_visible_x - it->current_x), crop > 0) it 31288 src/xdisp.c && (it->hpos == 0 || it->pixel_width > it->last_visible_x / 4)) it 31290 src/xdisp.c it->pixel_width -= crop; it 31294 src/xdisp.c if (it->glyph_row) it 31297 src/xdisp.c enum glyph_row_area area = it->area; it 31299 src/xdisp.c glyph = it->glyph_row->glyphs[area] + it->glyph_row->used[area]; it 31300 src/xdisp.c if (it->glyph_row->reversed_p) it 31305 src/xdisp.c for (g = glyph - 1; g >= it->glyph_row->glyphs[it->area]; g--) it 31307 src/xdisp.c glyph = it->glyph_row->glyphs[it->area]; it 31309 src/xdisp.c if (glyph < it->glyph_row->glyphs[area + 1]) it 31311 src/xdisp.c glyph->charpos = CHARPOS (it->position); it 31312 src/xdisp.c glyph->object = it->object; it 31313 src/xdisp.c glyph->pixel_width = clip_to_bounds (-1, it->pixel_width, SHRT_MAX); it 31315 src/xdisp.c glyph->descent = it->descent; it 31316 src/xdisp.c glyph->voffset = it->voffset; it 31318 src/xdisp.c glyph->avoid_cursor_p = it->avoid_cursor_p; it 31319 src/xdisp.c glyph->multibyte_p = it->multibyte_p; it 31320 src/xdisp.c if (it->glyph_row->reversed_p && area == TEXT_AREA) it 31324 src/xdisp.c glyph->right_box_line_p = it->start_of_box_run_p; it 31325 src/xdisp.c glyph->left_box_line_p = it->end_of_box_run_p; it 31329 src/xdisp.c glyph->left_box_line_p = it->start_of_box_run_p; it 31330 src/xdisp.c glyph->right_box_line_p = it->end_of_box_run_p; it 31335 src/xdisp.c glyph->face_id = it->face_id; it 31339 src/xdisp.c if (it->bidi_p) it 31341 src/xdisp.c glyph->resolved_level = it->bidi_it.resolved_level; it 31342 src/xdisp.c eassert ((it->bidi_it.type & 7) == it->bidi_it.type); it 31343 src/xdisp.c glyph->bidi_type = it->bidi_it.type; it 31345 src/xdisp.c ++it->glyph_row->used[area]; it 31348 src/xdisp.c IT_EXPAND_MATRIX_WIDTH (it, area); it 31353 src/xdisp.c produce_xwidget_glyph (struct it *it) it 31358 src/xdisp.c eassert (it->what == IT_XWIDGET); it 31360 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); it 31362 src/xdisp.c prepare_face_for_display (it->f, face); it 31364 src/xdisp.c xw = it->xwidget; it 31365 src/xdisp.c it->ascent = it->phys_ascent = glyph_ascent = xw->height/2; it 31366 src/xdisp.c it->descent = xw->height/2; it 31367 src/xdisp.c it->phys_descent = it->descent; it 31368 src/xdisp.c it->pixel_width = xw->width; it 31371 src/xdisp.c if (it->descent < 0) it 31372 src/xdisp.c it->descent = 0; it 31374 src/xdisp.c it->nglyphs = 1; it 31380 src/xdisp.c it->ascent += face->box_horizontal_line_width; it 31381 src/xdisp.c it->descent += face->box_horizontal_line_width; it 31386 src/xdisp.c if (it->start_of_box_run_p) it 31387 src/xdisp.c it->pixel_width += face->box_vertical_line_width; it 31388 src/xdisp.c it->pixel_width += face->box_vertical_line_width; it 31392 src/xdisp.c take_vertical_position_into_account (it); it 31396 src/xdisp.c crop = it->pixel_width - (it->last_visible_x - it->current_x); it 31397 src/xdisp.c if (crop > 0 && (it->hpos == 0 || it->pixel_width > it->last_visible_x / 4)) it 31398 src/xdisp.c it->pixel_width -= crop; it 31400 src/xdisp.c if (it->glyph_row) it 31402 src/xdisp.c enum glyph_row_area area = it->area; it 31404 src/xdisp.c = it->glyph_row->glyphs[area] + it->glyph_row->used[area]; it 31406 src/xdisp.c if (it->glyph_row->reversed_p) it 31411 src/xdisp.c for (g = glyph - 1; g >= it->glyph_row->glyphs[it->area]; g--) it 31413 src/xdisp.c glyph = it->glyph_row->glyphs[it->area]; it 31415 src/xdisp.c if (glyph < it->glyph_row->glyphs[area + 1]) it 31417 src/xdisp.c glyph->charpos = CHARPOS (it->position); it 31418 src/xdisp.c glyph->object = it->object; it 31419 src/xdisp.c glyph->pixel_width = clip_to_bounds (-1, it->pixel_width, SHRT_MAX); it 31421 src/xdisp.c glyph->descent = it->descent; it 31422 src/xdisp.c glyph->voffset = it->voffset; it 31424 src/xdisp.c glyph->avoid_cursor_p = it->avoid_cursor_p; it 31425 src/xdisp.c glyph->multibyte_p = it->multibyte_p; it 31426 src/xdisp.c if (it->glyph_row->reversed_p && area == TEXT_AREA) it 31430 src/xdisp.c glyph->right_box_line_p = it->start_of_box_run_p; it 31431 src/xdisp.c glyph->left_box_line_p = it->end_of_box_run_p; it 31435 src/xdisp.c glyph->left_box_line_p = it->start_of_box_run_p; it 31436 src/xdisp.c glyph->right_box_line_p = it->end_of_box_run_p; it 31441 src/xdisp.c glyph->face_id = it->face_id; it 31442 src/xdisp.c glyph->u.xwidget = it->xwidget->xwidget_id; it 31444 src/xdisp.c if (it->bidi_p) it 31446 src/xdisp.c glyph->resolved_level = it->bidi_it.resolved_level; it 31447 src/xdisp.c eassert ((it->bidi_it.type & 7) == it->bidi_it.type); it 31448 src/xdisp.c glyph->bidi_type = it->bidi_it.type; it 31450 src/xdisp.c ++it->glyph_row->used[area]; it 31453 src/xdisp.c IT_EXPAND_MATRIX_WIDTH (it, area); it 31463 src/xdisp.c append_stretch_glyph (struct it *it, Lisp_Object object, it 31467 src/xdisp.c enum glyph_row_area area = it->area; it 31471 src/xdisp.c glyph = it->glyph_row->glyphs[area] + it->glyph_row->used[area]; it 31472 src/xdisp.c if (glyph < it->glyph_row->glyphs[area + 1]) it 31476 src/xdisp.c if (it->glyph_row->reversed_p && area == TEXT_AREA) it 31481 src/xdisp.c for (g = glyph - 1; g >= it->glyph_row->glyphs[area]; g--) it 31483 src/xdisp.c glyph = it->glyph_row->glyphs[area]; it 31499 src/xdisp.c if (it->current_x < it->first_visible_x) it 31500 src/xdisp.c width -= it->first_visible_x - it->current_x; it 31503 src/xdisp.c glyph->charpos = CHARPOS (it->position); it 31510 src/xdisp.c glyph->voffset = it->voffset; it 31512 src/xdisp.c glyph->avoid_cursor_p = it->avoid_cursor_p; it 31513 src/xdisp.c glyph->multibyte_p = it->multibyte_p; it 31514 src/xdisp.c if (it->glyph_row->reversed_p && area == TEXT_AREA) it 31518 src/xdisp.c glyph->right_box_line_p = it->start_of_box_run_p; it 31519 src/xdisp.c glyph->left_box_line_p = it->end_of_box_run_p; it 31523 src/xdisp.c glyph->left_box_line_p = it->start_of_box_run_p; it 31524 src/xdisp.c glyph->right_box_line_p = it->end_of_box_run_p; it 31529 src/xdisp.c glyph->face_id = it->face_id; it 31534 src/xdisp.c if (it->bidi_p) it 31536 src/xdisp.c glyph->resolved_level = it->bidi_it.resolved_level; it 31537 src/xdisp.c eassert ((it->bidi_it.type & 7) == it->bidi_it.type); it 31538 src/xdisp.c glyph->bidi_type = it->bidi_it.type; it 31545 src/xdisp.c ++it->glyph_row->used[area]; it 31548 src/xdisp.c IT_EXPAND_MATRIX_WIDTH (it, area); it 31585 src/xdisp.c produce_stretch_glyph (struct it *it) it 31599 src/xdisp.c if (FRAME_WINDOW_P (it->f)) it 31601 src/xdisp.c face = FACE_FROM_ID (it->f, it->face_id); it 31602 src/xdisp.c font = face->font ? face->font : FRAME_FONT (it->f); it 31603 src/xdisp.c prepare_face_for_display (it->f, face); it 31608 src/xdisp.c eassert (CONSP (it->object) && EQ (XCAR (it->object), Qspace)); it 31609 src/xdisp.c plist = XCDR (it->object); it 31613 src/xdisp.c && calc_pixel_width_or_height (&tem, it, prop, font, true, NULL)) it 31624 src/xdisp.c struct it it2; it 31626 src/xdisp.c it->sp > 0 ? it->stack[it->sp - 1].string : it->string; it 31628 src/xdisp.c ? SDATA (object) + IT_STRING_BYTEPOS (*it) it 31629 src/xdisp.c : BYTE_POS_ADDR (IT_BYTEPOS (*it))); it 31631 src/xdisp.c STRINGP (object) ? STRING_MULTIBYTE (object) : it->multibyte_p; it 31633 src/xdisp.c it2 = *it; it 31638 src/xdisp.c if (FRAME_WINDOW_P (it->f) && ! ASCII_CHAR_P (it2.c)) it 31639 src/xdisp.c it2.face_id = FACE_FOR_CHAR (it->f, face, it2.c, it 31640 src/xdisp.c IT_CHARPOS (*it), it 31657 src/xdisp.c && calc_pixel_width_or_height (&tem, it, prop, font, true, it 31660 src/xdisp.c int x = it->current_x + it->continuation_lines_width; it 31663 src/xdisp.c if (!NILP (Vdisplay_line_numbers) && it->line_number_produced_p) it 31665 src/xdisp.c x -= it->lnum_pixel_width; it 31667 src/xdisp.c if (x + it->stretch_adjust >= it->first_visible_x) it 31668 src/xdisp.c x += it->stretch_adjust; it 31671 src/xdisp.c if (it->glyph_row == NULL || !it->glyph_row->mode_line_p) it 31674 src/xdisp.c : align_to - window_box_left_offset (it->w, TEXT_AREA)); it 31676 src/xdisp.c align_to = window_box_left_offset (it->w, TEXT_AREA); it 31680 src/xdisp.c if (!NILP (Vdisplay_line_numbers) && it->line_number_produced_p) it 31684 src/xdisp.c if (x < it->first_visible_x) it 31686 src/xdisp.c next_x -= it->first_visible_x - x; it 31687 src/xdisp.c it->stretch_adjust = it->first_visible_x - x; it 31690 src/xdisp.c next_x -= it->stretch_adjust; it 31697 src/xdisp.c width = FRAME_COLUMN_WIDTH (it->f); it 31704 src/xdisp.c if (FRAME_WINDOW_P (it->f)) it 31709 src/xdisp.c && calc_pixel_width_or_height (&tem, it, prop, font, false, NULL)) it 31730 src/xdisp.c && calc_pixel_width_or_height (&tem, it, prop, font, false, 0)) it 31740 src/xdisp.c && it->area == TEXT_AREA && it->line_wrap != TRUNCATE it 31741 src/xdisp.c && it->current_x + width > it->last_visible_x) it 31743 src/xdisp.c width = it->last_visible_x - it->current_x; it 31747 src/xdisp.c width -= FRAME_WINDOW_P (it->f); it 31751 src/xdisp.c if (width > 0 && height > 0 && it->glyph_row) it 31753 src/xdisp.c Lisp_Object o_object = it->object; it 31755 src/xdisp.c it->sp > 0 ? it->stack[it->sp - 1].string : it->string; it 31759 src/xdisp.c object = it->w->contents; it 31761 src/xdisp.c if (FRAME_WINDOW_P (it->f)) it 31762 src/xdisp.c append_stretch_glyph (it, object, width, height, ascent); it 31766 src/xdisp.c it->object = object; it 31767 src/xdisp.c it->char_to_display = ' '; it 31768 src/xdisp.c it->pixel_width = it->len = 1; it 31770 src/xdisp.c tty_append_glyph (it); it 31771 src/xdisp.c it->object = o_object; it 31775 src/xdisp.c it->pixel_width = width; it 31777 src/xdisp.c if (FRAME_WINDOW_P (it->f)) it 31779 src/xdisp.c it->ascent = it->phys_ascent = ascent; it 31780 src/xdisp.c it->descent = it->phys_descent = height - it->ascent; it 31781 src/xdisp.c it->nglyphs = width > 0 && height > 0; it 31782 src/xdisp.c take_vertical_position_into_account (it); it 31786 src/xdisp.c it->nglyphs = width; it 31796 src/xdisp.c produce_special_glyphs (struct it *it, enum display_element_type what) it 31798 src/xdisp.c struct it temp_it; it 31802 src/xdisp.c temp_it = *it; it 31809 src/xdisp.c if (it->bidi_it.paragraph_dir == R2L) it 31813 src/xdisp.c if (it->dp it 31814 src/xdisp.c && (gc = DISP_CONTINUE_GLYPH (it->dp), GLYPH_CODE_P (gc))) it 31818 src/xdisp.c spec_glyph_lookup_face (XWINDOW (it->window), &glyph); it 31825 src/xdisp.c if (it->dp it 31826 src/xdisp.c && (gc = DISP_TRUNC_GLYPH (it->dp), GLYPH_CODE_P (gc))) it 31830 src/xdisp.c spec_glyph_lookup_face (XWINDOW (it->window), &glyph); it 31880 src/xdisp.c it->pixel_width = temp_it.pixel_width; it 31881 src/xdisp.c it->nglyphs = temp_it.nglyphs; it 31893 src/xdisp.c pad_mode_line (struct it *it, bool mode_line_p) it 31895 src/xdisp.c struct it temp_it; it 31898 src/xdisp.c eassert (!FRAME_WINDOW_P (it->f)); it 31899 src/xdisp.c temp_it = *it; it 31903 src/xdisp.c SET_GLYPH (glyph, mode_line_p ? '-' : ' ', it->base_face_id); it 31912 src/xdisp.c it->pixel_width = temp_it.pixel_width; it 31913 src/xdisp.c it->nglyphs = temp_it.nglyphs; it 31927 src/xdisp.c calc_line_height_property (struct it *it, Lisp_Object val, struct font *font, it 31944 src/xdisp.c height = it->ascent + it->descent; it 31951 src/xdisp.c font = FRAME_FONT (it->f); it 31952 src/xdisp.c boff = FRAME_BASELINE_OFFSET (it->f); it 31963 src/xdisp.c face_id = lookup_named_face (it->w, it->f, face_name, false); it 31964 src/xdisp.c face = FACE_FROM_ID_OR_NULL (it->f, face_id); it 31969 src/xdisp.c boff = VCENTER_BASELINE_OFFSET (font, it->f) - boff; it 31976 src/xdisp.c it->override_ascent = ascent; it 31977 src/xdisp.c it->override_descent = descent; it 31978 src/xdisp.c it->override_boff = boff; it 32011 src/xdisp.c append_glyphless_glyph (struct it *it, int face_id, bool for_no_font, int len, it 32016 src/xdisp.c enum glyph_row_area area = it->area; it 32018 src/xdisp.c glyph = it->glyph_row->glyphs[area] + it->glyph_row->used[area]; it 32019 src/xdisp.c if (glyph < it->glyph_row->glyphs[area + 1]) it 32023 src/xdisp.c if (it->glyph_row->reversed_p && area == TEXT_AREA) it 32028 src/xdisp.c for (g = glyph - 1; g >= it->glyph_row->glyphs[area]; g--) it 32030 src/xdisp.c glyph = it->glyph_row->glyphs[area]; it 32032 src/xdisp.c glyph->charpos = CHARPOS (it->position); it 32033 src/xdisp.c glyph->object = it->object; it 32034 src/xdisp.c eassert (it->pixel_width <= SHRT_MAX); it 32035 src/xdisp.c glyph->pixel_width = it->pixel_width; it 32036 src/xdisp.c glyph->ascent = it->ascent; it 32037 src/xdisp.c glyph->descent = it->descent; it 32038 src/xdisp.c glyph->voffset = it->voffset; it 32040 src/xdisp.c glyph->u.glyphless.method = it->glyphless_method; it 32043 src/xdisp.c glyph->u.glyphless.ch = it->c; it 32048 src/xdisp.c glyph->avoid_cursor_p = it->avoid_cursor_p; it 32049 src/xdisp.c glyph->multibyte_p = it->multibyte_p; it 32050 src/xdisp.c if (it->glyph_row->reversed_p && area == TEXT_AREA) it 32054 src/xdisp.c glyph->right_box_line_p = it->start_of_box_run_p; it 32055 src/xdisp.c glyph->left_box_line_p = it->end_of_box_run_p; it 32059 src/xdisp.c glyph->left_box_line_p = it->start_of_box_run_p; it 32060 src/xdisp.c glyph->right_box_line_p = it->end_of_box_run_p; it 32062 src/xdisp.c glyph->overlaps_vertically_p = (it->phys_ascent > it->ascent it 32063 src/xdisp.c || it->phys_descent > it->descent); it 32068 src/xdisp.c if (it->bidi_p) it 32070 src/xdisp.c glyph->resolved_level = it->bidi_it.resolved_level; it 32071 src/xdisp.c eassert ((it->bidi_it.type & 7) == it->bidi_it.type); it 32072 src/xdisp.c glyph->bidi_type = it->bidi_it.type; it 32074 src/xdisp.c ++it->glyph_row->used[area]; it 32077 src/xdisp.c IT_EXPAND_MATRIX_WIDTH (it, area); it 32091 src/xdisp.c produce_glyphless_glyph (struct it *it, bool for_no_font, Lisp_Object acronym) it 32102 src/xdisp.c face = FACE_FROM_ID (it->f, it->face_id)->ascii_face; it 32103 src/xdisp.c font = face->font ? face->font : FRAME_FONT (it->f); it 32104 src/xdisp.c normal_char_ascent_descent (font, -1, &it->ascent, &it->descent); it 32105 src/xdisp.c it->ascent += font->baseline_offset; it 32106 src/xdisp.c it->descent -= font->baseline_offset; it 32107 src/xdisp.c base_height = it->ascent + it->descent; it 32110 src/xdisp.c face_id = merge_glyphless_glyph_face (it); it 32112 src/xdisp.c if (it->glyphless_method == GLYPHLESS_DISPLAY_THIN_SPACE) it 32114 src/xdisp.c it->pixel_width = THIN_SPACE_WIDTH; it 32118 src/xdisp.c else if (it->glyphless_method == GLYPHLESS_DISPLAY_EMPTY_BOX) it 32120 src/xdisp.c width = CHARACTER_WIDTH (it->c); it 32125 src/xdisp.c it->pixel_width = base_width * width; it 32138 src/xdisp.c face = FACE_FROM_ID (it->f, face_id); it 32139 src/xdisp.c font = face->font ? face->font : FRAME_FONT (it->f); it 32140 src/xdisp.c prepare_face_for_display (it->f, face); it 32142 src/xdisp.c if (it->glyphless_method == GLYPHLESS_DISPLAY_ACRONYM) it 32145 src/xdisp.c acronym = CHAR_TABLE_REF (Vglyphless_char_display, it->c); it 32152 src/xdisp.c eassert (it->glyphless_method == GLYPHLESS_DISPLAY_HEX_CODE); it 32153 src/xdisp.c sprintf (buf, "%0*X", it->c < 0x10000 ? 4 : 6, it->c + 0u); it 32172 src/xdisp.c it->pixel_width = base_width; it 32178 src/xdisp.c it->pixel_width = width; it 32197 src/xdisp.c ascent = - (it->descent - (base_height + height + 1) / 2); it 32198 src/xdisp.c descent = it->descent - (base_height - height) / 2; it 32205 src/xdisp.c it->ascent = ascent; it 32206 src/xdisp.c it->descent = descent; it 32210 src/xdisp.c it->phys_ascent = it->ascent; it 32211 src/xdisp.c it->phys_descent = it->descent; it 32212 src/xdisp.c if (it->glyph_row) it 32213 src/xdisp.c append_glyphless_glyph (it, face_id, for_no_font, len, it 32216 src/xdisp.c it->nglyphs = 1; it 32217 src/xdisp.c take_vertical_position_into_account (it); it 32224 src/xdisp.c #define IT_APPLY_FACE_BOX(it, face) \ it 32231 src/xdisp.c it->ascent += thick; \ it 32232 src/xdisp.c it->descent += thick; \ it 32238 src/xdisp.c if (it->start_of_box_run_p) \ it 32239 src/xdisp.c it->pixel_width += thick; \ it 32240 src/xdisp.c if (it->end_of_box_run_p) \ it 32241 src/xdisp.c it->pixel_width += thick; \ it 32252 src/xdisp.c gui_produce_glyphs (struct it *it) it 32254 src/xdisp.c int extra_line_spacing = it->extra_line_spacing; it 32256 src/xdisp.c it->glyph_not_available_p = false; it 32258 src/xdisp.c if (it->what == IT_CHARACTER) it 32261 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); it 32271 src/xdisp.c Lisp_Object acronym = lookup_glyphless_char_display (-1, it); it 32273 src/xdisp.c eassert (it->what == IT_GLYPHLESS); it 32274 src/xdisp.c produce_glyphless_glyph (it, true, it 32281 src/xdisp.c boff = VCENTER_BASELINE_OFFSET (font, it->f) - boff; it 32283 src/xdisp.c if (it->char_to_display != '\n' && it->char_to_display != '\t') it 32285 src/xdisp.c it->nglyphs = 1; it 32287 src/xdisp.c if (it->override_ascent >= 0) it 32289 src/xdisp.c it->ascent = it->override_ascent; it 32290 src/xdisp.c it->descent = it->override_descent; it 32291 src/xdisp.c boff = it->override_boff; it 32295 src/xdisp.c it->ascent = FONT_BASE (font) + boff; it 32296 src/xdisp.c it->descent = FONT_DESCENT (font) - boff; it 32299 src/xdisp.c if (get_char_glyph_code (it->char_to_display, font, &char2b)) it 32309 src/xdisp.c it->phys_ascent = pcm->ascent + boff; it 32310 src/xdisp.c it->phys_descent = pcm->descent - boff; it 32311 src/xdisp.c it->pixel_width = pcm->width; it 32314 src/xdisp.c if (it->override_ascent < 0) it 32318 src/xdisp.c it->ascent = it->phys_ascent; it 32319 src/xdisp.c it->descent = it->phys_descent; it 32322 src/xdisp.c if (it->ascent < 0) it 32323 src/xdisp.c it->ascent = 0; it 32324 src/xdisp.c if (it->descent < 0) it 32325 src/xdisp.c it->descent = 0; it 32331 src/xdisp.c it->glyph_not_available_p = true; it 32332 src/xdisp.c it->phys_ascent = it->ascent; it 32333 src/xdisp.c it->phys_descent = it->descent; it 32334 src/xdisp.c it->pixel_width = font->space_width; it 32337 src/xdisp.c if (it->constrain_row_ascent_descent_p) it 32339 src/xdisp.c if (it->descent > it->max_descent) it 32341 src/xdisp.c it->ascent += it->descent - it->max_descent; it 32342 src/xdisp.c it->descent = it->max_descent; it 32344 src/xdisp.c if (it->ascent > it->max_ascent) it 32346 src/xdisp.c it->descent = min (it->max_descent, it->descent + it->ascent - it->max_ascent); it 32347 src/xdisp.c it->ascent = it->max_ascent; it 32349 src/xdisp.c it->phys_ascent = min (it->phys_ascent, it->ascent); it 32350 src/xdisp.c it->phys_descent = min (it->phys_descent, it->descent); it 32357 src/xdisp.c = it->char_to_display == ' ' && !NILP (it->space_width); it 32359 src/xdisp.c it->pixel_width *= XFLOATINT (it->space_width); it 32361 src/xdisp.c IT_APPLY_FACE_BOX(it, face); it 32366 src/xdisp.c it->ascent += clip_to_bounds (0, overline_margin, 1000000); it 32368 src/xdisp.c if (it->constrain_row_ascent_descent_p) it 32370 src/xdisp.c if (it->ascent > it->max_ascent) it 32371 src/xdisp.c it->ascent = it->max_ascent; it 32372 src/xdisp.c if (it->descent > it->max_descent) it 32373 src/xdisp.c it->descent = it->max_descent; it 32376 src/xdisp.c take_vertical_position_into_account (it); it 32379 src/xdisp.c if (it->glyph_row) it 32385 src/xdisp.c int ascent = (((it->ascent + it->descent) * FONT_BASE (font)) it 32387 src/xdisp.c append_stretch_glyph (it, it->object, it->pixel_width, it 32388 src/xdisp.c it->ascent + it->descent, ascent); it 32391 src/xdisp.c append_glyph (it); it 32397 src/xdisp.c it->glyph_row->contains_overlapping_glyphs_p = true; it 32399 src/xdisp.c if (! stretched_p && it->pixel_width == 0) it 32402 src/xdisp.c it->pixel_width = 1; it 32404 src/xdisp.c else if (it->char_to_display == '\n') it 32413 src/xdisp.c it->override_ascent = -1; it 32414 src/xdisp.c it->pixel_width = 0; it 32415 src/xdisp.c it->nglyphs = 0; it 32417 src/xdisp.c height = get_it_property (it, Qline_height); it 32426 src/xdisp.c height = calc_line_height_property (it, height, font, boff, true); it 32428 src/xdisp.c if (it->override_ascent >= 0) it 32430 src/xdisp.c it->ascent = it->override_ascent; it 32431 src/xdisp.c it->descent = it->override_descent; it 32432 src/xdisp.c boff = it->override_boff; it 32438 src/xdisp.c it->ascent = font->pixel_size + boff - 1; it 32439 src/xdisp.c it->descent = -boff + 1; it 32440 src/xdisp.c if (it->descent < 0) it 32441 src/xdisp.c it->descent = 0; it 32445 src/xdisp.c it->ascent = FONT_BASE (font) + boff; it 32446 src/xdisp.c it->descent = FONT_DESCENT (font) - boff; it 32452 src/xdisp.c if (it->descent > it->max_descent) it 32454 src/xdisp.c it->ascent += it->descent - it->max_descent; it 32455 src/xdisp.c it->descent = it->max_descent; it 32457 src/xdisp.c if (it->ascent > it->max_ascent) it 32459 src/xdisp.c it->descent = min (it->max_descent, it->descent + it->ascent - it->max_ascent); it 32460 src/xdisp.c it->ascent = it->max_ascent; it 32462 src/xdisp.c it->phys_ascent = min (it->phys_ascent, it->ascent); it 32463 src/xdisp.c it->phys_descent = min (it->phys_descent, it->descent); it 32464 src/xdisp.c it->constrain_row_ascent_descent_p = true; it 32471 src/xdisp.c it->phys_ascent = it->ascent; it 32472 src/xdisp.c it->phys_descent = it->descent; it 32474 src/xdisp.c if ((it->max_ascent > 0 || it->max_descent > 0) it 32478 src/xdisp.c it->ascent += face->box_horizontal_line_width; it 32479 src/xdisp.c it->descent += face->box_horizontal_line_width; it 32482 src/xdisp.c && XFIXNUM (height) > it->ascent + it->descent) it 32483 src/xdisp.c it->ascent = XFIXNUM (height) - it->descent; it 32486 src/xdisp.c spacing = calc_line_height_property (it, total_height, font, it 32490 src/xdisp.c spacing = get_it_property (it, Qline_spacing); it 32491 src/xdisp.c spacing = calc_line_height_property (it, spacing, font, it 32498 src/xdisp.c extra_line_spacing -= (it->phys_ascent + it->phys_descent); it 32506 src/xdisp.c int tab_width = it->tab_width * font->space_width; it 32507 src/xdisp.c int x = it->current_x + it->continuation_lines_width; it 32510 src/xdisp.c if (!NILP (Vdisplay_line_numbers) && it->line_number_produced_p) it 32512 src/xdisp.c x -= it->lnum_pixel_width; it 32514 src/xdisp.c if (x + it->stretch_adjust >= it->first_visible_x) it 32515 src/xdisp.c x += it->stretch_adjust; it 32525 src/xdisp.c if (!NILP (Vdisplay_line_numbers) && it->line_number_produced_p) it 32527 src/xdisp.c next_tab_x += it->lnum_pixel_width; it 32530 src/xdisp.c if (x < it->first_visible_x) it 32532 src/xdisp.c next_tab_x -= it->first_visible_x - x; it 32533 src/xdisp.c it->stretch_adjust = it->first_visible_x - x; it 32536 src/xdisp.c next_tab_x -= it->stretch_adjust; it 32539 src/xdisp.c it->pixel_width = next_tab_x - x0; it 32540 src/xdisp.c it->nglyphs = 1; it 32553 src/xdisp.c it->ascent = pcm->ascent + boff; it 32554 src/xdisp.c it->descent = pcm->descent - boff; it 32558 src/xdisp.c it->ascent = font->pixel_size + boff - 1; it 32559 src/xdisp.c it->descent = -boff + 1; it 32561 src/xdisp.c if (it->ascent < 0) it 32562 src/xdisp.c it->ascent = 0; it 32563 src/xdisp.c if (it->descent < 0) it 32564 src/xdisp.c it->descent = 0; it 32568 src/xdisp.c it->ascent = FONT_BASE (font) + boff; it 32569 src/xdisp.c it->descent = FONT_DESCENT (font) - boff; it 32571 src/xdisp.c it->phys_ascent = it->ascent; it 32572 src/xdisp.c it->phys_descent = it->descent; it 32574 src/xdisp.c if (it->glyph_row) it 32576 src/xdisp.c append_stretch_glyph (it, it->object, it->pixel_width, it 32577 src/xdisp.c it->ascent + it->descent, it->ascent); it 32582 src/xdisp.c it->pixel_width = 0; it 32583 src/xdisp.c it->nglyphs = 1; it 32599 src/xdisp.c it->max_ascent = max (it->max_ascent, font_ascent); it 32600 src/xdisp.c it->max_descent = max (it->max_descent, font_descent); it 32603 src/xdisp.c if (it->ascent < 0) it 32604 src/xdisp.c it->ascent = 0; it 32605 src/xdisp.c if (it->descent < 0) it 32606 src/xdisp.c it->descent = 0; it 32608 src/xdisp.c else if (it->what == IT_COMPOSITION && it->cmp_it.ch < 0) it 32618 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); it 32620 src/xdisp.c struct composition *cmp = composition_table[it->cmp_it.id]; it 32624 src/xdisp.c it->nglyphs = 1; it 32664 src/xdisp.c pos = (STRINGP (it->string) ? IT_STRING_CHARPOS (*it) it 32665 src/xdisp.c : IT_CHARPOS (*it)); it 32675 src/xdisp.c boff = VCENTER_BASELINE_OFFSET (font, it->f) - boff; it 32686 src/xdisp.c get_char_face_and_encoding (it->f, c, it->face_id, it 32718 src/xdisp.c make_fixnum (it->char_to_display)))) it 32739 src/xdisp.c face_id = FACE_FOR_CHAR (it->f, face, ch, pos, it->string); it 32740 src/xdisp.c this_face = FACE_FROM_ID (it->f, face_id); it 32747 src/xdisp.c get_char_face_and_encoding (it->f, ch, face_id, it 32883 src/xdisp.c if (it->glyph_row it 32886 src/xdisp.c it->glyph_row->contains_overlapping_glyphs_p = true; it 32888 src/xdisp.c it->pixel_width = cmp->pixel_width; it 32889 src/xdisp.c it->ascent = it->phys_ascent = cmp->ascent; it 32890 src/xdisp.c it->descent = it->phys_descent = cmp->descent; it 32891 src/xdisp.c IT_APPLY_FACE_BOX(it, face); it 32896 src/xdisp.c it->ascent += clip_to_bounds (0, overline_margin, 1000000); it 32898 src/xdisp.c take_vertical_position_into_account (it); it 32899 src/xdisp.c if (it->ascent < 0) it 32900 src/xdisp.c it->ascent = 0; it 32901 src/xdisp.c if (it->descent < 0) it 32902 src/xdisp.c it->descent = 0; it 32904 src/xdisp.c if (it->glyph_row && cmp->glyph_len > 0) it 32905 src/xdisp.c append_composite_glyph (it); it 32907 src/xdisp.c else if (it->what == IT_COMPOSITION) it 32910 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); it 32914 src/xdisp.c it->nglyphs = 1; it 32916 src/xdisp.c gstring = composition_gstring_from_id (it->cmp_it.id); it 32917 src/xdisp.c it->pixel_width it 32918 src/xdisp.c = composition_gstring_width (gstring, it->cmp_it.from, it->cmp_it.to, it 32920 src/xdisp.c if (it->pixel_width == 0) it 32922 src/xdisp.c it->glyph_not_available_p = true; it 32923 src/xdisp.c it->phys_ascent = it->ascent; it 32924 src/xdisp.c it->phys_descent = it->descent; it 32925 src/xdisp.c it->pixel_width = face->font->space_width; it 32929 src/xdisp.c if (it->glyph_row it 32931 src/xdisp.c it->glyph_row->contains_overlapping_glyphs_p = true; it 32932 src/xdisp.c it->ascent = it->phys_ascent = metrics.ascent; it 32933 src/xdisp.c it->descent = it->phys_descent = metrics.descent; it 32935 src/xdisp.c IT_APPLY_FACE_BOX(it, face); it 32940 src/xdisp.c it->ascent += clip_to_bounds (0, overline_margin, 1000000); it 32941 src/xdisp.c take_vertical_position_into_account (it); it 32942 src/xdisp.c if (it->ascent < 0) it 32943 src/xdisp.c it->ascent = 0; it 32944 src/xdisp.c if (it->descent < 0) it 32945 src/xdisp.c it->descent = 0; it 32947 src/xdisp.c if (it->glyph_row) it 32948 src/xdisp.c append_composite_glyph (it); it 32950 src/xdisp.c else if (it->what == IT_GLYPHLESS) it 32951 src/xdisp.c produce_glyphless_glyph (it, false, Qnil); it 32952 src/xdisp.c else if (it->what == IT_IMAGE) it 32953 src/xdisp.c produce_image_glyph (it); it 32954 src/xdisp.c else if (it->what == IT_STRETCH) it 32955 src/xdisp.c produce_stretch_glyph (it); it 32956 src/xdisp.c else if (it->what == IT_XWIDGET) it 32957 src/xdisp.c produce_xwidget_glyph (it); it 32962 src/xdisp.c eassert (it->ascent >= 0 && it->descent >= 0); it 32963 src/xdisp.c if (it->area == TEXT_AREA) it 32964 src/xdisp.c it->current_x += it->pixel_width; it 32968 src/xdisp.c it->descent += extra_line_spacing; it 32969 src/xdisp.c if (extra_line_spacing > it->max_extra_line_spacing) it 32970 src/xdisp.c it->max_extra_line_spacing = extra_line_spacing; it 32973 src/xdisp.c it->max_ascent = max (it->max_ascent, it->ascent); it 32974 src/xdisp.c it->max_descent = max (it->max_descent, it->descent); it 32975 src/xdisp.c it->max_phys_ascent = max (it->max_phys_ascent, it->phys_ascent); it 32976 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); it 751 test/manual/noverlay/itree-tests.c struct itree_iterator it, *g; it 755 test/manual/noverlay/itree-tests.c g = itree_iterator_start (&it, &tree, 0, 30, ITREE_ASCENDING); it 764 test/manual/noverlay/itree-tests.c g = itree_iterator_start (&it, &tree, 30, 50, ITREE_ASCENDING); it 777 test/manual/noverlay/itree-tests.c struct itree_iterator it, *g = it 778 test/manual/noverlay/itree-tests.c itree_iterator_start (&it, tree, begin, end, ITREE_ASCENDING); it 861 test/manual/noverlay/itree-tests.c struct itree_iterator it, *g = it 862 test/manual/noverlay/itree-tests.c itree_iterator_start (&it, &tree, 0, 100, ITREE_PRE_ORDER); it 886 test/manual/noverlay/itree-tests.c struct itree_iterator it, *g = it 887 test/manual/noverlay/itree-tests.c itree_iterator_start (&it, &tree, 0, 100, ITREE_ASCENDING); it 911 test/manual/noverlay/itree-tests.c struct itree_iterator it, *g = it 912 test/manual/noverlay/itree-tests.c itree_iterator_start (&it, &tree, 0, 100, ITREE_DESCENDING); it 934 test/manual/noverlay/itree-tests.c struct itree_iterator it, *g = it 935 test/manual/noverlay/itree-tests.c itree_iterator_start (&it, &tree, 1, 60, ITREE_DESCENDING); it 950 test/manual/noverlay/itree-tests.c struct itree_iterator it, *g = it 951 test/manual/noverlay/itree-tests.c itree_iterator_start (&it, &tree, 1, 30, ITREE_DESCENDING);