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 3545 src/font.c Lisp_Object it; it 3550 src/font.c for (it = alist; ! NILP (it); it = XCDR (it)) it 3552 src/font.c Lisp_Object key = XCAR (XCAR (it)); it 3553 src/font.c Lisp_Object val = XCDR (XCAR (it)); it 3575 src/font.c for (it = alist; ! NILP (it); it = XCDR (it)) it 3577 src/font.c Lisp_Object key = XCAR (XCAR (it)); it 3578 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 4077 src/haiku_support.cc EmacsTitleMenuItem *it; it 4079 src/haiku_support.cc it = new EmacsTitleMenuItem (text); it 4080 src/haiku_support.cc be_menu->AddItem (it); it 4093 src/haiku_support.cc EmacsMenuItem *it = new EmacsMenuItem (key, label, help, ptr ? msg : NULL); it 4094 src/haiku_support.cc it->SetTarget (m->Window ()); it 4095 src/haiku_support.cc it->SetEnabled (enabled_p); it 4096 src/haiku_support.cc it->SetMarked (marked_p); it 4099 src/haiku_support.cc it->menu_bar_id = (intptr_t) ptr; it 4100 src/haiku_support.cc it->wind_ptr = mbw_ptr; it 4102 src/haiku_support.cc it->menu_ptr = ptr; it 4105 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 4304 src/process.c for (struct ifaddrs *it = ifap; it != NULL; it = it->ifa_next) it 4313 src/process.c if (it->ifa_addr == NULL) it 4315 src/process.c if (match && it->ifa_addr->sa_family != match) it 4317 src/process.c if (it->ifa_addr->sa_family == AF_INET) it 4319 src/process.c DECLARE_POINTER_ALIAS (sin1, struct sockaddr_in, it->ifa_netmask); it 4321 src/process.c DECLARE_POINTER_ALIAS (sin2, struct sockaddr_in, it->ifa_addr); it 4327 src/process.c else if (it->ifa_addr->sa_family == AF_INET6) it 4329 src/process.c DECLARE_POINTER_ALIAS (sin6_1, struct sockaddr_in6, it->ifa_netmask); it 4331 src/process.c DECLARE_POINTER_ALIAS (sin6_2, struct sockaddr_in6, it->ifa_addr); it 4340 src/process.c Lisp_Object addr = conv_sockaddr_to_lisp (it->ifa_addr, len); it 4344 src/process.c elt = Fcons (conv_sockaddr_to_lisp (it->ifa_netmask, len), elt); it 4355 src/process.c elt = Fcons (conv_sockaddr_to_lisp (it->ifa_netmask, len), elt); it 4362 src/process.c res = Fcons (Fcons (build_string (it->ifa_name), elt), res); it 4531 src/process.c for (struct ifaddrs *it = ifap; it != NULL; it = it->ifa_next) it 4533 src/process.c DECLARE_POINTER_ALIAS (sdl, struct sockaddr_dl, it->ifa_addr); it 4537 src/process.c if (it->ifa_addr->sa_family != AF_LINK it 4538 src/process.c || strcmp (it->ifa_name, SSDATA (ifname)) != 0 it 4546 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_OR_NULL (it->f, it->face_id); it 8349 src/xdisp.c it->what = IT_GLYPHLESS; it 8350 src/xdisp.c it->glyphless_method = GLYPHLESS_DISPLAY_EMPTY_BOX; it 8352 src/xdisp.c else if (it->what == IT_COMPOSITION && it->cmp_it.ch >= 0) it 8355 src/xdisp.c Lisp_Object gstring = composition_gstring_from_id (it->cmp_it.id); it 8357 src/xdisp.c it->face_id = face_for_font (it->f, LGSTRING_FONT (gstring), face); it 8361 src/xdisp.c ptrdiff_t pos = (it->s ? -1 it 8362 src/xdisp.c : STRINGP (it->string) ? IT_STRING_CHARPOS (*it) it 8363 src/xdisp.c : IT_CHARPOS (*it)); it 8366 src/xdisp.c if (it->what == IT_CHARACTER) it 8367 src/xdisp.c c = it->char_to_display; it 8370 src/xdisp.c struct composition *cmp = composition_table[it->cmp_it.id]; it 8380 src/xdisp.c it->face_id = FACE_FOR_CHAR (it->f, face, c, pos, it->string); it 8388 src/xdisp.c if (it->face_box_p it 8389 src/xdisp.c && it->s == NULL) it 8391 src/xdisp.c if (it->method == GET_FROM_STRING && it->sp) it 8393 src/xdisp.c int face_id = underlying_face_id (it); it 8394 src/xdisp.c struct face *face = FACE_FROM_ID_OR_NULL (it->f, face_id); it 8402 src/xdisp.c int string_face_id = face_after_it_pos (it); it 8403 src/xdisp.c if (FACE_FROM_ID (it->f, string_face_id)->box == FACE_NO_BOX) it 8404 src/xdisp.c it->end_of_box_run_p = true; it 8409 src/xdisp.c else if (((IT_STRING_CHARPOS (*it) >= SCHARS (it->string) - 1) it 8413 src/xdisp.c || (it->what == IT_COMPOSITION it 8414 src/xdisp.c && (IT_STRING_CHARPOS (*it) + it->cmp_it.nchars it 8415 src/xdisp.c >= SCHARS (it->string)))) it 8418 src/xdisp.c && ((it->current.overlay_string_index >= 0 it 8419 src/xdisp.c && (it->current.overlay_string_index it 8420 src/xdisp.c == it->n_overlay_strings - 1)) it 8422 src/xdisp.c || it->from_disp_prop_p)) it 8429 src/xdisp.c struct text_pos pos = it->current.pos; it 8441 src/xdisp.c if (it->from_disp_prop_p) it 8443 src/xdisp.c int stackp = it->sp - 1; it 8447 src/xdisp.c && STRINGP ((it->stack + stackp)->string)) it 8458 src/xdisp.c pos = it->stack[it->sp - 1].position; it 8461 src/xdisp.c pos = (it->stack + stackp)->position; it 8464 src/xdisp.c INC_TEXT_POS (pos, it->multibyte_p); it 8468 src/xdisp.c Lisp_Object base_string = it->stack[it->sp - 1].string; it 8471 src/xdisp.c it->end_of_box_run_p = true; it 8475 src/xdisp.c = face_at_string_position (it->w, base_string, it 8479 src/xdisp.c if (FACE_FROM_ID (it->f, next_face_id)->box it 8481 src/xdisp.c it->end_of_box_run_p = true; it 8485 src/xdisp.c it->end_of_box_run_p = true; it 8489 src/xdisp.c face_at_buffer_position (it->w, CHARPOS (pos), it 8494 src/xdisp.c if (FACE_FROM_ID (it->f, next_face_id)->box it 8496 src/xdisp.c it->end_of_box_run_p = true; it 8503 src/xdisp.c else if (it->method != GET_FROM_DISPLAY_VECTOR) it 8505 src/xdisp.c int face_id = face_after_it_pos (it); it 8506 src/xdisp.c if (face_id != it->face_id it 8507 src/xdisp.c && FACE_FROM_ID (it->f, face_id)->box == FACE_NO_BOX) it 8508 src/xdisp.c it->end_of_box_run_p = true; it 8516 src/xdisp.c if (!success_p && it->sp > 0) it 8518 src/xdisp.c set_iterator_to_next (it, false); it 8519 src/xdisp.c success_p = get_next_display_element (it); it 8543 src/xdisp.c set_iterator_to_next (struct it *it, bool reseat_p) it 8547 src/xdisp.c update_redisplay_ticks (1, it->w); it 8549 src/xdisp.c switch (it->method) it 8555 src/xdisp.c if (ITERATOR_AT_END_OF_LINE_P (it) && reseat_p) it 8556 src/xdisp.c reseat_at_next_visible_line_start (it, false); it 8557 src/xdisp.c else if (it->cmp_it.id >= 0) it 8560 src/xdisp.c if (! it->bidi_p) it 8562 src/xdisp.c IT_CHARPOS (*it) += it->cmp_it.nchars; it 8563 src/xdisp.c IT_BYTEPOS (*it) += it->cmp_it.nbytes; it 8572 src/xdisp.c for (i = 0; i < it->cmp_it.nchars; i++) it 8573 src/xdisp.c bidi_move_to_visually_next (&it->bidi_it); it 8574 src/xdisp.c IT_BYTEPOS (*it) = it->bidi_it.bytepos; it 8575 src/xdisp.c IT_CHARPOS (*it) = it->bidi_it.charpos; it 8578 src/xdisp.c if ((! it->bidi_p || ! it->cmp_it.reversed_p) it 8579 src/xdisp.c && it->cmp_it.to < it->cmp_it.nglyphs) it 8583 src/xdisp.c it->cmp_it.from = it->cmp_it.to; it 8585 src/xdisp.c else if ((it->bidi_p && it->cmp_it.reversed_p) it 8586 src/xdisp.c && it->cmp_it.from > 0) it 8590 src/xdisp.c it->cmp_it.to = it->cmp_it.from; it 8596 src/xdisp.c ptrdiff_t stop = it->end_charpos; it 8598 src/xdisp.c if (it->bidi_it.scan_dir < 0) it 8602 src/xdisp.c composition_compute_stop_pos (&it->cmp_it, IT_CHARPOS (*it), it 8603 src/xdisp.c IT_BYTEPOS (*it), stop, Qnil, true); it 8608 src/xdisp.c eassert (it->len != 0); it 8610 src/xdisp.c if (!it->bidi_p) it 8612 src/xdisp.c IT_BYTEPOS (*it) += it->len; it 8613 src/xdisp.c IT_CHARPOS (*it) += 1; it 8617 src/xdisp.c int prev_scan_dir = it->bidi_it.scan_dir; it 8620 src/xdisp.c if (it->bidi_it.new_paragraph) it 8621 src/xdisp.c bidi_paragraph_init (it->paragraph_embedding, &it->bidi_it, it 8623 src/xdisp.c bidi_move_to_visually_next (&it->bidi_it); it 8624 src/xdisp.c IT_BYTEPOS (*it) = it->bidi_it.bytepos; it 8625 src/xdisp.c IT_CHARPOS (*it) = it->bidi_it.charpos; it 8626 src/xdisp.c if (prev_scan_dir != it->bidi_it.scan_dir) it 8630 src/xdisp.c ptrdiff_t stop = it->end_charpos; it 8631 src/xdisp.c if (it->bidi_it.scan_dir < 0) it 8633 src/xdisp.c composition_compute_stop_pos (&it->cmp_it, IT_CHARPOS (*it), it 8634 src/xdisp.c IT_BYTEPOS (*it), stop, Qnil, it 8638 src/xdisp.c eassert (IT_BYTEPOS (*it) == CHAR_TO_BYTE (IT_CHARPOS (*it))); it 8644 src/xdisp.c if (!it->bidi_p it 8649 src/xdisp.c || IT_CHARPOS (*it) >= it->bidi_it.string.schars) it 8651 src/xdisp.c IT_BYTEPOS (*it) += it->len; it 8652 src/xdisp.c IT_CHARPOS (*it) += 1; it 8656 src/xdisp.c bidi_move_to_visually_next (&it->bidi_it); it 8657 src/xdisp.c IT_BYTEPOS (*it) = it->bidi_it.bytepos; it 8658 src/xdisp.c IT_CHARPOS (*it) = it->bidi_it.charpos; it 8667 src/xdisp.c ++it->current.dpvec_index; it 8671 src/xdisp.c it->face_id = it->saved_face_id; it 8673 src/xdisp.c if (it->dpvec + it->current.dpvec_index >= it->dpend) it 8675 src/xdisp.c bool recheck_faces = it->ellipsis_p; it 8677 src/xdisp.c if (it->s) it 8678 src/xdisp.c it->method = GET_FROM_C_STRING; it 8679 src/xdisp.c else if (STRINGP (it->string)) it 8680 src/xdisp.c it->method = GET_FROM_STRING; it 8683 src/xdisp.c it->method = GET_FROM_BUFFER; it 8684 src/xdisp.c it->object = it->w->contents; it 8687 src/xdisp.c it->dpvec = NULL; it 8688 src/xdisp.c it->current.dpvec_index = -1; it 8691 src/xdisp.c if (it->dpvec_char_len < 0) it 8692 src/xdisp.c reseat_at_next_visible_line_start (it, true); it 8693 src/xdisp.c else if (it->dpvec_char_len > 0) it 8695 src/xdisp.c it->len = it->dpvec_char_len; it 8696 src/xdisp.c set_iterator_to_next (it, reseat_p); it 8702 src/xdisp.c if (it->method == GET_FROM_STRING) it 8703 src/xdisp.c it->stop_charpos = IT_STRING_CHARPOS (*it); it 8705 src/xdisp.c it->stop_charpos = IT_CHARPOS (*it); it 8712 src/xdisp.c eassert (it->s == NULL && STRINGP (it->string)); it 8718 src/xdisp.c if (it->current.overlay_string_index >= 0) it 8723 src/xdisp.c if (IT_STRING_CHARPOS (*it) >= SCHARS (it->string)) it 8730 src/xdisp.c if (IT_STRING_CHARPOS (*it) >= it->end_charpos) it 8733 src/xdisp.c if (it->cmp_it.id >= 0) it 8738 src/xdisp.c if (! it->bidi_p) it 8740 src/xdisp.c IT_STRING_CHARPOS (*it) += it->cmp_it.nchars; it 8741 src/xdisp.c IT_STRING_BYTEPOS (*it) += it->cmp_it.nbytes; it 8747 src/xdisp.c for (i = 0; i < it->cmp_it.nchars; i++) it 8748 src/xdisp.c bidi_move_to_visually_next (&it->bidi_it); it 8749 src/xdisp.c IT_STRING_BYTEPOS (*it) = it->bidi_it.bytepos; it 8750 src/xdisp.c IT_STRING_CHARPOS (*it) = it->bidi_it.charpos; it 8755 src/xdisp.c if ((! it->bidi_p || ! it->cmp_it.reversed_p) it 8756 src/xdisp.c && (it->cmp_it.to < it->cmp_it.nglyphs)) it 8760 src/xdisp.c it->cmp_it.from = it->cmp_it.to; it 8762 src/xdisp.c else if ((it->bidi_p && it->cmp_it.reversed_p) it 8763 src/xdisp.c && it->cmp_it.from > 0) it 8767 src/xdisp.c it->cmp_it.to = it->cmp_it.from; it 8777 src/xdisp.c ptrdiff_t stop = SCHARS (it->string); it 8779 src/xdisp.c if (it->bidi_p && it->bidi_it.scan_dir < 0) it 8781 src/xdisp.c else if (it->end_charpos < stop) it 8786 src/xdisp.c stop = it->end_charpos; it 8788 src/xdisp.c composition_compute_stop_pos (&it->cmp_it, it 8789 src/xdisp.c IT_STRING_CHARPOS (*it), it 8790 src/xdisp.c IT_STRING_BYTEPOS (*it), stop, it 8791 src/xdisp.c it->string, true); it 8796 src/xdisp.c if (!it->bidi_p it 8802 src/xdisp.c || IT_STRING_CHARPOS (*it) >= it->bidi_it.string.schars) it 8804 src/xdisp.c IT_STRING_BYTEPOS (*it) += it->len; it 8805 src/xdisp.c IT_STRING_CHARPOS (*it) += 1; it 8809 src/xdisp.c int prev_scan_dir = it->bidi_it.scan_dir; it 8811 src/xdisp.c bidi_move_to_visually_next (&it->bidi_it); it 8812 src/xdisp.c IT_STRING_BYTEPOS (*it) = it->bidi_it.bytepos; it 8813 src/xdisp.c IT_STRING_CHARPOS (*it) = it->bidi_it.charpos; it 8816 src/xdisp.c if (prev_scan_dir != it->bidi_it.scan_dir) it 8818 src/xdisp.c ptrdiff_t stop = SCHARS (it->string); it 8820 src/xdisp.c if (it->bidi_it.scan_dir < 0) it 8822 src/xdisp.c else if (it->end_charpos < stop) it 8823 src/xdisp.c stop = it->end_charpos; it 8825 src/xdisp.c composition_compute_stop_pos (&it->cmp_it, it 8826 src/xdisp.c IT_STRING_CHARPOS (*it), it 8827 src/xdisp.c IT_STRING_BYTEPOS (*it), stop, it 8828 src/xdisp.c it->string, true); it 8835 src/xdisp.c if (it->current.overlay_string_index >= 0) it 8839 src/xdisp.c if (IT_STRING_CHARPOS (*it) >= SCHARS (it->string)) it 8841 src/xdisp.c it->ellipsis_p = false; it 8842 src/xdisp.c next_overlay_string (it); it 8843 src/xdisp.c if (it->ellipsis_p) it 8844 src/xdisp.c setup_for_ellipsis (it, 0); it 8853 src/xdisp.c if (IT_STRING_CHARPOS (*it) == SCHARS (it->string) it 8854 src/xdisp.c && it->sp > 0) it 8856 src/xdisp.c pop_it (it); it 8857 src/xdisp.c if (it->method == GET_FROM_STRING) it 8870 src/xdisp.c eassert (it->sp > 0); it 8871 src/xdisp.c pop_it (it); it 8872 src/xdisp.c if (it->method == GET_FROM_STRING) it 8881 src/xdisp.c eassert (it->method != GET_FROM_STRING it 8882 src/xdisp.c || (STRINGP (it->string) it 8883 src/xdisp.c && IT_STRING_CHARPOS (*it) >= 0)); it 8896 src/xdisp.c next_element_from_display_vector (struct it *it) it 8899 src/xdisp.c int prev_face_id = it->face_id; it 8903 src/xdisp.c eassert (it->dpvec && it->current.dpvec_index >= 0); it 8905 src/xdisp.c it->face_id = it->saved_face_id; it 8909 src/xdisp.c if (it->dpend - it->dpvec > 0 /* empty dpvec[] is invalid */ it 8910 src/xdisp.c && (gc = it->dpvec[it->current.dpvec_index], GLYPH_CODE_P (gc))) it 8914 src/xdisp.c it->c = GLYPH_CODE_CHAR (gc); it 8915 src/xdisp.c it->len = CHAR_BYTES (it->c); it 8920 src/xdisp.c if (it->dpvec_face_id >= 0) it 8921 src/xdisp.c it->face_id = it->dpvec_face_id; it 8926 src/xdisp.c it->face_id = merge_faces (it->w, Qt, lface_id, it 8927 src/xdisp.c it->saved_face_id); it 8933 src/xdisp.c this_face = FACE_FROM_ID_OR_NULL (it->f, it->face_id); it 8934 src/xdisp.c prev_face = FACE_FROM_ID_OR_NULL (it->f, prev_face_id); it 8937 src/xdisp.c it->start_of_box_run_p = (this_face && this_face->box != FACE_NO_BOX it 8944 src/xdisp.c next_face_id = it->saved_face_id; it 8945 src/xdisp.c if (it->current.dpvec_index < it->dpend - it->dpvec - 1) it 8947 src/xdisp.c if (it->dpvec_face_id >= 0) it 8948 src/xdisp.c next_face_id = it->dpvec_face_id; it 8951 src/xdisp.c Lisp_Object gc = it->dpvec[it->current.dpvec_index + 1]; it 8955 src/xdisp.c next_face_id = merge_faces (it->w, Qt, lface_id, it 8956 src/xdisp.c it->saved_face_id); it 8959 src/xdisp.c next_face = FACE_FROM_ID_OR_NULL (it->f, next_face_id); it 8962 src/xdisp.c it->end_of_box_run_p = true; it 8963 src/xdisp.c it->face_box_p = this_face && this_face->box != FACE_NO_BOX; it 8967 src/xdisp.c it->c = ' ', it->len = 1; it 8972 src/xdisp.c it->what = IT_CHARACTER; it 8979 src/xdisp.c get_visually_first_element (struct it *it) it 8981 src/xdisp.c bool string_p = STRINGP (it->string) || it->s; it 8982 src/xdisp.c ptrdiff_t eob = (string_p ? it->bidi_it.string.schars : ZV); it 8986 src/xdisp.c SET_WITH_NARROWED_BEGV (it, bob, it 8988 src/xdisp.c IT_CHARPOS (*it) < BEGV ? obegv : BEGV, it 8989 src/xdisp.c it->medium_narrowing_begv); it 8991 src/xdisp.c if (STRINGP (it->string)) it 8993 src/xdisp.c it->bidi_it.charpos = IT_STRING_CHARPOS (*it); it 8994 src/xdisp.c it->bidi_it.bytepos = IT_STRING_BYTEPOS (*it); it 8998 src/xdisp.c it->bidi_it.charpos = IT_CHARPOS (*it); it 8999 src/xdisp.c it->bidi_it.bytepos = IT_BYTEPOS (*it); it 9002 src/xdisp.c if (it->bidi_it.charpos == eob) it 9007 src/xdisp.c it->bidi_it.first_elt = false; it 9009 src/xdisp.c else if (it->bidi_it.charpos == bob it 9011 src/xdisp.c && (FETCH_BYTE (it->bidi_it.bytepos - 1) == '\n' it 9012 src/xdisp.c || FETCH_BYTE (it->bidi_it.bytepos) == '\n'))) it 9016 src/xdisp.c bidi_paragraph_init (it->paragraph_embedding, &it->bidi_it, true); it 9017 src/xdisp.c bidi_move_to_visually_next (&it->bidi_it); it 9021 src/xdisp.c ptrdiff_t orig_bytepos = it->bidi_it.bytepos; it 9027 src/xdisp.c it->bidi_it.charpos = it->bidi_it.bytepos = 0; it 9029 src/xdisp.c SET_WITH_NARROWED_BEGV (it, it->bidi_it.charpos, it 9030 src/xdisp.c find_newline_no_quit (IT_CHARPOS (*it), it 9031 src/xdisp.c IT_BYTEPOS (*it), -1, it 9032 src/xdisp.c &it->bidi_it.bytepos), it 9033 src/xdisp.c it->medium_narrowing_begv); it 9034 src/xdisp.c bidi_paragraph_init (it->paragraph_embedding, &it->bidi_it, true); it 9039 src/xdisp.c bidi_move_to_visually_next (&it->bidi_it); it 9041 src/xdisp.c while (it->bidi_it.bytepos != orig_bytepos it 9042 src/xdisp.c && it->bidi_it.charpos < eob); it 9046 src/xdisp.c if (STRINGP (it->string)) it 9048 src/xdisp.c IT_STRING_CHARPOS (*it) = it->bidi_it.charpos; it 9049 src/xdisp.c IT_STRING_BYTEPOS (*it) = it->bidi_it.bytepos; it 9053 src/xdisp.c IT_CHARPOS (*it) = it->bidi_it.charpos; it 9054 src/xdisp.c IT_BYTEPOS (*it) = it->bidi_it.bytepos; it 9057 src/xdisp.c if (STRINGP (it->string) || !it->s) it 9061 src/xdisp.c if (STRINGP (it->string)) it 9063 src/xdisp.c eassert (!it->s); it 9064 src/xdisp.c stop = SCHARS (it->string); it 9065 src/xdisp.c if (stop > it->end_charpos) it 9066 src/xdisp.c stop = it->end_charpos; it 9067 src/xdisp.c charpos = IT_STRING_CHARPOS (*it); it 9068 src/xdisp.c bytepos = IT_STRING_BYTEPOS (*it); it 9072 src/xdisp.c stop = it->end_charpos; it 9073 src/xdisp.c charpos = IT_CHARPOS (*it); it 9074 src/xdisp.c bytepos = IT_BYTEPOS (*it); it 9076 src/xdisp.c if (it->bidi_it.scan_dir < 0) it 9078 src/xdisp.c composition_compute_stop_pos (&it->cmp_it, charpos, bytepos, stop, it 9079 src/xdisp.c it->string, true); it 9089 src/xdisp.c next_element_from_string (struct it *it) it 9093 src/xdisp.c eassert (STRINGP (it->string)); it 9094 src/xdisp.c eassert (!it->bidi_p || EQ (it->string, it->bidi_it.string.lstring)); it 9095 src/xdisp.c eassert (IT_STRING_CHARPOS (*it) >= 0); it 9096 src/xdisp.c position = it->current.string_pos; it 9102 src/xdisp.c if (it->bidi_p && it->bidi_it.first_elt) it 9104 src/xdisp.c get_visually_first_element (it); it 9105 src/xdisp.c SET_TEXT_POS (position, IT_STRING_CHARPOS (*it), IT_STRING_BYTEPOS (*it)); it 9109 src/xdisp.c if (IT_STRING_CHARPOS (*it) < it->end_charpos) it 9111 src/xdisp.c if (IT_STRING_CHARPOS (*it) >= it->stop_charpos) it 9113 src/xdisp.c if (!(!it->bidi_p it 9114 src/xdisp.c || BIDI_AT_BASE_LEVEL (it->bidi_it) it 9115 src/xdisp.c || IT_STRING_CHARPOS (*it) == it->stop_charpos)) it 9123 src/xdisp.c handle_stop_backwards (it, it->stop_charpos); it 9124 src/xdisp.c return GET_NEXT_DISPLAY_ELEMENT (it); it 9128 src/xdisp.c if (it->bidi_p) it 9132 src/xdisp.c it->prev_stop = it->stop_charpos; it 9136 src/xdisp.c if (BIDI_AT_BASE_LEVEL (it->bidi_it)) it 9137 src/xdisp.c it->base_level_stop = it->stop_charpos; it 9139 src/xdisp.c handle_stop (it); it 9143 src/xdisp.c return GET_NEXT_DISPLAY_ELEMENT (it); it 9146 src/xdisp.c else if (it->bidi_p it 9150 src/xdisp.c && IT_STRING_CHARPOS (*it) < it->prev_stop it 9155 src/xdisp.c && !BIDI_AT_BASE_LEVEL (it->bidi_it)) it 9161 src/xdisp.c if (it->base_level_stop <= 0 it 9162 src/xdisp.c || IT_STRING_CHARPOS (*it) < it->base_level_stop) it 9163 src/xdisp.c it->base_level_stop = 0; it 9164 src/xdisp.c handle_stop_backwards (it, it->base_level_stop); it 9165 src/xdisp.c return GET_NEXT_DISPLAY_ELEMENT (it); it 9169 src/xdisp.c if (it->current.overlay_string_index >= 0) it 9174 src/xdisp.c if (IT_STRING_CHARPOS (*it) >= SCHARS (it->string)) it 9176 src/xdisp.c it->what = IT_EOB; it 9179 src/xdisp.c else if (CHAR_COMPOSED_P (it, IT_STRING_CHARPOS (*it), it 9180 src/xdisp.c IT_STRING_BYTEPOS (*it), it 9181 src/xdisp.c it->bidi_it.scan_dir < 0 it 9183 src/xdisp.c : SCHARS (it->string)) it 9184 src/xdisp.c && next_element_from_composition (it)) it 9188 src/xdisp.c else if (STRING_MULTIBYTE (it->string)) it 9190 src/xdisp.c const unsigned char *s = (SDATA (it->string) it 9191 src/xdisp.c + IT_STRING_BYTEPOS (*it)); it 9192 src/xdisp.c it->c = check_char_and_length (s, &it->len); it 9196 src/xdisp.c it->c = SREF (it->string, IT_STRING_BYTEPOS (*it)); it 9197 src/xdisp.c it->len = 1; it 9206 src/xdisp.c if (IT_STRING_CHARPOS (*it) >= it->end_charpos) it 9208 src/xdisp.c it->what = IT_EOB; it 9211 src/xdisp.c else if (IT_STRING_CHARPOS (*it) >= it->string_nchars) it 9214 src/xdisp.c it->c = ' ', it->len = 1; it 9217 src/xdisp.c else if (CHAR_COMPOSED_P (it, IT_STRING_CHARPOS (*it), it 9218 src/xdisp.c IT_STRING_BYTEPOS (*it), it 9219 src/xdisp.c it->bidi_it.scan_dir < 0 it 9221 src/xdisp.c : it->string_nchars) it 9222 src/xdisp.c && next_element_from_composition (it)) it 9226 src/xdisp.c else if (STRING_MULTIBYTE (it->string)) it 9228 src/xdisp.c const unsigned char *s = (SDATA (it->string) it 9229 src/xdisp.c + IT_STRING_BYTEPOS (*it)); it 9230 src/xdisp.c it->c = check_char_and_length (s, &it->len); it 9234 src/xdisp.c it->c = SREF (it->string, IT_STRING_BYTEPOS (*it)); it 9235 src/xdisp.c it->len = 1; it 9240 src/xdisp.c it->what = IT_CHARACTER; it 9241 src/xdisp.c it->object = it->string; it 9242 src/xdisp.c it->position = position; it 9255 src/xdisp.c next_element_from_c_string (struct it *it) it 9259 src/xdisp.c eassert (it->s); it 9260 src/xdisp.c eassert (!it->bidi_p || it->s == it->bidi_it.string.s); it 9261 src/xdisp.c it->what = IT_CHARACTER; it 9262 src/xdisp.c BYTEPOS (it->position) = CHARPOS (it->position) = 0; it 9263 src/xdisp.c it->object = make_fixnum (0); it 9269 src/xdisp.c if (it->bidi_p && it->bidi_it.first_elt) it 9270 src/xdisp.c get_visually_first_element (it); it 9275 src/xdisp.c if (IT_CHARPOS (*it) >= it->end_charpos) it 9278 src/xdisp.c it->what = IT_EOB; it 9281 src/xdisp.c else if (IT_CHARPOS (*it) >= it->string_nchars) it 9284 src/xdisp.c it->c = ' ', it->len = 1; it 9285 src/xdisp.c BYTEPOS (it->position) = CHARPOS (it->position) = -1; it 9287 src/xdisp.c else if (it->multibyte_p) it 9288 src/xdisp.c it->c = check_char_and_length (it->s + IT_BYTEPOS (*it), &it->len); it 9290 src/xdisp.c it->c = it->s[IT_BYTEPOS (*it)], it->len = 1; it 9302 src/xdisp.c next_element_from_ellipsis (struct it *it) it 9304 src/xdisp.c if (it->selective_display_ellipsis_p) it 9305 src/xdisp.c setup_for_ellipsis (it, it->len); it 9312 src/xdisp.c it->saved_face_id = it->face_id; it 9313 src/xdisp.c it->method = GET_FROM_BUFFER; it 9314 src/xdisp.c it->object = it->w->contents; it 9315 src/xdisp.c reseat_at_next_visible_line_start (it, true); it 9316 src/xdisp.c it->face_before_selective_p = true; it 9319 src/xdisp.c return GET_NEXT_DISPLAY_ELEMENT (it); it 9329 src/xdisp.c next_element_from_image (struct it *it) it 9331 src/xdisp.c it->what = IT_IMAGE; it 9336 src/xdisp.c next_element_from_xwidget (struct it *it) it 9338 src/xdisp.c it->what = IT_XWIDGET; it 9348 src/xdisp.c next_element_from_stretch (struct it *it) it 9350 src/xdisp.c it->what = IT_STRETCH; it 9360 src/xdisp.c compute_stop_pos_backwards (struct it *it) it 9364 src/xdisp.c struct display_pos save_current = it->current; it 9365 src/xdisp.c struct text_pos save_position = it->position; it 9366 src/xdisp.c ptrdiff_t charpos = IT_CHARPOS (*it); it 9368 src/xdisp.c ptrdiff_t save_stop_pos = it->stop_charpos; it 9369 src/xdisp.c ptrdiff_t save_end_pos = it->end_charpos; it 9371 src/xdisp.c eassert (NILP (it->string) && !it->s); it 9372 src/xdisp.c eassert (it->bidi_p); it 9373 src/xdisp.c it->bidi_p = false; it 9376 src/xdisp.c it->end_charpos = min (charpos + 1, ZV); it 9379 src/xdisp.c reseat_1 (it, pos, false); it 9380 src/xdisp.c compute_stop_pos (it); it 9382 src/xdisp.c if (it->stop_charpos <= charpos) it 9385 src/xdisp.c while (charpos > BEGV && it->stop_charpos >= it->end_charpos); it 9387 src/xdisp.c if (it->stop_charpos <= where_we_are) it 9388 src/xdisp.c it->prev_stop = it->stop_charpos; it 9390 src/xdisp.c it->prev_stop = BEGV; it 9391 src/xdisp.c it->bidi_p = true; it 9392 src/xdisp.c it->current = save_current; it 9393 src/xdisp.c it->position = save_position; it 9394 src/xdisp.c it->stop_charpos = save_stop_pos; it 9395 src/xdisp.c it->end_charpos = save_end_pos; it 9407 src/xdisp.c handle_stop_backwards (struct it *it, ptrdiff_t charpos) it 9409 src/xdisp.c bool bufp = !STRINGP (it->string); it 9410 src/xdisp.c ptrdiff_t where_we_are = (bufp ? IT_CHARPOS (*it) : IT_STRING_CHARPOS (*it)); it 9411 src/xdisp.c struct display_pos save_current = it->current; it 9412 src/xdisp.c struct text_pos save_position = it->position; it 9413 src/xdisp.c struct composition_it save_cmp_it = it->cmp_it; it 9418 src/xdisp.c eassert (it->bidi_p); it 9419 src/xdisp.c it->bidi_p = false; it 9422 src/xdisp.c it->prev_stop = charpos; it 9426 src/xdisp.c reseat_1 (it, pos1, false); it 9429 src/xdisp.c it->current.string_pos = string_pos (charpos, it->string); it 9430 src/xdisp.c compute_stop_pos (it); it 9432 src/xdisp.c if (it->stop_charpos <= it->prev_stop) it 9434 src/xdisp.c charpos = it->stop_charpos; it 9438 src/xdisp.c it->bidi_p = true; it 9439 src/xdisp.c it->current = save_current; it 9440 src/xdisp.c it->position = save_position; it 9441 src/xdisp.c it->cmp_it = save_cmp_it; it 9442 src/xdisp.c next_stop = it->stop_charpos; it 9443 src/xdisp.c it->stop_charpos = it->prev_stop; it 9444 src/xdisp.c handle_stop (it); it 9445 src/xdisp.c it->stop_charpos = next_stop; it 9454 src/xdisp.c next_element_from_buffer (struct it *it) it 9458 src/xdisp.c eassert (IT_CHARPOS (*it) >= BEGV); it 9459 src/xdisp.c eassert (NILP (it->string) && !it->s); it 9460 src/xdisp.c eassert (!it->bidi_p it 9461 src/xdisp.c || (NILP (it->bidi_it.string.lstring) it 9462 src/xdisp.c && it->bidi_it.string.s == NULL)); it 9468 src/xdisp.c if (it->bidi_p && it->bidi_it.first_elt) it 9470 src/xdisp.c get_visually_first_element (it); it 9471 src/xdisp.c SET_TEXT_POS (it->position, IT_CHARPOS (*it), IT_BYTEPOS (*it)); it 9474 src/xdisp.c if (IT_CHARPOS (*it) >= it->stop_charpos) it 9476 src/xdisp.c if (IT_CHARPOS (*it) >= it->end_charpos) it 9482 src/xdisp.c if (it->overlay_strings_at_end_processed_p) it 9486 src/xdisp.c it->overlay_strings_at_end_processed_p = true; it 9487 src/xdisp.c overlay_strings_follow_p = get_overlay_strings (it, 0); it 9491 src/xdisp.c success_p = GET_NEXT_DISPLAY_ELEMENT (it); it 9494 src/xdisp.c it->what = IT_EOB; it 9495 src/xdisp.c it->position = it->current.pos; it 9499 src/xdisp.c else if (!(!it->bidi_p it 9500 src/xdisp.c || BIDI_AT_BASE_LEVEL (it->bidi_it) it 9501 src/xdisp.c || IT_CHARPOS (*it) == it->stop_charpos)) it 9509 src/xdisp.c handle_stop_backwards (it, it->stop_charpos); it 9510 src/xdisp.c it->ignore_overlay_strings_at_pos_p = false; it 9511 src/xdisp.c return GET_NEXT_DISPLAY_ELEMENT (it); it 9515 src/xdisp.c if (it->bidi_p) it 9519 src/xdisp.c it->prev_stop = it->stop_charpos; it 9523 src/xdisp.c if (BIDI_AT_BASE_LEVEL (it->bidi_it)) it 9524 src/xdisp.c it->base_level_stop = it->stop_charpos; it 9526 src/xdisp.c handle_stop (it); it 9527 src/xdisp.c it->ignore_overlay_strings_at_pos_p = false; it 9528 src/xdisp.c return GET_NEXT_DISPLAY_ELEMENT (it); it 9531 src/xdisp.c else if (it->bidi_p it 9535 src/xdisp.c && IT_CHARPOS (*it) < it->prev_stop it 9540 src/xdisp.c && !BIDI_AT_BASE_LEVEL (it->bidi_it)) it 9542 src/xdisp.c if (it->base_level_stop <= 0 it 9543 src/xdisp.c || IT_CHARPOS (*it) < it->base_level_stop) it 9549 src/xdisp.c it->base_level_stop = BEGV; it 9550 src/xdisp.c compute_stop_pos_backwards (it); it 9551 src/xdisp.c handle_stop_backwards (it, it->prev_stop); it 9554 src/xdisp.c handle_stop_backwards (it, it->base_level_stop); it 9555 src/xdisp.c it->ignore_overlay_strings_at_pos_p = false; it 9556 src/xdisp.c return GET_NEXT_DISPLAY_ELEMENT (it); it 9567 src/xdisp.c it->ignore_overlay_strings_at_pos_p = false; it 9574 src/xdisp.c if (it->bidi_it.scan_dir < 0) it 9575 src/xdisp.c stop = (PT <= IT_CHARPOS (*it)) ? PT : -1; it 9577 src/xdisp.c stop = (IT_CHARPOS (*it) < PT it 9578 src/xdisp.c && PT < it->end_charpos) ? PT : it->end_charpos; it 9581 src/xdisp.c stop = it->bidi_it.scan_dir < 0 ? -1 : it->end_charpos; it 9582 src/xdisp.c if (CHAR_COMPOSED_P (it, IT_CHARPOS (*it), IT_BYTEPOS (*it), it 9584 src/xdisp.c && next_element_from_composition (it)) it 9590 src/xdisp.c p = BYTE_POS_ADDR (IT_BYTEPOS (*it)); it 9591 src/xdisp.c if (it->multibyte_p && !ASCII_CHAR_P (*p)) it 9592 src/xdisp.c it->c = string_char_and_length (p, &it->len); it 9594 src/xdisp.c it->c = *p, it->len = 1; it 9597 src/xdisp.c it->what = IT_CHARACTER; it 9598 src/xdisp.c it->object = it->w->contents; it 9599 src/xdisp.c it->position = it->current.pos; it 9603 src/xdisp.c if (it->selective) it 9605 src/xdisp.c if (it->c == '\n') it 9609 src/xdisp.c if (it->selective > 0 it 9610 src/xdisp.c && IT_CHARPOS (*it) + 1 < ZV it 9611 src/xdisp.c && indented_beyond_p (IT_CHARPOS (*it) + 1, it 9612 src/xdisp.c IT_BYTEPOS (*it) + 1, it 9613 src/xdisp.c it->selective)) it 9615 src/xdisp.c success_p = next_element_from_ellipsis (it); it 9616 src/xdisp.c it->dpvec_char_len = -1; it 9619 src/xdisp.c else if (it->c == '\r' && it->selective == -1) it 9624 src/xdisp.c success_p = next_element_from_ellipsis (it); it 9625 src/xdisp.c it->dpvec_char_len = -1; it 9631 src/xdisp.c eassert (!success_p || it->what != IT_CHARACTER || it->len > 0); it 9642 src/xdisp.c next_element_from_composition (struct it *it) it 9644 src/xdisp.c it->what = IT_COMPOSITION; it 9645 src/xdisp.c it->len = it->cmp_it.nbytes; it 9646 src/xdisp.c if (STRINGP (it->string)) it 9648 src/xdisp.c if (it->c < 0) it 9650 src/xdisp.c IT_STRING_CHARPOS (*it) += it->cmp_it.nchars; it 9651 src/xdisp.c IT_STRING_BYTEPOS (*it) += it->cmp_it.nbytes; it 9654 src/xdisp.c it->position = it->current.string_pos; it 9655 src/xdisp.c it->object = it->string; it 9656 src/xdisp.c it->c = composition_update_it (&it->cmp_it, IT_STRING_CHARPOS (*it), it 9657 src/xdisp.c IT_STRING_BYTEPOS (*it), it->string); it 9661 src/xdisp.c if (it->c < 0) it 9663 src/xdisp.c IT_CHARPOS (*it) += it->cmp_it.nchars; it 9664 src/xdisp.c IT_BYTEPOS (*it) += it->cmp_it.nbytes; it 9665 src/xdisp.c if (it->bidi_p) it 9667 src/xdisp.c if (it->bidi_it.new_paragraph) it 9668 src/xdisp.c bidi_paragraph_init (it->paragraph_embedding, &it->bidi_it, it 9672 src/xdisp.c while (it->bidi_it.charpos < IT_CHARPOS (*it)) it 9673 src/xdisp.c bidi_move_to_visually_next (&it->bidi_it); it 9677 src/xdisp.c it->position = it->current.pos; it 9678 src/xdisp.c it->object = it->w->contents; it 9679 src/xdisp.c it->c = composition_update_it (&it->cmp_it, IT_CHARPOS (*it), it 9680 src/xdisp.c IT_BYTEPOS (*it), Qnil); it 9694 src/xdisp.c #define IT_POS_VALID_AFTER_MOVE_P(it) \ it 9695 src/xdisp.c ((it)->method != GET_FROM_STRING || IT_STRING_CHARPOS (*it) == 0) it 9732 src/xdisp.c move_it_in_display_line_to (struct it *it, it 9738 src/xdisp.c struct it wrap_it, atpos_it, atx_it, ppos_it; it 9742 src/xdisp.c enum it_method prev_method = it->method; it 9744 src/xdisp.c ptrdiff_t prev_pos = IT_CHARPOS (*it); it 9749 src/xdisp.c saved_glyph_row = it->glyph_row; it 9750 src/xdisp.c it->glyph_row = NULL; it 9768 src/xdisp.c if (it->bidi_p) it 9770 src/xdisp.c if ((op & MOVE_TO_POS) && IT_CHARPOS (*it) >= to_charpos) it 9772 src/xdisp.c SAVE_IT (ppos_it, *it, ppos_data); it 9773 src/xdisp.c closest_pos = IT_CHARPOS (*it); it 9781 src/xdisp.c && BUFFERP (it->object) \ it 9782 src/xdisp.c && (IT_CHARPOS (*it) == to_charpos \ it 9783 src/xdisp.c || ((!it->bidi_p \ it 9784 src/xdisp.c || BIDI_AT_BASE_LEVEL (it->bidi_it)) \ it 9785 src/xdisp.c && IT_CHARPOS (*it) > to_charpos) \ it 9786 src/xdisp.c || (it->what == IT_COMPOSITION \ it 9787 src/xdisp.c && ((IT_CHARPOS (*it) > to_charpos \ it 9788 src/xdisp.c && to_charpos >= it->cmp_it.charpos) \ it 9789 src/xdisp.c || (IT_CHARPOS (*it) < to_charpos \ it 9790 src/xdisp.c && to_charpos <= it->cmp_it.charpos)))) \ it 9791 src/xdisp.c && (it->method == GET_FROM_BUFFER \ it 9792 src/xdisp.c || (it->method == GET_FROM_DISPLAY_VECTOR \ it 9793 src/xdisp.c && it->dpvec + it->current.dpvec_index + 1 >= it->dpend))) it 9795 src/xdisp.c if (it->hpos == 0) it 9801 src/xdisp.c if (!((op && MOVE_TO_X) && to_x == it->first_visible_x) it 9802 src/xdisp.c && should_produce_line_number (it)) it 9804 src/xdisp.c if (it->current_x == it->first_visible_x) it 9805 src/xdisp.c maybe_produce_line_number (it); it 9810 src/xdisp.c if (it->area == TEXT_AREA && !it->string_from_prefix_prop_p) it 9811 src/xdisp.c handle_line_prefix (it); it 9814 src/xdisp.c if (IT_CHARPOS (*it) < CHARPOS (this_line_min_pos)) it 9815 src/xdisp.c SET_TEXT_POS (this_line_min_pos, IT_CHARPOS (*it), IT_BYTEPOS (*it)); it 9829 src/xdisp.c && BUFFERP (it->object) it 9830 src/xdisp.c && it->method == GET_FROM_BUFFER it 9831 src/xdisp.c && (((!it->bidi_p it 9836 src/xdisp.c || BIDI_AT_BASE_LEVEL (it->bidi_it)) it 9837 src/xdisp.c && IT_CHARPOS (*it) > to_charpos) it 9838 src/xdisp.c || (it->bidi_p it 9844 src/xdisp.c && IT_CHARPOS (*it) >= to_charpos) it 9847 src/xdisp.c && IT_CHARPOS (*it) <= to_charpos))))) it 9849 src/xdisp.c if (it->line_wrap != WORD_WRAP || wrap_it.sp < 0) it 9854 src/xdisp.c else if (it->line_wrap == WORD_WRAP && atpos_it.sp < 0) it 9858 src/xdisp.c SAVE_IT (atpos_it, *it, atpos_data); it 9865 src/xdisp.c if (!get_next_display_element (it)) it 9871 src/xdisp.c if (it->line_wrap == TRUNCATE) it 9880 src/xdisp.c && (it->pixel_width > 0 it 9881 src/xdisp.c || IT_CHARPOS (*it) > to_charpos it 9882 src/xdisp.c || it->area != TEXT_AREA)) it 9890 src/xdisp.c if (it->line_wrap == WORD_WRAP && it->area == TEXT_AREA) it 9894 src/xdisp.c if (char_can_wrap_after (it)) it 9899 src/xdisp.c if (may_wrap && char_can_wrap_before (it)) it 9908 src/xdisp.c RESTORE_IT (it, &atpos_it, atpos_data); it 9914 src/xdisp.c RESTORE_IT (it, &atx_it, atx_data); it 9919 src/xdisp.c SAVE_IT (wrap_it, *it, wrap_data); it 9928 src/xdisp.c ascent = it->max_ascent; it 9929 src/xdisp.c descent = it->max_descent; it 9935 src/xdisp.c x = it->current_x; it 9937 src/xdisp.c PRODUCE_GLYPHS (it); it 9939 src/xdisp.c if (it->area != TEXT_AREA) it 9941 src/xdisp.c prev_method = it->method; it 9942 src/xdisp.c if (it->method == GET_FROM_BUFFER) it 9943 src/xdisp.c prev_pos = IT_CHARPOS (*it); it 9944 src/xdisp.c set_iterator_to_next (it, true); it 9945 src/xdisp.c if (IT_CHARPOS (*it) < CHARPOS (this_line_min_pos)) it 9947 src/xdisp.c IT_CHARPOS (*it), IT_BYTEPOS (*it)); it 9948 src/xdisp.c if (it->bidi_p it 9950 src/xdisp.c && IT_CHARPOS (*it) > to_charpos it 9951 src/xdisp.c && IT_CHARPOS (*it) < closest_pos) it 9952 src/xdisp.c closest_pos = IT_CHARPOS (*it); it 9974 src/xdisp.c if (it->nglyphs) it 9978 src/xdisp.c int single_glyph_width = it->pixel_width / it->nglyphs; it 9981 src/xdisp.c int hpos_before_this_char = it->hpos; it 9983 src/xdisp.c for (i = 0; i < it->nglyphs; ++i, x = new_x) it 9992 src/xdisp.c if (it->line_wrap != WORD_WRAP || wrap_it.sp < 0) it 9996 src/xdisp.c SAVE_IT (atpos_it, *it, atpos_data); it 10002 src/xdisp.c if (it->line_wrap != WORD_WRAP || wrap_it.sp < 0) it 10004 src/xdisp.c it->current_x = x; it 10010 src/xdisp.c SAVE_IT (atx_it, *it, atx_data); it 10017 src/xdisp.c it->line_wrap != TRUNCATE it 10019 src/xdisp.c new_x > it->last_visible_x it 10022 src/xdisp.c || (new_x == it->last_visible_x it 10023 src/xdisp.c && FRAME_WINDOW_P (it->f) it 10024 src/xdisp.c && ((it->bidi_p && it->bidi_it.paragraph_dir == R2L) it 10025 src/xdisp.c ? WINDOW_LEFT_FRINGE_WIDTH (it->w) it 10026 src/xdisp.c : WINDOW_RIGHT_FRINGE_WIDTH (it->w))))) it 10032 src/xdisp.c it->hpos == 0 it 10033 src/xdisp.c || (new_x == it->last_visible_x it 10034 src/xdisp.c && FRAME_WINDOW_P (it->f))) it 10036 src/xdisp.c ++it->hpos; it 10037 src/xdisp.c it->current_x = new_x; it 10041 src/xdisp.c if (i == it->nglyphs - 1) it 10054 src/xdisp.c if (it->line_wrap == WORD_WRAP it 10057 src/xdisp.c && IT_OVERFLOW_NEWLINE_INTO_FRINGE (it)) it 10059 src/xdisp.c struct it tem_it; it 10062 src/xdisp.c SAVE_IT (tem_it, *it, tem_data); it 10063 src/xdisp.c set_iterator_to_next (it, true); it 10064 src/xdisp.c if (get_next_display_element (it) it 10065 src/xdisp.c && !char_can_wrap_before (it)) it 10067 src/xdisp.c RESTORE_IT (it, &tem_it, tem_data); it 10069 src/xdisp.c if (it->line_wrap != WORD_WRAP it 10079 src/xdisp.c && IT_OVERFLOW_NEWLINE_INTO_FRINGE (it))) it 10081 src/xdisp.c it->hpos = hpos_before_this_char; it 10082 src/xdisp.c it->current_x = x_before_this_char; it 10086 src/xdisp.c if (it->line_wrap == WORD_WRAP it 10089 src/xdisp.c SAVE_IT (atpos_it, *it, atpos_data); it 10095 src/xdisp.c prev_method = it->method; it 10096 src/xdisp.c if (it->method == GET_FROM_BUFFER) it 10097 src/xdisp.c prev_pos = IT_CHARPOS (*it); it 10098 src/xdisp.c set_iterator_to_next (it, true); it 10099 src/xdisp.c if (IT_CHARPOS (*it) < CHARPOS (this_line_min_pos)) it 10101 src/xdisp.c IT_CHARPOS (*it), IT_BYTEPOS (*it)); it 10109 src/xdisp.c if (!FRAME_WINDOW_P (it->f) it 10110 src/xdisp.c || ((it->bidi_p it 10111 src/xdisp.c && it->bidi_it.paragraph_dir == R2L) it 10112 src/xdisp.c ? WINDOW_LEFT_FRINGE_WIDTH (it->w) it 10113 src/xdisp.c : WINDOW_RIGHT_FRINGE_WIDTH (it->w)) == 0 it 10114 src/xdisp.c || IT_OVERFLOW_NEWLINE_INTO_FRINGE (it)) it 10116 src/xdisp.c if (!get_next_display_element (it)) it 10124 src/xdisp.c if (ITERATOR_AT_END_OF_LINE_P (it)) it 10130 src/xdisp.c if (ITERATOR_AT_END_OF_LINE_P (it) it 10131 src/xdisp.c && (it->line_wrap != WORD_WRAP it 10133 src/xdisp.c || IT_OVERFLOW_NEWLINE_INTO_FRINGE (it))) it 10142 src/xdisp.c IT_RESET_X_ASCENT_DESCENT (it); it 10149 src/xdisp.c if (may_wrap && IT_OVERFLOW_NEWLINE_INTO_FRINGE (it) it 10155 src/xdisp.c && (!moved_forward || char_can_wrap_before (it))) it 10159 src/xdisp.c if ((op & MOVE_TO_X) && new_x == it->last_visible_x it 10162 src/xdisp.c RESTORE_IT (it, &atx_it, atx_data); it 10171 src/xdisp.c RESTORE_IT (it, &wrap_it, wrap_data); it 10177 src/xdisp.c IT_CHARPOS (*it)); it 10184 src/xdisp.c if (it->line_wrap != WORD_WRAP || wrap_it.sp < 0) it 10186 src/xdisp.c if (it->line_wrap == WORD_WRAP && atpos_it.sp < 0) it 10188 src/xdisp.c SAVE_IT (atpos_it, *it, atpos_data); it 10193 src/xdisp.c if (new_x > it->first_visible_x) it 10200 src/xdisp.c it->current_x = it->first_visible_x; it 10201 src/xdisp.c maybe_produce_line_number (it); it 10202 src/xdisp.c it->current_x += new_x - it->first_visible_x; it 10206 src/xdisp.c ++it->hpos; it 10216 src/xdisp.c IT_RESET_X_ASCENT_DESCENT (it); it 10220 src/xdisp.c else if ((op & MOVE_TO_X) && it->current_x >= to_x) it 10226 src/xdisp.c eassert (it->nglyphs == 0); it 10232 src/xdisp.c if (ITERATOR_AT_END_OF_LINE_P (it)) it 10238 src/xdisp.c if (it->bidi_p && (op & MOVE_TO_POS) != 0) it 10240 src/xdisp.c if (!saw_smaller_pos && IT_CHARPOS (*it) > to_charpos) it 10244 src/xdisp.c RESTORE_IT (it, &ppos_it, ppos_data); it 10248 src/xdisp.c move_it_in_display_line_to (it, closest_pos, -1, it 10255 src/xdisp.c else if (it->line_wrap == WORD_WRAP && atpos_it.sp >= 0 it 10256 src/xdisp.c && IT_CHARPOS (*it) > to_charpos) it 10267 src/xdisp.c if (it->line_wrap == TRUNCATE it 10268 src/xdisp.c && it->current_x <= it->first_visible_x it 10270 src/xdisp.c && it->char_to_display == '\n') it 10272 src/xdisp.c it->max_ascent = it->ascent; it 10273 src/xdisp.c it->max_descent = it->descent; it 10279 src/xdisp.c it->constrain_row_ascent_descent_p = false; it 10283 src/xdisp.c prev_method = it->method; it 10284 src/xdisp.c if (it->method == GET_FROM_BUFFER) it 10285 src/xdisp.c prev_pos = IT_CHARPOS (*it); it 10296 src/xdisp.c CONSP (it->object) && EQ (XCAR (it->object), Qspace) it 10297 src/xdisp.c && it->sp > 0 && it->method == GET_FROM_STRETCH it 10298 src/xdisp.c && it->current_x >= it->last_visible_x it 10299 src/xdisp.c && it->continuation_lines_width > 0 it 10300 src/xdisp.c && it->line_wrap == TRUNCATE && it->stack[0].line_wrap != TRUNCATE; it 10304 src/xdisp.c set_iterator_to_next (it, true); it 10305 src/xdisp.c if (IT_CHARPOS (*it) < CHARPOS (this_line_min_pos)) it 10306 src/xdisp.c SET_TEXT_POS (this_line_min_pos, IT_CHARPOS (*it), IT_BYTEPOS (*it)); it 10307 src/xdisp.c if (IT_CHARPOS (*it) < to_charpos) it 10309 src/xdisp.c if (it->bidi_p it 10311 src/xdisp.c && IT_CHARPOS (*it) >= to_charpos it 10312 src/xdisp.c && IT_CHARPOS (*it) < closest_pos) it 10313 src/xdisp.c closest_pos = IT_CHARPOS (*it); it 10317 src/xdisp.c if (it->line_wrap == TRUNCATE it 10318 src/xdisp.c && it->current_x >= it->last_visible_x) it 10320 src/xdisp.c if (!FRAME_WINDOW_P (it->f) it 10321 src/xdisp.c || ((it->bidi_p && it->bidi_it.paragraph_dir == R2L) it 10322 src/xdisp.c ? WINDOW_LEFT_FRINGE_WIDTH (it->w) it 10323 src/xdisp.c : WINDOW_RIGHT_FRINGE_WIDTH (it->w)) == 0 it 10324 src/xdisp.c || IT_OVERFLOW_NEWLINE_INTO_FRINGE (it)) it 10328 src/xdisp.c if ((at_eob_p = !get_next_display_element (it)) it 10334 src/xdisp.c || (it->bidi_p && (op & MOVE_TO_POS) != 0 it 10336 src/xdisp.c && IT_CHARPOS (*it) > to_charpos)) it 10338 src/xdisp.c if (it->bidi_p it 10342 src/xdisp.c RESTORE_IT (it, &ppos_it, ppos_data); it 10344 src/xdisp.c move_it_in_display_line_to (it, closest_pos, -1, it 10350 src/xdisp.c if (ITERATOR_AT_END_OF_LINE_P (it)) it 10356 src/xdisp.c else if (it->bidi_p && (op & MOVE_TO_POS) != 0 it 10358 src/xdisp.c && IT_CHARPOS (*it) > to_charpos) it 10362 src/xdisp.c RESTORE_IT (it, &ppos_it, ppos_data); it 10364 src/xdisp.c move_it_in_display_line_to (it, closest_pos, -1, it 10384 src/xdisp.c && it->line_wrap == WORD_WRAP it 10388 src/xdisp.c RESTORE_IT (it, &wrap_it, wrap_data); it 10390 src/xdisp.c RESTORE_IT (it, &atpos_it, atpos_data); it 10392 src/xdisp.c RESTORE_IT (it, &atx_it, atx_data); it 10407 src/xdisp.c it->glyph_row = saved_glyph_row; it 10413 src/xdisp.c move_it_in_display_line (struct it *it, it 10417 src/xdisp.c if (it->line_wrap == WORD_WRAP it 10420 src/xdisp.c struct it save_it; it 10424 src/xdisp.c SAVE_IT (save_it, *it, save_data); it 10425 src/xdisp.c skip = move_it_in_display_line_to (it, to_charpos, to_x, op); it 10432 src/xdisp.c int prev_x = max (it->current_x - 1, 0); it 10433 src/xdisp.c RESTORE_IT (it, &save_it, save_data); it 10435 src/xdisp.c (it, -1, prev_x, MOVE_TO_X); it 10441 src/xdisp.c move_it_in_display_line_to (it, to_charpos, to_x, op); it 10460 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 10471 src/xdisp.c orig_charpos = IT_CHARPOS (*it); it 10472 src/xdisp.c orig_method = it->method; it 10479 src/xdisp.c if (it->vpos == to_vpos) it 10485 src/xdisp.c skip = move_it_in_display_line_to (it, -1, -1, 0); it 10491 src/xdisp.c if (it->vpos == to_vpos) it 10497 src/xdisp.c skip = move_it_in_display_line_to (it, to_charpos, to_x, op); it 10499 src/xdisp.c if (skip == MOVE_POS_MATCH_OR_ZV || it->vpos == to_vpos) it 10504 src/xdisp.c else if (skip == MOVE_X_REACHED && it->vpos != to_vpos) it 10507 src/xdisp.c skip = move_it_in_display_line_to (it, to_charpos, it 10519 src/xdisp.c struct it it_backup; it 10521 src/xdisp.c if (it->line_wrap == WORD_WRAP) it 10522 src/xdisp.c SAVE_IT (it_backup, *it, backup_data); it 10537 src/xdisp.c (it, to_charpos, ((op & MOVE_TO_X) ? to_x : 0), it 10549 src/xdisp.c line_height = it->max_ascent + it->max_descent; it 10550 src/xdisp.c if (to_y >= it->current_y it 10551 src/xdisp.c && to_y < it->current_y + line_height) it 10556 src/xdisp.c SAVE_IT (it_backup, *it, backup_data); it 10557 src/xdisp.c move_trace ("move_it: from %td\n", IT_CHARPOS (*it)); it 10558 src/xdisp.c skip2 = move_it_in_display_line_to (it, to_charpos, -1, it 10560 src/xdisp.c move_trace ("move_it: to %td\n", IT_CHARPOS (*it)); it 10561 src/xdisp.c line_height = it->max_ascent + it->max_descent; it 10564 src/xdisp.c if (to_y >= it->current_y it 10565 src/xdisp.c && to_y < it->current_y + line_height) it 10575 src/xdisp.c int max_ascent = it->max_ascent; it 10576 src/xdisp.c int max_descent = it->max_descent; it 10578 src/xdisp.c RESTORE_IT (it, &it_backup, backup_data); it 10579 src/xdisp.c it->max_ascent = max_ascent; it 10580 src/xdisp.c it->max_descent = max_descent; it 10597 src/xdisp.c && IT_CHARPOS (*it) != to_charpos it 10599 src/xdisp.c == (IT_CHARPOS (*it) > to_charpos))) it 10601 src/xdisp.c int max_ascent = it->max_ascent; it 10602 src/xdisp.c int max_descent = it->max_descent; it 10604 src/xdisp.c RESTORE_IT (it, &it_backup, backup_data); it 10605 src/xdisp.c it->max_ascent = max_ascent; it 10606 src/xdisp.c it->max_descent = max_descent; it 10614 src/xdisp.c line_height = it->max_ascent + it->max_descent; it 10617 src/xdisp.c if (to_y >= it->current_y it 10618 src/xdisp.c && to_y < it->current_y + line_height) it 10620 src/xdisp.c if (to_y > it->current_y) it 10621 src/xdisp.c max_current_x = max (it->current_x, max_current_x); it 10628 src/xdisp.c && it->line_wrap == WORD_WRAP) it 10630 src/xdisp.c int prev_x = max (it->current_x - 1, 0); it 10631 src/xdisp.c RESTORE_IT (it, &it_backup, backup_data); it 10633 src/xdisp.c (it, -1, prev_x, MOVE_TO_X); it 10642 src/xdisp.c max_current_x = max (it->current_x, max_current_x); it 10646 src/xdisp.c else if (BUFFERP (it->object) it 10647 src/xdisp.c && (it->method == GET_FROM_BUFFER it 10648 src/xdisp.c || it->method == GET_FROM_STRETCH) it 10649 src/xdisp.c && IT_CHARPOS (*it) >= to_charpos it 10655 src/xdisp.c && !(it->bidi_p it 10656 src/xdisp.c && it->bidi_it.scan_dir == -1)) it 10659 src/xdisp.c skip = move_it_in_display_line_to (it, to_charpos, -1, MOVE_TO_POS); it 10664 src/xdisp.c max_current_x = max (it->current_x, max_current_x); it 10669 src/xdisp.c max_current_x = max (it->current_x, max_current_x); it 10670 src/xdisp.c if (!IT_OVERFLOW_NEWLINE_INTO_FRINGE (it)) it 10671 src/xdisp.c it->override_ascent = -1; it 10672 src/xdisp.c set_iterator_to_next (it, true); it 10673 src/xdisp.c it->continuation_lines_width = 0; it 10677 src/xdisp.c max_current_x = it->last_visible_x; it 10678 src/xdisp.c it->continuation_lines_width = 0; it 10679 src/xdisp.c reseat_at_next_visible_line_start (it, false); it 10681 src/xdisp.c && (IT_CHARPOS (*it) > to_charpos it 10682 src/xdisp.c || (IT_CHARPOS (*it) == to_charpos it 10690 src/xdisp.c && (it->sp == 0 it 10691 src/xdisp.c || (STRINGP (it->string) it 10692 src/xdisp.c && (it->current.overlay_string_index < 0 it 10693 src/xdisp.c || (it->current.overlay_string_index >= 0 it 10694 src/xdisp.c && it->current.overlay_string_index it 10695 src/xdisp.c >= it->n_overlay_strings - 1)) it 10696 src/xdisp.c && IT_STRING_CHARPOS (*it) >= it->end_charpos))))) it 10704 src/xdisp.c max_current_x = it->last_visible_x; it 10709 src/xdisp.c if (it->c == '\t') it 10711 src/xdisp.c it->continuation_lines_width += it->last_visible_x; it 10715 src/xdisp.c if (it->current_x != it->last_visible_x it 10719 src/xdisp.c line_start_x = it->current_x + it->pixel_width it 10720 src/xdisp.c - it->last_visible_x; it 10721 src/xdisp.c if (FRAME_WINDOW_P (it->f)) it 10723 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); it 10737 src/xdisp.c += it->tab_width * face_font->space_width; it 10740 src/xdisp.c set_iterator_to_next (it, false); it 10753 src/xdisp.c if (IT_CHARPOS (*it) == orig_charpos it 10754 src/xdisp.c && it->method == orig_method it 10756 src/xdisp.c set_iterator_to_next (it, false); it 10757 src/xdisp.c it->continuation_lines_width += it->current_x; it 10766 src/xdisp.c it->current_x = line_start_x; it 10768 src/xdisp.c it->hpos = 0; it 10769 src/xdisp.c it->line_number_produced_p = false; it 10770 src/xdisp.c it->current_y += it->max_ascent + it->max_descent; it 10771 src/xdisp.c ++it->vpos; it 10772 src/xdisp.c last_height = it->max_ascent + it->max_descent; it 10773 src/xdisp.c it->max_ascent = it->max_descent = 0; it 10783 src/xdisp.c if (!FRAME_WINDOW_P (it->f) it 10785 src/xdisp.c && IT_CHARPOS (*it) == to_charpos it 10786 src/xdisp.c && it->what == IT_CHARACTER it 10787 src/xdisp.c && it->nglyphs > 1 it 10788 src/xdisp.c && it->line_wrap == WINDOW_WRAP it 10789 src/xdisp.c && it->current_x == it->last_visible_x - 1 it 10790 src/xdisp.c && it->c != '\n' it 10791 src/xdisp.c && it->c != '\t' it 10792 src/xdisp.c && it->w->window_end_valid it 10793 src/xdisp.c && it->vpos < it->w->window_end_vpos) it 10795 src/xdisp.c it->continuation_lines_width += it->current_x; it 10796 src/xdisp.c it->current_x = it->hpos = it->max_ascent = it->max_descent = 0; it 10797 src/xdisp.c it->current_y += it->max_ascent + it->max_descent; it 10798 src/xdisp.c ++it->vpos; it 10799 src/xdisp.c last_height = it->max_ascent + it->max_descent; it 10821 src/xdisp.c move_it_vertically_backward (struct it *it, int dy) it 10824 src/xdisp.c struct it it2, it3; it 10828 src/xdisp.c = (it->last_visible_x - it->first_visible_x) / FRAME_COLUMN_WIDTH (it->f); it 10834 src/xdisp.c start_pos = IT_CHARPOS (*it); it 10837 src/xdisp.c nlines = max (1, dy / default_line_pixel_height (it->w)); it 10838 src/xdisp.c if (it->line_wrap == TRUNCATE || nchars_per_row == 0) it 10846 src/xdisp.c while (nlines-- && IT_CHARPOS (*it) > pos_limit) it 10847 src/xdisp.c back_to_previous_visible_line_start (it); it 10853 src/xdisp.c reseat_1 (it, it->current.pos, true); it 10856 src/xdisp.c it->current_x = it->hpos = 0; /* FIXME: this is incorrect when bidi it 10858 src/xdisp.c it->continuation_lines_width = 0; it 10864 src/xdisp.c SAVE_IT (it2, *it, it2data); it 10881 src/xdisp.c eassert (IT_CHARPOS (*it) >= BEGV); it 10885 src/xdisp.c eassert (IT_CHARPOS (*it) >= BEGV); it 10888 src/xdisp.c h = it2.current_y - it->current_y; it 10890 src/xdisp.c nlines = it2.vpos - it->vpos; it 10894 src/xdisp.c it->vpos -= nlines; it 10895 src/xdisp.c it->current_y -= h; it 10902 src/xdisp.c RESTORE_IT (it, it, it2data); it 10904 src/xdisp.c move_it_by_lines (it, nlines); it 10911 src/xdisp.c if (it->bidi_p it 10912 src/xdisp.c && !it->continuation_lines_width it 10913 src/xdisp.c && !STRINGP (it->string) it 10914 src/xdisp.c && IT_CHARPOS (*it) > BEGV it 10915 src/xdisp.c && FETCH_BYTE (IT_BYTEPOS (*it) - 1) != '\n') it 10917 src/xdisp.c ptrdiff_t cp = IT_CHARPOS (*it), bp = IT_BYTEPOS (*it); it 10920 src/xdisp.c SET_WITH_NARROWED_BEGV (it, cp, it 10922 src/xdisp.c get_small_narrowing_begv (it->w, IT_CHARPOS (*it))); it 10923 src/xdisp.c move_it_to (it, cp, -1, -1, -1, MOVE_TO_POS); it 10931 src/xdisp.c int target_y = it->current_y + h - dy; it 10939 src/xdisp.c RESTORE_IT (it, it, it2data); it 10942 src/xdisp.c if (target_y < it->current_y it 10947 src/xdisp.c && (it->current_y - target_y it 10948 src/xdisp.c > min (window_box_height (it->w), line_height * 2 / 3)) it 10949 src/xdisp.c && IT_CHARPOS (*it) > BEGV) it 10952 src/xdisp.c target_y - it->current_y); it 10953 src/xdisp.c dy = it->current_y - target_y; it 10956 src/xdisp.c else if (target_y >= it->current_y + line_height it 10957 src/xdisp.c && IT_CHARPOS (*it) < ZV) it 10967 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) it 10968 src/xdisp.c move_it_vertically (it, target_y - it->current_y); it 10975 src/xdisp.c last_pos = it->current.pos; it 10976 src/xdisp.c last_y = it->current_y; it 10977 src/xdisp.c last_vpos = it->vpos; it 10978 src/xdisp.c move_it_by_lines (it, 1); it 10980 src/xdisp.c while (target_y > it->current_y && IT_CHARPOS (*it) < ZV); it 10981 src/xdisp.c if (it->current_y > target_y) it 10983 src/xdisp.c reseat (it, last_pos, true); it 10984 src/xdisp.c it->current_y = last_y; it 10985 src/xdisp.c it->vpos = last_vpos; it 10998 src/xdisp.c move_it_vertically (struct it *it, int dy) it 11001 src/xdisp.c move_it_vertically_backward (it, -dy); it 11004 src/xdisp.c move_trace ("move_it_v: from %td, %d\n", IT_CHARPOS (*it), dy); it 11005 src/xdisp.c move_it_to (it, ZV, -1, it->current_y + dy, -1, it 11007 src/xdisp.c move_trace ("move_it_v: to %td\n", IT_CHARPOS (*it)); it 11011 src/xdisp.c if (IT_CHARPOS (*it) == ZV it 11013 src/xdisp.c && FETCH_BYTE (IT_BYTEPOS (*it) - 1) != '\n') it 11014 src/xdisp.c move_it_by_lines (it, 0); it 11022 src/xdisp.c move_it_past_eol (struct it *it) it 11026 src/xdisp.c rc = move_it_in_display_line_to (it, Z, 0, MOVE_TO_POS); it 11028 src/xdisp.c set_iterator_to_next (it, false); it 11041 src/xdisp.c move_it_by_lines (struct it *it, ptrdiff_t dvpos) it 11063 src/xdisp.c move_it_vertically_backward (it, 0); it 11069 src/xdisp.c move_it_to (it, -1, -1, -1, it->vpos + dvpos, MOVE_TO_VPOS); it 11070 src/xdisp.c if (!IT_POS_VALID_AFTER_MOVE_P (it)) it 11082 src/xdisp.c move_it_to (it, IT_CHARPOS (*it) + it->string_from_display_prop_p, it 11088 src/xdisp.c struct it it2; it 11092 src/xdisp.c = (it->last_visible_x - it->first_visible_x) / FRAME_COLUMN_WIDTH (it->f); it 11099 src/xdisp.c dvpos += it->vpos; it 11100 src/xdisp.c orig_charpos = IT_CHARPOS (*it); it 11101 src/xdisp.c move_it_vertically_backward (it, 0); it 11102 src/xdisp.c dvpos -= it->vpos; it 11106 src/xdisp.c start_charpos = IT_CHARPOS (*it); it 11107 src/xdisp.c if (it->line_wrap == TRUNCATE || nchars_per_row == 0) it 11112 src/xdisp.c for (i = -dvpos; i > 0 && IT_CHARPOS (*it) > pos_limit; --i) it 11113 src/xdisp.c back_to_previous_visible_line_start (it); it 11114 src/xdisp.c if (i > 0 && IT_CHARPOS (*it) <= pos_limit) it 11116 src/xdisp.c reseat (it, it->current.pos, true); it 11119 src/xdisp.c while (!IT_POS_VALID_AFTER_MOVE_P (it)) it 11122 src/xdisp.c dvpos += it->vpos; it 11123 src/xdisp.c move_it_vertically_backward (it, 0); it 11124 src/xdisp.c dvpos -= it->vpos; it 11125 src/xdisp.c if (IT_POS_VALID_AFTER_MOVE_P (it)) it 11129 src/xdisp.c back_to_previous_visible_line_start (it); it 11130 src/xdisp.c reseat (it, it->current.pos, true); it 11134 src/xdisp.c it->current_x = it->hpos = 0; it 11138 src/xdisp.c SAVE_IT (it2, *it, it2data); it 11141 src/xdisp.c it->vpos -= it2.vpos; it 11142 src/xdisp.c it->current_y -= it2.current_y; it 11143 src/xdisp.c it->current_x = it->hpos = 0; it 11151 src/xdisp.c SAVE_IT (it2, *it, it2data); it 11152 src/xdisp.c move_it_to (it, -1, -1, -1, it->vpos + delta, MOVE_TO_VPOS); it 11155 src/xdisp.c if (it->vpos - it2.vpos > delta || IT_CHARPOS (*it) == orig_charpos) it 11156 src/xdisp.c RESTORE_IT (it, &it2, it2data); it 11172 src/xdisp.c RESTORE_IT (it, it, it2data); it 11175 src/xdisp.c back_to_previous_visible_line_start (it); it 11176 src/xdisp.c it->vpos--; it 11178 src/xdisp.c reseat_1 (it, it->current.pos, true); it 11181 src/xdisp.c RESTORE_IT (it, it, it2data); it 11186 src/xdisp.c partial_line_height (struct it *it_origin) it 11199 src/xdisp.c struct it it; it 11200 src/xdisp.c SAVE_IT (it, *it_origin, it_data); it 11201 src/xdisp.c move_it_to (&it, ZV, -1, it.last_visible_y, -1, it 11203 src/xdisp.c if (it.what == IT_EOB) it 11205 src/xdisp.c int vis_height = it.last_visible_y - it.current_y; it 11206 src/xdisp.c int height = it.ascent + it.descent; it 11211 src/xdisp.c int last_line_y = it.current_y; it 11212 src/xdisp.c move_it_by_lines (&it, 1); it 11213 src/xdisp.c partial_height = (it.current_y > it.last_visible_y) it 11214 src/xdisp.c ? it.last_visible_y - last_line_y : 0; it 11216 src/xdisp.c RESTORE_IT (&it, &it, it_data); it 11232 src/xdisp.c fast_move_it_horizontally (struct it *it, ptrdiff_t nchars) it 11235 src/xdisp.c ptrdiff_t nl_pos = find_newline_no_quit (IT_CHARPOS (*it), IT_BYTEPOS (*it), it 11240 src/xdisp.c if (nl_pos - IT_CHARPOS (*it) > nchars) it 11243 src/xdisp.c IT_CHARPOS (*it) + nchars, it 11244 src/xdisp.c CHAR_TO_BYTE (IT_CHARPOS (*it) + nchars)); it 11261 src/xdisp.c reseat (it, new_pos, false); it 11268 src/xdisp.c in_display_vector_p (struct it *it) it 11270 src/xdisp.c return (it->method == GET_FROM_DISPLAY_VECTOR it 11271 src/xdisp.c && it->current.dpvec_index > 0 it 11272 src/xdisp.c && it->dpvec + it->current.dpvec_index != it->dpend); it 11285 src/xdisp.c struct it it; it 11368 src/xdisp.c start_display (&it, w, startp); it 11370 src/xdisp.c int start_y = it.current_y; it 11378 src/xdisp.c it.bidi_p = false; it 11384 src/xdisp.c it.current_y = 0; it 11386 src/xdisp.c move_it_by_lines (&it, 0); it 11394 src/xdisp.c while (it.current_y > vertical_offset) it 11396 src/xdisp.c last_y = it.current_y; it 11397 src/xdisp.c move_it_vertically_backward (&it, it 11399 src/xdisp.c + it.current_y)); it 11401 src/xdisp.c if (it.current_y == last_y) it 11407 src/xdisp.c move_it_vertically (&it, vertical_offset); it 11410 src/xdisp.c it.current_y = (WINDOW_TAB_LINE_HEIGHT (w) it 11412 src/xdisp.c start = clip_to_bounds (BEGV, IT_CHARPOS (it), ZV); it 11413 src/xdisp.c start_y = it.current_y; it 11414 src/xdisp.c start_x = it.current_x; it 11421 src/xdisp.c reseat_at_previous_visible_line_start (&it); it 11422 src/xdisp.c it.current_x = it.hpos = 0; it 11423 src/xdisp.c if (IT_CHARPOS (it) != start) it 11426 src/xdisp.c struct it it1; it 11428 src/xdisp.c SAVE_IT (it1, it, it1data); it 11429 src/xdisp.c move_it_to (&it, start, -1, -1, -1, MOVE_TO_POS); it 11435 src/xdisp.c if (IT_CHARPOS (it) > start && start > BEGV) it 11440 src/xdisp.c RESTORE_IT (&it, &it1, it1data); it 11447 src/xdisp.c move_it_to (&it, start - 1, -1, -1, -1, MOVE_TO_POS); it 11449 src/xdisp.c move_it_in_display_line (&it, start, it1_x + 1, it 11451 src/xdisp.c move_it_to (&it, start - 1, -1, -1, -1, MOVE_TO_POS); it 11452 src/xdisp.c start_x = it.current_x; it 11456 src/xdisp.c if (IT_CHARPOS (it) == start - 1) it 11457 src/xdisp.c start_x += it.pixel_width; it 11461 src/xdisp.c start_x = it.current_x; it 11466 src/xdisp.c start_x = it.current_x; it 11472 src/xdisp.c it.current_y = start_y; it 11476 src/xdisp.c it.current_x = 0; it 11479 src/xdisp.c it.last_visible_x = max_x; it 11488 src/xdisp.c struct it it2; it 11489 src/xdisp.c SAVE_IT (it2, it, it2data); it 11491 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 11500 src/xdisp.c RESTORE_IT (&it, &it2, it2data); it 11501 src/xdisp.c x = move_it_to (&it, end, to_x, max_y, -1, move_op); it 11505 src/xdisp.c if (IT_CHARPOS (it) == end) it 11507 src/xdisp.c x += it.pixel_width; it 11511 src/xdisp.c doff = (max (it.max_ascent, it.ascent) it 11512 src/xdisp.c + max (it.max_descent, it.descent)); it 11515 src/xdisp.c it.max_ascent = max (it.max_ascent, it.ascent); it 11516 src/xdisp.c it.max_descent = max (it.max_descent, it.descent); it 11533 src/xdisp.c if (it.current_y > start_y) it 11539 src/xdisp.c y = (it.current_y + doff it 11543 src/xdisp.c y = (it.current_y + it.max_ascent + it.max_descent + doff it 11746 src/xdisp.c struct it it; it 11757 src/xdisp.c start_display (&it, w, startpos); it 11759 src/xdisp.c if (it.line_wrap != TRUNCATE) it 11761 src/xdisp.c it.glyph_row = NULL; it 11762 src/xdisp.c rc = move_it_in_display_line_to (&it, ZV, -1, MOVE_TO_POS); it 12793 src/xdisp.c struct it it; it 12806 src/xdisp.c init_iterator (&it, w, BEGV, BEGV_BYTE, NULL, DEFAULT_FACE_ID); it 12821 src/xdisp.c move_it_to (&it, ZV, -1, -1, -1, MOVE_TO_POS); it 12824 src/xdisp.c if (it.max_ascent == 0 && it.max_descent == 0) it 12826 src/xdisp.c height = it.current_y; it 12832 src/xdisp.c if (!(it.line_wrap == TRUNCATE it 12833 src/xdisp.c && it.current_x <= it.first_visible_x it 12839 src/xdisp.c height = it.current_y + it.max_ascent + it.max_descent; it 12840 src/xdisp.c height -= min (it.extra_line_spacing, it.max_extra_line_spacing); it 12848 src/xdisp.c init_iterator (&it, w, ZV, ZV_BYTE, NULL, DEFAULT_FACE_ID); it 12849 src/xdisp.c move_it_vertically_backward (&it, height - unit); it 12859 src/xdisp.c move_it_by_lines (&it, 0); it 12860 src/xdisp.c start = it.current.pos; it 13593 src/xdisp.c struct it it; it 13644 src/xdisp.c init_iterator (&it, XWINDOW (f->selected_window), -1, -1, it 13646 src/xdisp.c display_mode_element (&it, 0, -1, -1, fmt, Qnil, false); it 14110 src/xdisp.c struct it it; it 14131 src/xdisp.c init_iterator (&it, w, -1, -1, f->desired_matrix->rows it 14134 src/xdisp.c it.first_visible_x = 0; it 14135 src/xdisp.c it.last_visible_x = FRAME_PIXEL_WIDTH (f); it 14143 src/xdisp.c init_iterator (&it, tab_w, -1, -1, tab_w->desired_matrix->rows, it 14145 src/xdisp.c it.first_visible_x = 0; it 14146 src/xdisp.c it.last_visible_x = FRAME_PIXEL_WIDTH (f); it 14153 src/xdisp.c init_iterator (&it, w, -1, -1, f->desired_matrix->rows it 14156 src/xdisp.c it.first_visible_x = 0; it 14157 src/xdisp.c it.last_visible_x = FRAME_COLS (f); it 14163 src/xdisp.c it.paragraph_embedding = L2R; it 14168 src/xdisp.c struct glyph_row *row = it.glyph_row + i; it 14176 src/xdisp.c items = it.f->tab_bar_items; it 14178 src/xdisp.c for (i = 0, j = 0; i < it.f->n_tab_bar_items; ++i, j += TAB_BAR_ITEM_NSLOTS) it 14186 src/xdisp.c if (it.current_x < it.last_visible_x) it 14187 src/xdisp.c display_string (NULL, string, Qnil, 0, 0, &it, it 14192 src/xdisp.c if (it.current_x < it.last_visible_x) it 14193 src/xdisp.c display_string ("", Qnil, Qnil, 0, 0, &it, -1, 0, 0, -1); it 14196 src/xdisp.c compute_line_metrics (&it); it 14256 src/xdisp.c display_tab_bar_line (struct it *it, int height) it 14258 src/xdisp.c struct glyph_row *row = it->glyph_row; it 14259 src/xdisp.c int max_x = it->last_visible_x; it 14265 src/xdisp.c row->y = it->current_y; it 14269 src/xdisp.c it->start_of_box_run_p = true; it 14272 src/xdisp.c while (it->current_x < max_x) it 14275 src/xdisp.c struct it it_before; it 14278 src/xdisp.c if (!get_next_display_element (it)) it 14281 src/xdisp.c if (height < 0 && !it->hpos) it 14288 src/xdisp.c it_before = *it; it 14290 src/xdisp.c PRODUCE_GLYPHS (it); it 14303 src/xdisp.c *it = it_before; it 14308 src/xdisp.c && (it->vpos > 0 || IT_STRING_CHARPOS (*it) < it->end_charpos-1)) it 14313 src/xdisp.c ++it->hpos; it 14318 src/xdisp.c enough = ITERATOR_AT_END_OF_LINE_P (it); it 14319 src/xdisp.c set_iterator_to_next (it, true); it 14338 src/xdisp.c it->face_id = DEFAULT_FACE_ID; it 14340 src/xdisp.c extend_face_to_end_of_line (it); it 14347 src/xdisp.c if ((height -= it->max_ascent + it->max_descent) > 0) it 14350 src/xdisp.c height %= FRAME_LINE_HEIGHT (it->f); it 14351 src/xdisp.c it->max_ascent += height / 2; it 14352 src/xdisp.c it->max_descent += (height + 1) / 2; it 14355 src/xdisp.c compute_line_metrics (it); it 14360 src/xdisp.c row->height = row->phys_height = it->last_visible_y - row->y; it 14371 src/xdisp.c it->current_x = it->hpos = 0; it 14372 src/xdisp.c it->current_y += row->height; it 14373 src/xdisp.c ++it->vpos; it 14374 src/xdisp.c ++it->glyph_row; it 14385 src/xdisp.c struct it it; it 14393 src/xdisp.c init_iterator (&it, w, -1, -1, temp_row, TAB_BAR_FACE_ID); it 14395 src/xdisp.c it.first_visible_x = 0; it 14396 src/xdisp.c it.last_visible_x = WINDOW_PIXEL_WIDTH (w); it 14397 src/xdisp.c reseat_to_string (&it, NULL, f->desired_tab_bar_string, it 14399 src/xdisp.c it.paragraph_embedding = L2R; it 14402 src/xdisp.c while (!ITERATOR_AT_END_P (&it)) it 14404 src/xdisp.c it.glyph_row = temp_row; it 14405 src/xdisp.c display_tab_bar_line (&it, -1); it 14411 src/xdisp.c *n_rows = it.vpos > 0 ? it.vpos : -1; it 14414 src/xdisp.c return it.current_y; it 14416 src/xdisp.c return (it.current_y + FRAME_LINE_HEIGHT (f) - 1) / FRAME_LINE_HEIGHT (f); it 14451 src/xdisp.c struct it it; it 14506 src/xdisp.c init_iterator (&it, w, -1, -1, w->desired_matrix->rows, TAB_BAR_FACE_ID); it 14507 src/xdisp.c it.first_visible_x = 0; it 14508 src/xdisp.c it.last_visible_x = WINDOW_PIXEL_WIDTH (w); it 14509 src/xdisp.c row = it.glyph_row; it 14511 src/xdisp.c reseat_to_string (&it, NULL, f->desired_tab_bar_string, 0, 0, 0, it 14520 src/xdisp.c it.paragraph_embedding = L2R; it 14540 src/xdisp.c height = max (1, (it.last_visible_y - border) / rows); it 14541 src/xdisp.c extra = it.last_visible_y - border - height * rows; it 14543 src/xdisp.c while (it.current_y < it.last_visible_y) it 14551 src/xdisp.c display_tab_bar_line (&it, height + h); it 14556 src/xdisp.c while (it.current_y < it.last_visible_y) it 14557 src/xdisp.c display_tab_bar_line (&it, 0); it 14571 src/xdisp.c if (IT_STRING_CHARPOS (it) < it.end_charpos) it 14578 src/xdisp.c row = it.glyph_row - 1; it 14590 src/xdisp.c && MATRIX_ROW_BOTTOM_Y (row) > it.last_visible_y) it 15271 src/xdisp.c display_tool_bar_line (struct it *it, int height) it 15273 src/xdisp.c struct glyph_row *row = it->glyph_row; it 15274 src/xdisp.c int max_x = it->last_visible_x; it 15280 src/xdisp.c row->y = it->current_y; it 15284 src/xdisp.c it->start_of_box_run_p = true; it 15286 src/xdisp.c while (it->current_x < max_x) it 15289 src/xdisp.c struct it it_before; it 15292 src/xdisp.c if (!get_next_display_element (it)) it 15295 src/xdisp.c if (height < 0 && !it->hpos) it 15302 src/xdisp.c it_before = *it; it 15304 src/xdisp.c PRODUCE_GLYPHS (it); it 15317 src/xdisp.c *it = it_before; it 15322 src/xdisp.c && (it->vpos > 0 || IT_STRING_CHARPOS (*it) < it->end_charpos-1)) it 15327 src/xdisp.c ++it->hpos; it 15337 src/xdisp.c if (ITERATOR_AT_END_OF_LINE_P (it)) it 15339 src/xdisp.c reseat_at_next_visible_line_start (it, false); it 15343 src/xdisp.c if (ITERATOR_AT_END_P (it)) it 15346 src/xdisp.c set_iterator_to_next (it, true); it 15361 src/xdisp.c it->face_id = DEFAULT_FACE_ID; it 15363 src/xdisp.c extend_face_to_end_of_line (it); it 15371 src/xdisp.c && (height -= it->max_ascent + it->max_descent) > 0) it 15374 src/xdisp.c height %= FRAME_LINE_HEIGHT (it->f); it 15375 src/xdisp.c it->max_ascent += height / 2; it 15376 src/xdisp.c it->max_descent += (height + 1) / 2; it 15379 src/xdisp.c compute_line_metrics (it); it 15384 src/xdisp.c row->height = row->phys_height = it->last_visible_y - row->y; it 15395 src/xdisp.c it->current_x = it->hpos = 0; it 15396 src/xdisp.c it->current_y += row->height; it 15397 src/xdisp.c ++it->vpos; it 15398 src/xdisp.c ++it->glyph_row; it 15410 src/xdisp.c struct it it; it 15418 src/xdisp.c init_iterator (&it, w, -1, -1, temp_row, TOOL_BAR_FACE_ID); it 15420 src/xdisp.c it.first_visible_x = 0; it 15421 src/xdisp.c it.last_visible_x = WINDOW_PIXEL_WIDTH (w); it 15422 src/xdisp.c reseat_to_string (&it, NULL, f->desired_tool_bar_string, it 15424 src/xdisp.c it.paragraph_embedding = L2R; it 15426 src/xdisp.c while (!ITERATOR_AT_END_P (&it)) it 15429 src/xdisp.c it.glyph_row = temp_row; it 15430 src/xdisp.c display_tool_bar_line (&it, -1); it 15436 src/xdisp.c *n_rows = it.vpos > 0 ? it.vpos : -1; it 15439 src/xdisp.c return it.current_y; it 15441 src/xdisp.c return (it.current_y + FRAME_LINE_HEIGHT (f) - 1) / FRAME_LINE_HEIGHT (f); it 15481 src/xdisp.c struct it it; it 15507 src/xdisp.c init_iterator (&it, w, -1, -1, w->desired_matrix->rows, TOOL_BAR_FACE_ID); it 15508 src/xdisp.c it.first_visible_x = 0; it 15509 src/xdisp.c it.last_visible_x = WINDOW_PIXEL_WIDTH (w); it 15510 src/xdisp.c row = it.glyph_row; it 15515 src/xdisp.c reseat_to_string (&it, NULL, f->desired_tool_bar_string, it 15524 src/xdisp.c it.paragraph_embedding = L2R; it 15575 src/xdisp.c while (!ITERATOR_AT_END_P (&it)) it 15576 src/xdisp.c display_tool_bar_line (&it, -1); it 15583 src/xdisp.c if (it.current_y != it.last_visible_y) it 15588 src/xdisp.c height = max (1, (it.last_visible_y - border) / rows); it 15589 src/xdisp.c extra = it.last_visible_y - border - height * rows; it 15591 src/xdisp.c while (it.current_y < it.last_visible_y) it 15600 src/xdisp.c display_tool_bar_line (&it, height + h); it 15606 src/xdisp.c while (it.current_y < it.last_visible_y) it 15607 src/xdisp.c display_tool_bar_line (&it, 0); it 15619 src/xdisp.c if (IT_STRING_CHARPOS (it) < it.end_charpos) it 15626 src/xdisp.c row = it.glyph_row - 1; it 15638 src/xdisp.c && MATRIX_ROW_BOTTOM_Y (row) > it.last_visible_y) it 16102 src/xdisp.c struct it it; it 16119 src/xdisp.c init_to_row_start (&it, w, cursor_row); it 16121 src/xdisp.c it.first_visible_x = window_hscroll_limited (w, it.f) it 16122 src/xdisp.c * FRAME_COLUMN_WIDTH (it.f); it 16123 src/xdisp.c it.last_visible_x = DISP_INFINITY; it 16125 src/xdisp.c ptrdiff_t nchars = pt - IT_CHARPOS (it); it 16133 src/xdisp.c fast_move_it_horizontally (&it, nchars); it 16134 src/xdisp.c it.current_x += nchars * FRAME_COLUMN_WIDTH (it.f); it 16137 src/xdisp.c move_it_in_display_line_to (&it, pt, -1, MOVE_TO_POS); it 16144 src/xdisp.c if (it.method == GET_FROM_STRING && pt > 1) it 16146 src/xdisp.c init_to_row_start (&it, w, cursor_row); it 16148 src/xdisp.c it.first_visible_x = (window_hscroll_limited (w, it.f) it 16149 src/xdisp.c * FRAME_COLUMN_WIDTH (it.f)); it 16153 src/xdisp.c fast_move_it_horizontally (&it, nchars - 1); it 16154 src/xdisp.c it.current_x += (nchars - 1) * FRAME_COLUMN_WIDTH (it.f); it 16157 src/xdisp.c move_it_in_display_line_to (&it, pt - 1, -1, MOVE_TO_POS); it 16163 src/xdisp.c hscroll = max (0, (it.current_x it 16164 src/xdisp.c - (ITERATOR_AT_END_OF_LINE_P (&it) it 16165 src/xdisp.c ? (text_area_width - 4 * FRAME_COLUMN_WIDTH (it.f)) it 16167 src/xdisp.c / FRAME_COLUMN_WIDTH (it.f); it 16177 src/xdisp.c - hscroll_step_abs * FRAME_COLUMN_WIDTH (it.f) it 16180 src/xdisp.c = max (0, it.current_x - wanted_x) / FRAME_COLUMN_WIDTH (it.f); it 16189 src/xdisp.c hscroll_step_abs * FRAME_COLUMN_WIDTH (it.f) it 16192 src/xdisp.c = max (0, it.current_x - wanted_x) / FRAME_COLUMN_WIDTH (it.f); it 16505 src/xdisp.c overlay_arrow_at_row (struct it *it, struct glyph_row *row) it 16525 src/xdisp.c if (FRAME_WINDOW_P (it->f) it 16528 src/xdisp.c && WINDOW_LEFT_FRINGE_WIDTH (it->w) > 0) it 16959 src/xdisp.c struct it it; it 16964 src/xdisp.c start_display (&it, w, tlbufpos); it 16967 src/xdisp.c if (it.current_x != this_line_start_x) it 16973 src/xdisp.c if (it.sp > 1 it 16974 src/xdisp.c && it.method == GET_FROM_IMAGE && it.image_id == -1) it 16979 src/xdisp.c it.vpos = this_line_vpos; it 16980 src/xdisp.c it.current_y = this_line_y; it 16981 src/xdisp.c it.glyph_row = MATRIX_ROW (w->desired_matrix, this_line_vpos); it 16982 src/xdisp.c display_line (&it, -1); it 17003 src/xdisp.c if (it.current_y < it.last_visible_y) it 17030 src/xdisp.c if (MATRIX_ROW_DISPLAYS_TEXT_P (it.glyph_row - 1)) it 17085 src/xdisp.c struct it it; it 17091 src/xdisp.c init_iterator (&it, w, CHARPOS (tlbufpos), BYTEPOS (tlbufpos), it 17093 src/xdisp.c it.current_x = this_line_start_x; it 17094 src/xdisp.c it.current_y = this_line_y; it 17095 src/xdisp.c it.vpos = this_line_vpos; it 17098 src/xdisp.c && it.line_wrap == TRUNCATE it 17104 src/xdisp.c reseat_at_next_visible_line_start (&it, false); it 17105 src/xdisp.c if (IT_CHARPOS (it) <= PT) /* point moved off this line */ it 17106 src/xdisp.c it.vpos = this_line_vpos + 1; it 17112 src/xdisp.c move_it_to (&it, PT, -1, -1, -1, MOVE_TO_POS); it 17115 src/xdisp.c if (it.vpos == this_line_vpos it 17119 src/xdisp.c eassert (this_line_vpos == it.vpos); it 17120 src/xdisp.c eassert (this_line_y == it.current_y); it 18688 src/xdisp.c struct it it; it 18741 src/xdisp.c start_display (&it, w, startp); it 18742 src/xdisp.c scroll_margin_y = it.last_visible_y - partial_line_height (&it) it 18745 src/xdisp.c move_it_to (&it, PT, -1, scroll_margin_y - 1, -1, it 18748 src/xdisp.c if (PT > CHARPOS (it.current.pos)) it 18750 src/xdisp.c int y0 = line_bottom_y (&it); it 18757 src/xdisp.c int y_to_move = it.last_visible_y + slack; it 18763 src/xdisp.c move_it_to (&it, PT, -1, y_to_move, it 18765 src/xdisp.c dy = line_bottom_y (&it) - y0; it 18773 src/xdisp.c else if (PT == IT_CHARPOS (it) it 18774 src/xdisp.c && IT_CHARPOS (it) < ZV it 18775 src/xdisp.c && it.method == GET_FROM_STRING it 18777 src/xdisp.c && it.current_x == 0) it 18780 src/xdisp.c int y1 = it.current_y; it 18790 src/xdisp.c skip = move_it_in_display_line_to (&it, ZV, -1, MOVE_TO_POS); it 18792 src/xdisp.c || IT_CHARPOS (it) != PT it 18793 src/xdisp.c || it.method == GET_FROM_BUFFER) it 18795 src/xdisp.c vpos = it.vpos; it 18796 src/xdisp.c move_it_to (&it, -1, -1, -1, vpos + 1, MOVE_TO_VPOS); it 18797 src/xdisp.c } while (it.vpos > vpos); it 18799 src/xdisp.c dy = it.current_y - y1; it 18846 src/xdisp.c start_display (&it, w, startp); it 18848 src/xdisp.c move_it_vertically (&it, amount_to_scroll); it 18857 src/xdisp.c struct it it1; it 18863 src/xdisp.c SAVE_IT (it1, it, it1data); it 18866 src/xdisp.c RESTORE_IT (&it, &it, it1data); it 18867 src/xdisp.c move_it_by_lines (&it, 1); it 18868 src/xdisp.c SAVE_IT (it1, it, it1data); it 18869 src/xdisp.c } while (IT_CHARPOS (it) < ZV it 18875 src/xdisp.c if (IT_CHARPOS (it) == CHARPOS (startp)) it 18876 src/xdisp.c move_it_by_lines (&it, 1); it 18877 src/xdisp.c startp = it.current.pos; it 18890 src/xdisp.c start_display (&it, w, startp); it 18891 src/xdisp.c y_start = it.current_y; it 18892 src/xdisp.c move_it_vertically (&it, this_scroll_margin); it 18893 src/xdisp.c scroll_margin_pos = it.current.pos; it 18897 src/xdisp.c if (IT_CHARPOS (it) == ZV it 18898 src/xdisp.c && it.current_y - y_start < this_scroll_margin) it 18899 src/xdisp.c y_offset = this_scroll_margin - (it.current_y - y_start); it 18914 src/xdisp.c start_display (&it, w, pos); it 18915 src/xdisp.c y0 = it.current_y; it 18916 src/xdisp.c y_to_move = max (it.last_visible_y, it 18918 src/xdisp.c move_it_to (&it, CHARPOS (scroll_margin_pos), 0, it 18921 src/xdisp.c dy = it.current_y - y0; it 18923 src/xdisp.c || IT_CHARPOS (it) < CHARPOS (scroll_margin_pos)) it 18930 src/xdisp.c start_display (&it, w, startp); it 18961 src/xdisp.c move_it_vertically_backward (&it, amount_to_scroll); it 18962 src/xdisp.c startp = it.current.pos; it 19030 src/xdisp.c struct it it; it 19043 src/xdisp.c init_iterator (&it, w, CHARPOS (start_pos), BYTEPOS (start_pos), it 19045 src/xdisp.c reseat_at_previous_visible_line_start (&it); it 19053 src/xdisp.c if (IT_CHARPOS (it) <= PT it 19054 src/xdisp.c && (CHARPOS (start_pos) - IT_CHARPOS (it) it 19066 src/xdisp.c pos_before_pt = pos = it.current.pos; it 19068 src/xdisp.c while ((distance = eabs (CHARPOS (start_pos) - IT_CHARPOS (it))), it 19074 src/xdisp.c pos = it.current.pos; it 19075 src/xdisp.c if (it.line_wrap == WORD_WRAP) it 19086 src/xdisp.c move_it_to (&it, ZV, it.last_visible_x, it.current_y, -1, it 19088 src/xdisp.c move_it_to (&it, ZV, 0, it 19089 src/xdisp.c it.current_y + it.max_ascent + it.max_descent, -1, it 19093 src/xdisp.c move_it_by_lines (&it, 1); it 19559 src/xdisp.c struct it it; it 19567 src/xdisp.c start_display (&it, w, start_pos); it 19568 src/xdisp.c move_it_to (&it, -1, it.last_visible_x, window_box_height (w), -1, it 19570 src/xdisp.c end -= (BUF_Z (buf) - IT_CHARPOS (it)) - w->window_end_pos; it 19598 src/xdisp.c struct it it; it 19608 src/xdisp.c start_display (&it, w, startp); it 19609 src/xdisp.c it.last_visible_x = INT_MAX; it 19610 src/xdisp.c whole = move_it_to (&it, -1, INT_MAX, window_box_height (w), -1, it 19625 src/xdisp.c if (it.bidi_p) it 19749 src/xdisp.c struct it it; it 19974 src/xdisp.c start_display (&it, w, startp); it 19975 src/xdisp.c move_it_to (&it, PT, 0, it.last_visible_y, -1, it 19979 src/xdisp.c it_charpos = IT_CHARPOS (it); it 19985 src/xdisp.c if (it.current_y == 0 || line_bottom_y (&it) < it.last_visible_y) it 20438 src/xdisp.c init_iterator (&it, w, PT, PT_BYTE, NULL, DEFAULT_FACE_ID); it 20439 src/xdisp.c it.current_y = it.last_visible_y; it 20457 src/xdisp.c struct it it1; it 20460 src/xdisp.c SAVE_IT (it1, it, it1data); it 20464 src/xdisp.c RESTORE_IT (&it, &it, it1data); it 20494 src/xdisp.c centering_position = it.last_visible_y; it 20514 src/xdisp.c && it.line_wrap == TRUNCATE) it 20521 src/xdisp.c while (nlines-- && IT_CHARPOS (it) > BEGV) it 20522 src/xdisp.c back_to_previous_visible_line_start (&it); it 20523 src/xdisp.c reseat_1 (&it, it.current.pos, true); it 20526 src/xdisp.c move_it_vertically_backward (&it, centering_position); it 20528 src/xdisp.c eassert (IT_CHARPOS (it) >= BEGV); it 20535 src/xdisp.c if (it.current_y <= 0) it 20537 src/xdisp.c init_iterator (&it, w, PT, PT_BYTE, NULL, DEFAULT_FACE_ID); it 20538 src/xdisp.c move_it_vertically_backward (&it, 0); it 20539 src/xdisp.c it.current_y = 0; it 20542 src/xdisp.c it.current_x = it.hpos = 0; it 20547 src/xdisp.c set_marker_both (w->start, Qnil, IT_CHARPOS (it), IT_BYTEPOS (it)); it 20550 src/xdisp.c startp = run_window_scroll_functions (window, it.current.pos); it 20589 src/xdisp.c move_it_by_lines (&it, 1); it 20590 src/xdisp.c try_window (window, it.current.pos, 0); it 20592 src/xdisp.c else if (PT < IT_CHARPOS (it)) it 20595 src/xdisp.c move_it_by_lines (&it, -1); it 20596 src/xdisp.c try_window (window, it.current.pos, 0); it 20599 src/xdisp.c && (it.method == GET_FROM_STRING it 20600 src/xdisp.c || overlay_touches_p (IT_CHARPOS (it))) it 20601 src/xdisp.c && IT_CHARPOS (it) < ZV) it 20611 src/xdisp.c ptrdiff_t pos0 = IT_CHARPOS (it); it 20615 src/xdisp.c move_it_by_lines (&it, 1); it 20616 src/xdisp.c } while (IT_CHARPOS (it) == pos0); it 20617 src/xdisp.c try_window (window, it.current.pos, 0); it 20703 src/xdisp.c move_it_by_lines (&it, move_down ? margin + 1 : -(margin + 1)); it 20705 src/xdisp.c if (1 == try_window (window, it.current.pos, it 20940 src/xdisp.c struct it it; it 20953 src/xdisp.c start_display (&it, w, pos); it 20954 src/xdisp.c it.glyph_row->reversed_p = false; it 20957 src/xdisp.c while (it.current_y < it.last_visible_y) it 20959 src/xdisp.c int last_row_scale = it.w->nrows_scale_factor; it 20960 src/xdisp.c int last_col_scale = it.w->ncols_scale_factor; it 20961 src/xdisp.c if (display_line (&it, cursor_vpos)) it 20962 src/xdisp.c last_text_row = it.glyph_row - 1; it 20967 src/xdisp.c && last_row_scale == it.w->nrows_scale_factor it 20968 src/xdisp.c && last_col_scale == it.w->ncols_scale_factor)) it 20974 src/xdisp.c ptrdiff_t it_charpos = IT_CHARPOS (it); it 20989 src/xdisp.c start_display (&it, w, pos); it 20998 src/xdisp.c || w->cursor.y > (it.last_visible_y - partial_line_height (&it) it 21050 src/xdisp.c struct it it; it 21134 src/xdisp.c start_display (&it, w, new_start); it 21138 src/xdisp.c while (it.current_y < it.last_visible_y && !f->fonts_changed) it 21144 src/xdisp.c while (IT_CHARPOS (it) > CHARPOS (start)) it 21162 src/xdisp.c if (IT_CHARPOS (it) == CHARPOS (start) it 21168 src/xdisp.c && it.current.dpvec_index < 0) it 21171 src/xdisp.c it.glyph_row->reversed_p = false; it 21172 src/xdisp.c if (display_line (&it, -1)) it 21173 src/xdisp.c last_text_row = it.glyph_row - 1; it 21180 src/xdisp.c if (it.current_y < it.last_visible_y) it 21185 src/xdisp.c nrows_scrolled = it.vpos - (start_row - MATRIX_FIRST_TEXT_ROW (w->current_matrix)); it 21190 src/xdisp.c int dy = it.current_y - start_row->y; it 21211 src/xdisp.c run.desired_y = it.current_y; it 21212 src/xdisp.c run.height = it.last_visible_y - it.current_y; it 21239 src/xdisp.c max_y = it.last_visible_y; it 21244 src/xdisp.c row->y = it.current_y; it 21254 src/xdisp.c it.current_y += row->height; it 21258 src/xdisp.c if (MATRIX_ROW_BOTTOM_Y (row) >= it.last_visible_y) it 21338 src/xdisp.c init_to_row_start (&it, w, first_row_to_display); it 21342 src/xdisp.c it.vpos = (MATRIX_ROW_VPOS (first_row_to_display, w->current_matrix) it 21344 src/xdisp.c it.current_y = (first_row_to_display->y - first_reusable_row->y it 21350 src/xdisp.c it.glyph_row = MATRIX_ROW (w->desired_matrix, it.vpos); it 21354 src/xdisp.c while (it.current_y < it.last_visible_y && !f->fonts_changed) it 21355 src/xdisp.c if (display_line (&it, w->cursor.vpos)) it 21356 src/xdisp.c last_text_row = it.glyph_row - 1; it 21379 src/xdisp.c run.height = it.last_visible_y - run.current_y; it 21397 src/xdisp.c max_y = it.last_visible_y; it 21496 src/xdisp.c find_last_row_displaying_text (struct glyph_matrix *, struct it *, it 21506 src/xdisp.c find_last_row_displaying_text (struct glyph_matrix *matrix, struct it *it, it 21520 src/xdisp.c if (MATRIX_ROW_BOTTOM_Y (row) >= it->last_visible_y) it 21843 src/xdisp.c struct it it; it 22135 src/xdisp.c if (! init_to_row_end (&it, w, last_unchanged_at_beg_row)) it 22140 src/xdisp.c if (it.sp > 1 it 22141 src/xdisp.c && it.method == GET_FROM_IMAGE && it.image_id == -1) it 22143 src/xdisp.c start_pos = it.current.pos; it 22148 src/xdisp.c it.vpos = 1 + MATRIX_ROW_VPOS (last_unchanged_at_beg_row, it 22150 src/xdisp.c it.glyph_row = MATRIX_ROW (desired_matrix, it.vpos); it 22151 src/xdisp.c it.current_y = MATRIX_ROW_BOTTOM_Y (last_unchanged_at_beg_row); it 22153 src/xdisp.c eassert (it.hpos == 0 && it.current_x == 0); it 22159 src/xdisp.c start_display (&it, w, start); it 22160 src/xdisp.c it.vpos = it.first_vpos; it 22161 src/xdisp.c start_pos = it.current.pos; it 22193 src/xdisp.c < it.last_visible_y)) it 22198 src/xdisp.c >= it.last_visible_y)) it 22236 src/xdisp.c if (it.current_y < it.last_visible_y it 22239 src/xdisp.c || IT_CHARPOS (it) < stop_pos)) it 22240 src/xdisp.c it.glyph_row->reversed_p = false; it 22241 src/xdisp.c while (it.current_y < it.last_visible_y it 22244 src/xdisp.c || IT_CHARPOS (it) < stop_pos)) it 22246 src/xdisp.c if (display_line (&it, -1)) it 22247 src/xdisp.c last_text_row = it.glyph_row - 1; it 22275 src/xdisp.c && it.current_y < it.last_visible_y) it 22277 src/xdisp.c dvpos = (it.vpos it 22280 src/xdisp.c dy = it.current_y - first_unchanged_at_end_row->y; it 22283 src/xdisp.c run.height = it.last_visible_y - max (run.current_y, run.desired_y); it 22351 src/xdisp.c : cursor_height + bot_scroll_margin)) > it.last_visible_y) it 22469 src/xdisp.c if (first_unchanged_at_end_row->y >= it.last_visible_y it 22493 src/xdisp.c if (MATRIX_ROW_BOTTOM_Y (last_row) - dy >= it.last_visible_y) it 22495 src/xdisp.c init_to_row_start (&it, w, last_row); it 22496 src/xdisp.c it.vpos = last_vpos; it 22497 src/xdisp.c it.current_y = last_row->y; it 22501 src/xdisp.c init_to_row_end (&it, w, last_row); it 22502 src/xdisp.c it.vpos = 1 + last_vpos; it 22503 src/xdisp.c it.current_y = MATRIX_ROW_BOTTOM_Y (last_row); it 22509 src/xdisp.c it.continuation_lines_width = last_row->continuation_lines_width; it 22510 src/xdisp.c it.hpos = it.current_x = 0; it 22513 src/xdisp.c it.glyph_row = MATRIX_ROW (desired_matrix, it.vpos); it 22514 src/xdisp.c while (it.current_y < it.last_visible_y && !f->fonts_changed) it 22520 src/xdisp.c SET_MATRIX_ROW_ENABLED_P (w->current_matrix, it.vpos, false); it 22521 src/xdisp.c if (display_line (&it, w->cursor.vpos)) it 22522 src/xdisp.c last_text_row_at_end = it.glyph_row - 1; it 22534 src/xdisp.c row = find_last_row_displaying_text (w->current_matrix, &it, it 23046 src/xdisp.c struct it it; it 23051 src/xdisp.c init_iterator (&it, w, -1, -1, &scratch_glyph_row, DEFAULT_FACE_ID); it 23053 src/xdisp.c it.glyph_row->used[TEXT_AREA] = 0; it 23054 src/xdisp.c SET_TEXT_POS (it.position, 0, 0); it 23064 src/xdisp.c it.c = it.char_to_display = check_char_and_length (p, &it.len); it 23067 src/xdisp.c it.c = it.char_to_display = *p, it.len = 1; it 23068 src/xdisp.c if (! ASCII_CHAR_P (it.c)) it 23069 src/xdisp.c it.char_to_display = BYTE8_TO_CHAR (it.c); it 23071 src/xdisp.c p += it.len; it 23076 src/xdisp.c it.face_id = compute_char_face (f, it.char_to_display, face); it 23079 src/xdisp.c n_glyphs_before = it.glyph_row->used[TEXT_AREA]; it 23080 src/xdisp.c SET_TEXT_POS (it.position, -1, -1); it 23081 src/xdisp.c PRODUCE_GLYPHS (&it); it 23085 src/xdisp.c if (it.current_x > it.last_visible_x) it 23087 src/xdisp.c it.glyph_row->used[TEXT_AREA] = n_glyphs_before; it 23093 src/xdisp.c return it.glyph_row; it 23101 src/xdisp.c insert_left_trunc_glyphs (struct it *it) it 23103 src/xdisp.c struct it truncate_it; it 23106 src/xdisp.c eassert (!FRAME_WINDOW_P (it->f) it 23107 src/xdisp.c || (!it->glyph_row->reversed_p it 23108 src/xdisp.c && WINDOW_LEFT_FRINGE_WIDTH (it->w) == 0) it 23109 src/xdisp.c || (it->glyph_row->reversed_p it 23110 src/xdisp.c && WINDOW_RIGHT_FRINGE_WIDTH (it->w) == 0)); it 23113 src/xdisp.c truncate_it = *it; it 23124 src/xdisp.c if (!it->glyph_row->reversed_p) it 23130 src/xdisp.c to = it->glyph_row->glyphs[TEXT_AREA]; it 23131 src/xdisp.c toend = to + it->glyph_row->used[TEXT_AREA]; it 23132 src/xdisp.c if (FRAME_WINDOW_P (it->f)) it 23150 src/xdisp.c it->glyph_row->x = 0; it 23151 src/xdisp.c while (g < toend && w < it->truncation_pixel_width) it 23159 src/xdisp.c it->glyph_row->used[TEXT_AREA] -= g - to - tused; it 23161 src/xdisp.c used = it->glyph_row->used[TEXT_AREA]; it 23162 src/xdisp.c if (it->glyph_row->truncated_on_right_p it 23163 src/xdisp.c && WINDOW_RIGHT_FRINGE_WIDTH (it->w) == 0 it 23164 src/xdisp.c && it->glyph_row->glyphs[TEXT_AREA][used - 2].type it 23167 src/xdisp.c int extra = w - it->truncation_pixel_width; it 23169 src/xdisp.c it->glyph_row->glyphs[TEXT_AREA][used - 2].pixel_width += extra; it 23177 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) it 23188 src/xdisp.c it->glyph_row->used[TEXT_AREA] = to - it->glyph_row->glyphs[TEXT_AREA]; it 23198 src/xdisp.c toend = it->glyph_row->glyphs[TEXT_AREA]; it 23199 src/xdisp.c to = toend + it->glyph_row->used[TEXT_AREA] - 1; it 23200 src/xdisp.c if (FRAME_WINDOW_P (it->f)) it 23205 src/xdisp.c while (g >= toend && w < it->truncation_pixel_width) it 23212 src/xdisp.c if (it->glyph_row->truncated_on_right_p it 23213 src/xdisp.c && WINDOW_LEFT_FRINGE_WIDTH (it->w) == 0 it 23214 src/xdisp.c && it->glyph_row->glyphs[TEXT_AREA][1].type == STRETCH_GLYPH) it 23216 src/xdisp.c int extra = w - it->truncation_pixel_width; it 23218 src/xdisp.c it->glyph_row->glyphs[TEXT_AREA][1].pixel_width += extra; it 23224 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) it 23240 src/xdisp.c struct glyph *g0 = it->glyph_row->glyphs[TEXT_AREA]; it 23241 src/xdisp.c struct glyph *g = g0 + it->glyph_row->used[TEXT_AREA] - 1; it 23247 src/xdisp.c it->glyph_row->used[TEXT_AREA] += move_by; it 23288 src/xdisp.c compute_line_metrics (struct it *it) it 23290 src/xdisp.c struct glyph_row *row = it->glyph_row; it 23292 src/xdisp.c if (FRAME_WINDOW_P (it->f)) it 23301 src/xdisp.c if (it->max_ascent + it->max_descent == 0) it 23302 src/xdisp.c it->max_descent = it->max_phys_descent = FRAME_LINE_HEIGHT (it->f); it 23303 src/xdisp.c row->ascent = it->max_ascent; it 23304 src/xdisp.c row->height = it->max_ascent + it->max_descent; it 23305 src/xdisp.c row->phys_ascent = it->max_phys_ascent; it 23306 src/xdisp.c row->phys_height = it->max_phys_ascent + it->max_phys_descent; it 23307 src/xdisp.c row->extra_line_spacing = it->max_extra_line_spacing; it 23324 src/xdisp.c if (row == MATRIX_FIRST_TEXT_ROW (it->w->desired_matrix) it 23334 src/xdisp.c min_y = WINDOW_TAB_LINE_HEIGHT (it->w) + WINDOW_HEADER_LINE_HEIGHT (it->w); it 23335 src/xdisp.c max_y = WINDOW_BOX_HEIGHT_NO_MODE_LINE (it->w); it 23346 src/xdisp.c row->pixel_width -= it->continuation_pixel_width; it 23348 src/xdisp.c row->pixel_width -= it->truncation_pixel_width; it 23357 src/xdisp.c it->max_ascent = it->max_descent = 0; it 23358 src/xdisp.c it->max_phys_ascent = it->max_phys_descent = 0; it 23363 src/xdisp.c clear_position (struct it *it) it 23365 src/xdisp.c it->position.charpos = 0; it 23366 src/xdisp.c it->position.bytepos = 0; it 23382 src/xdisp.c append_space_for_newline (struct it *it, bool default_face_p) it 23384 src/xdisp.c int n = it->glyph_row->used[TEXT_AREA]; it 23386 src/xdisp.c if (it->glyph_row->glyphs[TEXT_AREA] + n it 23387 src/xdisp.c < it->glyph_row->glyphs[1 + TEXT_AREA]) it 23393 src/xdisp.c enum display_element_type saved_what = it->what; it 23394 src/xdisp.c int saved_c = it->c, saved_len = it->len; it 23395 src/xdisp.c int saved_char_to_display = it->char_to_display; it 23396 src/xdisp.c int saved_x = it->current_x; it 23397 src/xdisp.c const int saved_face_id = it->face_id; it 23398 src/xdisp.c bool saved_box_end = it->end_of_box_run_p; it 23399 src/xdisp.c struct text_pos saved_pos = it->position; it 23400 src/xdisp.c Lisp_Object saved_object = it->object; it 23403 src/xdisp.c it->what = IT_CHARACTER; it 23404 src/xdisp.c clear_position (it); it 23405 src/xdisp.c it->object = Qnil; it 23406 src/xdisp.c it->len = 1; it 23412 src/xdisp.c || FRAME_WINDOW_P (it->f) it 23417 src/xdisp.c lookup_basic_face (it->w, it->f, DEFAULT_FACE_ID); it 23420 src/xdisp.c if (FRAME_WINDOW_P (it->f)) it 23423 src/xdisp.c = FACE_FROM_ID (it->f, local_default_face_id); it 23426 src/xdisp.c : FRAME_FONT (it->f)); it 23433 src/xdisp.c it->face_id = local_default_face_id; it 23440 src/xdisp.c fill_column_indicator_column (it, char_width); it 23441 src/xdisp.c int saved_end_of_box_run = it->end_of_box_run_p; it 23444 src/xdisp.c if (it->current_x == indicator_column) it 23446 src/xdisp.c it->c = it->char_to_display it 23448 src/xdisp.c it->face_id it 23449 src/xdisp.c = merge_faces (it->w, Qfill_column_indicator, it 23451 src/xdisp.c face = FACE_FROM_ID (it->f, it->face_id); it 23455 src/xdisp.c it->c = it->char_to_display = ' '; it 23459 src/xdisp.c face = FACE_FROM_ID (it->f, it->face_id); it 23460 src/xdisp.c it->face_id = FACE_FOR_CHAR (it->f, face, 0, -1, Qnil); it 23465 src/xdisp.c if (!(it->glyph_row->reversed_p it 23469 src/xdisp.c && saved_x + FRAME_COLUMN_WIDTH (it->f) < it->last_visible_x)) it 23472 src/xdisp.c PRODUCE_GLYPHS (it); it 23476 src/xdisp.c it->end_of_box_run_p = saved_end_of_box_run; it 23478 src/xdisp.c if (FRAME_WINDOW_P (it->f)) it 23483 src/xdisp.c struct glyph *g = it->glyph_row->glyphs[TEXT_AREA] + n; it 23484 src/xdisp.c struct font *font = face->font ? face->font : FRAME_FONT (it->f); it 23488 src/xdisp.c int extra_line_spacing = it->extra_line_spacing; it 23492 src/xdisp.c boff = VCENTER_BASELINE_OFFSET (font, it->f) - boff; it 23494 src/xdisp.c it->object = saved_object; /* get_it_property needs this */ it 23495 src/xdisp.c normal_char_ascent_descent (font, -1, &it->ascent, &it->descent); it 23498 src/xdisp.c height = get_it_property (it, Qline_height); it 23508 src/xdisp.c height = calc_line_height_property (it, height, font, boff, true); it 23510 src/xdisp.c if (it->override_ascent >= 0) it 23512 src/xdisp.c it->ascent = it->override_ascent; it 23513 src/xdisp.c it->descent = it->override_descent; it 23514 src/xdisp.c boff = it->override_boff; it 23522 src/xdisp.c it->phys_ascent = it->ascent; it 23523 src/xdisp.c it->phys_descent = it->descent; it 23525 src/xdisp.c && XFIXNUM (height) > it->ascent + it->descent) it 23526 src/xdisp.c it->ascent = XFIXNUM (height) - it->descent; it 23529 src/xdisp.c spacing = calc_line_height_property (it, total_height, font, it 23533 src/xdisp.c spacing = get_it_property (it, Qline_spacing); it 23534 src/xdisp.c spacing = calc_line_height_property (it, spacing, font, it 23541 src/xdisp.c extra_line_spacing -= (it->phys_ascent + it->phys_descent); it 23546 src/xdisp.c it->descent += extra_line_spacing; it 23547 src/xdisp.c if (extra_line_spacing > it->max_extra_line_spacing) it 23548 src/xdisp.c it->max_extra_line_spacing = extra_line_spacing; it 23550 src/xdisp.c it->max_ascent = it->ascent; it 23551 src/xdisp.c it->max_descent = it->descent; it 23553 src/xdisp.c it->glyph_row->height = 0; it 23556 src/xdisp.c g->ascent = it->max_ascent; it 23557 src/xdisp.c g->descent = it->max_descent; it 23560 src/xdisp.c it->override_ascent = -1; it 23561 src/xdisp.c it->constrain_row_ascent_descent_p = false; it 23562 src/xdisp.c it->current_x = saved_x; it 23563 src/xdisp.c it->object = saved_object; it 23564 src/xdisp.c it->position = saved_pos; it 23565 src/xdisp.c it->what = saved_what; it 23566 src/xdisp.c it->face_id = saved_face_id; it 23567 src/xdisp.c it->len = saved_len; it 23568 src/xdisp.c it->c = saved_c; it 23569 src/xdisp.c it->char_to_display = saved_char_to_display; it 23570 src/xdisp.c it->end_of_box_run_p = saved_box_end; it 23586 src/xdisp.c extend_face_to_end_of_line (struct it *it) it 23588 src/xdisp.c struct frame *f = it->f; it 23595 src/xdisp.c if ((it->current_x >= it->last_visible_x it 23597 src/xdisp.c && it->glyph_row->reversed_p it 23598 src/xdisp.c && !it->glyph_row->continued_p)) it 23601 src/xdisp.c && !(WINDOW_LEFT_MARGIN_WIDTH (it->w) > 0 it 23602 src/xdisp.c || WINDOW_RIGHT_MARGIN_WIDTH (it->w) > 0)) it 23613 src/xdisp.c FACE_FROM_ID_OR_NULL (f, lookup_basic_face (it->w, f, DEFAULT_FACE_ID)); it 23618 src/xdisp.c (it->face_id == default_face->id || it->s != NULL) it 23619 src/xdisp.c ? it->face_id it 23620 src/xdisp.c : (it->glyph_row->ends_at_zv_p it 23622 src/xdisp.c : face_at_pos (it, LFACE_EXTEND_INDEX)); it 23628 src/xdisp.c struct face *face = FACE_FROM_ID (f, (it->face_before_selective_p it 23629 src/xdisp.c ? it->saved_face_id it 23633 src/xdisp.c && MATRIX_ROW_DISPLAYS_TEXT_P (it->glyph_row) it 23642 src/xdisp.c && !it->glyph_row->reversed_p it 23648 src/xdisp.c it->glyph_row->fill_line_p = true; it 23650 src/xdisp.c const int orig_face_id = it->face_id; it 23656 src/xdisp.c if (!ASCII_CHAR_P (it->c)) it 23657 src/xdisp.c it->face_id = FACE_FOR_CHAR (f, face, 0, -1, Qnil); it 23665 src/xdisp.c if (it->glyph_row->used[TEXT_AREA] == 0) it 23667 src/xdisp.c it->glyph_row->glyphs[TEXT_AREA][0] = space_glyph; it 23668 src/xdisp.c it->glyph_row->glyphs[TEXT_AREA][0].face_id = face->id; it 23669 src/xdisp.c it->glyph_row->used[TEXT_AREA] = 1; it 23673 src/xdisp.c if (!(it->glyph_row->mode_line_p it 23675 src/xdisp.c && it->w == XWINDOW (f->tab_bar_window)) it 23678 src/xdisp.c && it->w == XWINDOW (f->tool_bar_window)) it 23682 src/xdisp.c if (WINDOW_LEFT_MARGIN_WIDTH (it->w) > 0 it 23683 src/xdisp.c && it->glyph_row->used[LEFT_MARGIN_AREA] == 0) it 23685 src/xdisp.c it->glyph_row->glyphs[LEFT_MARGIN_AREA][0] = space_glyph; it 23686 src/xdisp.c it->glyph_row->glyphs[LEFT_MARGIN_AREA][0].face_id = it 23688 src/xdisp.c it->glyph_row->used[LEFT_MARGIN_AREA] = 1; it 23690 src/xdisp.c if (WINDOW_RIGHT_MARGIN_WIDTH (it->w) > 0 it 23691 src/xdisp.c && it->glyph_row->used[RIGHT_MARGIN_AREA] == 0) it 23693 src/xdisp.c it->glyph_row->glyphs[RIGHT_MARGIN_AREA][0] = space_glyph; it 23694 src/xdisp.c it->glyph_row->glyphs[RIGHT_MARGIN_AREA][0].face_id = it 23696 src/xdisp.c it->glyph_row->used[RIGHT_MARGIN_AREA] = 1; it 23708 src/xdisp.c fill_column_indicator_column (it, char_width); it 23710 src/xdisp.c const char saved_char = it->char_to_display; it 23711 src/xdisp.c const struct text_pos saved_pos = it->position; it 23712 src/xdisp.c const bool saved_avoid_cursor = it->avoid_cursor_p; it 23713 src/xdisp.c const bool saved_box_start = it->start_of_box_run_p; it 23714 src/xdisp.c Lisp_Object save_object = it->object; it 23715 src/xdisp.c const int saved_face_id = it->face_id; it 23717 src/xdisp.c it->face_id = extend_face_id; it 23718 src/xdisp.c it->avoid_cursor_p = true; it 23719 src/xdisp.c it->object = Qnil; it 23721 src/xdisp.c const int stretch_height = it->ascent + it->descent; it 23726 src/xdisp.c && indicator_column > it->current_x it 23727 src/xdisp.c && indicator_column < it->last_visible_x) it 23734 src/xdisp.c indicator_column - it->current_x - char_width; it 23736 src/xdisp.c clear_position (it); it 23742 src/xdisp.c append_stretch_glyph (it, Qnil, stretch_width, it 23748 src/xdisp.c if (it->current_x < indicator_column) it 23750 src/xdisp.c const int save_face_id = it->face_id; it 23751 src/xdisp.c const int save_ascent = it->ascent; it 23752 src/xdisp.c const int save_descent = it->descent; it 23753 src/xdisp.c it->char_to_display it 23755 src/xdisp.c it->face_id it 23756 src/xdisp.c = merge_faces (it->w, Qfill_column_indicator, it 23758 src/xdisp.c PRODUCE_GLYPHS (it); it 23759 src/xdisp.c it->face_id = save_face_id; it 23760 src/xdisp.c it->ascent = save_ascent; it 23761 src/xdisp.c it->descent = save_descent; it 23767 src/xdisp.c if (!it->glyph_row->reversed_p) it 23769 src/xdisp.c const int stretch_width = it->last_visible_x - it->current_x; it 23773 src/xdisp.c clear_position (it); it 23774 src/xdisp.c append_stretch_glyph (it, Qnil, stretch_width, it 23779 src/xdisp.c it->char_to_display = saved_char; it 23780 src/xdisp.c it->position = saved_pos; it 23781 src/xdisp.c it->avoid_cursor_p = saved_avoid_cursor; it 23782 src/xdisp.c it->start_of_box_run_p = saved_box_start; it 23783 src/xdisp.c it->object = save_object; it 23784 src/xdisp.c it->face_id = saved_face_id; it 23786 src/xdisp.c if (it->glyph_row->reversed_p) it 23794 src/xdisp.c struct glyph *row_start = it->glyph_row->glyphs[TEXT_AREA]; it 23795 src/xdisp.c struct glyph *row_end = row_start + it->glyph_row->used[TEXT_AREA]; it 23808 src/xdisp.c if ((WINDOW_LEFT_FRINGE_WIDTH (it->w) == 0) it 23809 src/xdisp.c == (WINDOW_RIGHT_FRINGE_WIDTH (it->w) == 0) it 23810 src/xdisp.c || WINDOW_RIGHT_FRINGE_WIDTH (it->w) != 0) it 23811 src/xdisp.c stretch_width = window_box_width (it->w, TEXT_AREA); it 23813 src/xdisp.c stretch_width = it->last_visible_x - it->first_visible_x; it 23819 src/xdisp.c (((it->ascent + it->descent) it 23821 src/xdisp.c saved_pos = it->position; it 23822 src/xdisp.c clear_position (it); it 23823 src/xdisp.c saved_avoid_cursor = it->avoid_cursor_p; it 23824 src/xdisp.c it->avoid_cursor_p = true; it 23825 src/xdisp.c saved_face_id = it->face_id; it 23826 src/xdisp.c saved_box_start = it->start_of_box_run_p; it 23830 src/xdisp.c it->face_id = (it->glyph_row->ends_at_zv_p ? it 23833 src/xdisp.c it->start_of_box_run_p = false; it 23834 src/xdisp.c append_stretch_glyph (it, Qnil, stretch_width, it 23835 src/xdisp.c it->ascent + it->descent, stretch_ascent); it 23836 src/xdisp.c it->position = saved_pos; it 23837 src/xdisp.c it->avoid_cursor_p = saved_avoid_cursor; it 23838 src/xdisp.c it->face_id = saved_face_id; it 23839 src/xdisp.c it->start_of_box_run_p = saved_box_start; it 23846 src/xdisp.c it->glyph_row->x = stretch_width; it 23848 src/xdisp.c it->face_id = orig_face_id; it 23854 src/xdisp.c int saved_x = it->current_x; it 23855 src/xdisp.c struct text_pos saved_pos = it->position; it 23856 src/xdisp.c Lisp_Object saved_object = it->object;; it 23857 src/xdisp.c enum display_element_type saved_what = it->what; it 23859 src/xdisp.c it->what = IT_CHARACTER; it 23860 src/xdisp.c clear_position (it); it 23861 src/xdisp.c it->object = Qnil; it 23862 src/xdisp.c it->c = it->char_to_display = ' '; it 23863 src/xdisp.c it->len = 1; it 23865 src/xdisp.c if (WINDOW_LEFT_MARGIN_WIDTH (it->w) > 0 it 23866 src/xdisp.c && (it->glyph_row->used[LEFT_MARGIN_AREA] it 23867 src/xdisp.c < WINDOW_LEFT_MARGIN_WIDTH (it->w)) it 23868 src/xdisp.c && !it->glyph_row->mode_line_p it 23871 src/xdisp.c struct glyph *g = it->glyph_row->glyphs[LEFT_MARGIN_AREA]; it 23872 src/xdisp.c struct glyph *e = g + it->glyph_row->used[LEFT_MARGIN_AREA]; it 23874 src/xdisp.c for (it->current_x = 0; g < e; g++) it 23875 src/xdisp.c it->current_x += g->pixel_width; it 23877 src/xdisp.c it->area = LEFT_MARGIN_AREA; it 23878 src/xdisp.c it->face_id = default_face->id; it 23879 src/xdisp.c while (it->glyph_row->used[LEFT_MARGIN_AREA] it 23880 src/xdisp.c < WINDOW_LEFT_MARGIN_WIDTH (it->w) it 23881 src/xdisp.c && g < it->glyph_row->glyphs[TEXT_AREA]) it 23883 src/xdisp.c PRODUCE_GLYPHS (it); it 23886 src/xdisp.c it->current_x += it->pixel_width; it 23890 src/xdisp.c it->current_x = saved_x; it 23891 src/xdisp.c it->area = TEXT_AREA; it 23897 src/xdisp.c it->face_id = (it->glyph_row->ends_at_zv_p ? it 23904 src/xdisp.c it->current_x = it->glyph_row->used[TEXT_AREA]; it 23914 src/xdisp.c fill_column_indicator_column (it, 1) - it->first_visible_x; it 23917 src/xdisp.c while (it->current_x <= it->last_visible_x) it 23919 src/xdisp.c if (it->current_x != indicator_column) it 23920 src/xdisp.c PRODUCE_GLYPHS (it); it 23923 src/xdisp.c int saved_face_id = it->face_id; it 23924 src/xdisp.c it->face_id it 23925 src/xdisp.c = merge_faces (it->w, Qfill_column_indicator, 0, extend_face_id); it 23926 src/xdisp.c it->c = it->char_to_display it 23929 src/xdisp.c PRODUCE_GLYPHS (it); it 23931 src/xdisp.c it->face_id = saved_face_id; it 23932 src/xdisp.c it->c = it->char_to_display = ' '; it 23936 src/xdisp.c if (WINDOW_RIGHT_MARGIN_WIDTH (it->w) > 0 it 23937 src/xdisp.c && (it->glyph_row->used[RIGHT_MARGIN_AREA] it 23938 src/xdisp.c < WINDOW_RIGHT_MARGIN_WIDTH (it->w)) it 23939 src/xdisp.c && !it->glyph_row->mode_line_p it 23942 src/xdisp.c struct glyph *g = it->glyph_row->glyphs[RIGHT_MARGIN_AREA]; it 23943 src/xdisp.c struct glyph *e = g + it->glyph_row->used[RIGHT_MARGIN_AREA]; it 23946 src/xdisp.c it->current_x += g->pixel_width; it 23948 src/xdisp.c it->area = RIGHT_MARGIN_AREA; it 23949 src/xdisp.c it->face_id = default_face->id; it 23950 src/xdisp.c while (it->glyph_row->used[RIGHT_MARGIN_AREA] it 23951 src/xdisp.c < WINDOW_RIGHT_MARGIN_WIDTH (it->w) it 23952 src/xdisp.c && g < it->glyph_row->glyphs[LAST_AREA]) it 23954 src/xdisp.c PRODUCE_GLYPHS (it); it 23955 src/xdisp.c it->current_x += it->pixel_width; it 23959 src/xdisp.c it->area = TEXT_AREA; it 23964 src/xdisp.c it->current_x = saved_x; it 23965 src/xdisp.c it->object = saved_object; it 23966 src/xdisp.c it->position = saved_pos; it 23967 src/xdisp.c it->what = saved_what; it 23968 src/xdisp.c it->face_id = orig_face_id; it 23999 src/xdisp.c highlight_trailing_whitespace (struct it *it) it 24001 src/xdisp.c struct glyph_row *row = it->glyph_row; it 24047 src/xdisp.c int face_id = lookup_named_face (it->w, it->f, Qtrailing_whitespace, false); it 24178 src/xdisp.c push_prefix_prop (struct it *it, Lisp_Object prop) it 24181 src/xdisp.c STRINGP (it->string) ? it->current.string_pos : it->current.pos; it 24183 src/xdisp.c eassert (it->method == GET_FROM_BUFFER it 24184 src/xdisp.c || it->method == GET_FROM_DISPLAY_VECTOR it 24185 src/xdisp.c || it->method == GET_FROM_STRING it 24186 src/xdisp.c || it->method == GET_FROM_IMAGE); it 24192 src/xdisp.c push_it (it, &pos); it 24198 src/xdisp.c pop_it (it); it 24202 src/xdisp.c it->string = prop; it 24203 src/xdisp.c it->string_from_prefix_prop_p = true; it 24204 src/xdisp.c it->multibyte_p = STRING_MULTIBYTE (it->string); it 24205 src/xdisp.c it->current.overlay_string_index = -1; it 24206 src/xdisp.c IT_STRING_CHARPOS (*it) = IT_STRING_BYTEPOS (*it) = 0; it 24207 src/xdisp.c it->end_charpos = it->string_nchars = SCHARS (it->string); it 24208 src/xdisp.c it->method = GET_FROM_STRING; it 24209 src/xdisp.c it->stop_charpos = 0; it 24210 src/xdisp.c it->prev_stop = 0; it 24211 src/xdisp.c it->base_level_stop = 0; it 24212 src/xdisp.c it->cmp_it.id = -1; it 24216 src/xdisp.c if (it->bidi_p && it->bidi_it.paragraph_dir == R2L) it 24217 src/xdisp.c it->paragraph_embedding = it->bidi_it.paragraph_dir; it 24219 src/xdisp.c it->paragraph_embedding = L2R; it 24222 src/xdisp.c if (it->bidi_p) it 24224 src/xdisp.c it->bidi_it.string.lstring = it->string; it 24225 src/xdisp.c it->bidi_it.string.s = NULL; it 24226 src/xdisp.c it->bidi_it.string.schars = it->end_charpos; it 24227 src/xdisp.c it->bidi_it.string.bufpos = IT_CHARPOS (*it); it 24228 src/xdisp.c it->bidi_it.string.from_disp_str = it->string_from_display_prop_p; it 24229 src/xdisp.c it->bidi_it.string.unibyte = !it->multibyte_p; it 24230 src/xdisp.c it->bidi_it.w = it->w; it 24231 src/xdisp.c bidi_init_it (0, 0, FRAME_WINDOW_P (it->f), &it->bidi_it); it 24236 src/xdisp.c it->method = GET_FROM_STRETCH; it 24237 src/xdisp.c it->object = prop; it 24242 src/xdisp.c it->what = IT_IMAGE; it 24243 src/xdisp.c it->image_id = lookup_image (it->f, prop, it->face_id); it 24244 src/xdisp.c it->method = GET_FROM_IMAGE; it 24249 src/xdisp.c pop_it (it); /* bogus display property, give up */ it 24259 src/xdisp.c get_it_property (struct it *it, Lisp_Object prop) it 24261 src/xdisp.c Lisp_Object position, object = it->object; it 24264 src/xdisp.c position = make_fixnum (IT_STRING_CHARPOS (*it)); it 24267 src/xdisp.c position = make_fixnum (IT_CHARPOS (*it)); it 24268 src/xdisp.c object = it->window; it 24280 src/xdisp.c get_line_prefix_it_property (struct it *it, Lisp_Object prop) it 24282 src/xdisp.c Lisp_Object prefix = get_it_property (it, prop); it 24286 src/xdisp.c if (NILP (prefix) && it->sp > 0 && STRINGP (it->object)) it 24287 src/xdisp.c return Fget_char_property (make_fixnum (IT_CHARPOS (*it)), prop, it 24288 src/xdisp.c it->w->contents); it 24295 src/xdisp.c handle_line_prefix (struct it *it) it 24299 src/xdisp.c if (it->continuation_lines_width > 0) it 24301 src/xdisp.c prefix = get_line_prefix_it_property (it, Qwrap_prefix); it 24307 src/xdisp.c prefix = get_line_prefix_it_property (it, Qline_prefix); it 24311 src/xdisp.c if (! NILP (prefix) && push_prefix_prop (it, prefix)) it 24316 src/xdisp.c it->line_wrap = TRUNCATE; it 24317 src/xdisp.c it->avoid_cursor_p = true; it 24328 src/xdisp.c unproduce_glyphs (struct it *it, int n) it 24332 src/xdisp.c eassert (it->glyph_row); it 24333 src/xdisp.c eassert (it->glyph_row->reversed_p); it 24334 src/xdisp.c eassert (it->area == TEXT_AREA); it 24335 src/xdisp.c eassert (n <= it->glyph_row->used[TEXT_AREA]); it 24337 src/xdisp.c if (n > it->glyph_row->used[TEXT_AREA]) it 24338 src/xdisp.c n = it->glyph_row->used[TEXT_AREA]; it 24339 src/xdisp.c glyph = it->glyph_row->glyphs[TEXT_AREA] + n; it 24340 src/xdisp.c end = it->glyph_row->glyphs[TEXT_AREA] + it->glyph_row->used[TEXT_AREA]; it 24348 src/xdisp.c find_row_edges (struct it *it, struct glyph_row *row, it 24366 src/xdisp.c max_pos = CHARPOS (it->current.pos); it 24367 src/xdisp.c max_bpos = BYTEPOS (it->current.pos); it 24387 src/xdisp.c row->maxpos = it->current.pos; it 24394 src/xdisp.c if (STRINGP (it->object) it 24396 src/xdisp.c && row > it->w->desired_matrix->rows it 24419 src/xdisp.c if (EQ ((end - 1)->object, it->object)) it 24440 src/xdisp.c if (EQ ((end + 1)->object, it->object)) it 24464 src/xdisp.c else if (CHARPOS (it->eol_pos) > 0) it 24466 src/xdisp.c CHARPOS (it->eol_pos) + 1, BYTEPOS (it->eol_pos) + 1); it 24475 src/xdisp.c if (IT_CHARPOS (*it) == max_pos && it->method != GET_FROM_BUFFER) it 24487 src/xdisp.c row->maxpos = it->current.pos; it 24488 src/xdisp.c else if (max_pos == min_pos && it->method != GET_FROM_BUFFER) it 24495 src/xdisp.c row->maxpos = it->current.pos; it 24520 src/xdisp.c display_count_lines_visually (struct it *it) it 24522 src/xdisp.c struct it tem_it; it 24531 src/xdisp.c if (it->lnum_bytepos > 0) it 24532 src/xdisp.c return it->lnum + 1; it 24537 src/xdisp.c if (IT_CHARPOS (*it) <= PT) it 24539 src/xdisp.c from = it->current.pos; it 24545 src/xdisp.c to = IT_CHARPOS (*it); it 24551 src/xdisp.c start_display (&tem_it, it->w, from); it 24561 src/xdisp.c return IT_CHARPOS (*it) <= PT ? -tem_it.vpos : tem_it.vpos; it 24569 src/xdisp.c maybe_produce_line_number (struct it *it) it 24571 src/xdisp.c ptrdiff_t last_line = it->lnum; it 24592 src/xdisp.c this_line = display_count_lines_visually (it); it 24598 src/xdisp.c if (it->w->base_line_number > 0 it 24599 src/xdisp.c && it->w->base_line_pos > 0 it 24600 src/xdisp.c && it->w->base_line_pos <= IT_CHARPOS (*it) it 24609 src/xdisp.c start_from = CHAR_TO_BYTE (it->w->base_line_pos); it 24610 src/xdisp.c last_line = it->w->base_line_number - 1; it 24614 src/xdisp.c if (!it->lnum_bytepos) it 24618 src/xdisp.c start_from = it->lnum_bytepos; it 24631 src/xdisp.c IT_BYTEPOS (*it), it 24632 src/xdisp.c IT_CHARPOS (*it), &bytepos); it 24634 src/xdisp.c eassert (bytepos == IT_BYTEPOS (*it)); it 24638 src/xdisp.c if (this_line != last_line || !it->lnum_bytepos) it 24640 src/xdisp.c it->lnum = this_line; it 24641 src/xdisp.c it->lnum_bytepos = IT_BYTEPOS (*it); it 24645 src/xdisp.c struct it tem_it; it 24647 src/xdisp.c bool beyond_zv = IT_BYTEPOS (*it) >= ZV_BYTE ? true : false; it 24649 src/xdisp.c int lnum_face_id = merge_faces (it->w, Qline_number, 0, DEFAULT_FACE_ID); it 24651 src/xdisp.c = merge_faces (it->w, Qline_number_current_line, 0, DEFAULT_FACE_ID); it 24660 src/xdisp.c && !it->pt_lnum) it 24663 src/xdisp.c if (PT_BYTE > it->lnum_bytepos && !EQ (Vdisplay_line_numbers, Qvisual)) it 24664 src/xdisp.c it->pt_lnum = it 24665 src/xdisp.c this_line + display_count_lines_logically (it->lnum_bytepos, PT_BYTE, it 24668 src/xdisp.c it->pt_lnum = display_count_lines_logically (beg_byte, PT_BYTE, PT, it 24672 src/xdisp.c if (!it->lnum_width) it 24675 src/xdisp.c it->lnum_width = XFIXNAT (Vdisplay_line_numbers_width); it 24686 src/xdisp.c max_lnum = it->w->desired_matrix->nrows - 2; it 24688 src/xdisp.c max_lnum = it->pt_lnum + it->w->desired_matrix->nrows - 1; it 24690 src/xdisp.c max_lnum = this_line + it->w->desired_matrix->nrows - 1 - it->vpos; it 24692 src/xdisp.c it->lnum_width = max (it->lnum_width, log10 (max_lnum) + 1); it 24693 src/xdisp.c eassert (it->lnum_width > 0); it 24696 src/xdisp.c lnum_offset = it->pt_lnum; it 24709 src/xdisp.c lnum_to_display = it->pt_lnum + 1; it 24715 src/xdisp.c pint2str (lnum_buf, it->lnum_width + 1, lnum_to_display); it 24719 src/xdisp.c init_iterator (&tem_it, it->w, -1, -1, &scratch_glyph_row, it 24737 src/xdisp.c - 3 * FRAME_COLUMN_WIDTH (it->f); it 24745 src/xdisp.c : this_line == it->pt_lnum) it 24746 src/xdisp.c && it->what != IT_EOB) it 24752 src/xdisp.c tem_it.face_id = merge_faces (it->w, Qline_number_major_tick, it 24756 src/xdisp.c tem_it.face_id = merge_faces (it->w, Qline_number_minor_tick, it 24768 src/xdisp.c && (it->continuation_lines_width > 0 it 24782 src/xdisp.c it->lnum_width = 0; it 24783 src/xdisp.c it->lnum_pixel_width = 0; it 24793 src/xdisp.c it->lnum_pixel_width = tem_it.current_x; it 24797 src/xdisp.c struct glyph *p = it->glyph_row ? it->glyph_row->glyphs[TEXT_AREA] : NULL; it 24798 src/xdisp.c short *u = it->glyph_row ? &it->glyph_row->used[TEXT_AREA] : NULL; it 24800 src/xdisp.c eassert (it->glyph_row == NULL || it->glyph_row->used[TEXT_AREA] == 0); it 24804 src/xdisp.c it->current_x += g->pixel_width; it 24808 src/xdisp.c if (it->current_x > it->first_visible_x) it 24809 src/xdisp.c it->hpos++; it 24822 src/xdisp.c if (it->glyph_row) it 24824 src/xdisp.c struct glyph_row *row = it->glyph_row; it 24826 src/xdisp.c it->max_ascent = max (row->ascent, tem_it.max_ascent); it 24827 src/xdisp.c it->max_descent = max (row->height - row->ascent, tem_it.max_descent); it 24828 src/xdisp.c it->max_phys_ascent = max (row->phys_ascent, tem_it.max_phys_ascent); it 24829 src/xdisp.c it->max_phys_descent = max (row->phys_height - row->phys_ascent, it 24834 src/xdisp.c it->max_ascent = max (it->max_ascent, tem_it.max_ascent); it 24835 src/xdisp.c it->max_descent = max (it->max_descent, tem_it.max_descent); it 24836 src/xdisp.c it->max_phys_ascent = max (it->max_phys_ascent, it 24838 src/xdisp.c it->max_phys_descent = max (it->max_phys_descent, it 24843 src/xdisp.c it->line_number_produced_p = true; it 24851 src/xdisp.c should_produce_line_number (struct it *it) it 24857 src/xdisp.c if (MINI_WINDOW_P (it->w)) it 24862 src/xdisp.c if (FRAME_TOOLTIP_P (XFRAME (WINDOW_FRAME (it->w)))) it 24870 src/xdisp.c Lisp_Object val = Fget_char_property (make_fixnum (IT_CHARPOS (*it)), it 24872 src/xdisp.c it->window); it 24876 src/xdisp.c if (NILP (val) && IT_CHARPOS (*it) >= ZV) it 24916 src/xdisp.c display_line (struct it *it, int cursor_vpos) it 24918 src/xdisp.c struct glyph_row *row = it->glyph_row; it 24920 src/xdisp.c struct it wrap_it; it 24934 src/xdisp.c int tab_line = window_wants_tab_line (it->w); it 24935 src/xdisp.c int header_line = window_wants_header_line (it->w); it 24937 src/xdisp.c && it->vpos == cursor_vpos - tab_line - header_line it 24938 src/xdisp.c && hscrolling_current_line_p (it->w)); it 24939 src/xdisp.c int first_visible_x = it->first_visible_x; it 24940 src/xdisp.c int last_visible_x = it->last_visible_x; it 24944 src/xdisp.c eassert (it->hpos == 0 && it->current_x == 0); it 24946 src/xdisp.c if (MATRIX_ROW_VPOS (row, it->w->desired_matrix) it 24947 src/xdisp.c >= it->w->desired_matrix->nrows) it 24949 src/xdisp.c it->w->nrows_scale_factor++; it 24950 src/xdisp.c it->f->fonts_changed = true; it 24955 src/xdisp.c prepare_desired_row (it->w, row, false); it 24957 src/xdisp.c row->y = it->current_y; it 24958 src/xdisp.c row->start = it->start; it 24959 src/xdisp.c row->continuation_lines_width = it->continuation_lines_width; it 24961 src/xdisp.c row->starts_in_middle_of_char_p = it->starts_in_middle_of_char_p; it 24962 src/xdisp.c it->starts_in_middle_of_char_p = false; it 24963 src/xdisp.c it->stretch_adjust = 0; it 24964 src/xdisp.c it->line_number_produced_p = false; it 24971 src/xdisp.c (window_hscroll_limited (it->w, it->f) - it->w->min_hscroll) it 24972 src/xdisp.c * FRAME_COLUMN_WIDTH (it->f); it 24974 src/xdisp.c bool line_number_needed = should_produce_line_number (it); it 24979 src/xdisp.c if (it->current_x < it->first_visible_x + x_incr) it 24986 src/xdisp.c it->first_visible_x += x_incr; it 24987 src/xdisp.c it->last_visible_x += x_incr; it 24990 src/xdisp.c && it->line_wrap == TRUNCATE it 24991 src/xdisp.c && window_hscroll_limited (it->w, it->f) > large_hscroll_threshold) it 24998 src/xdisp.c it->first_visible_x / FRAME_COLUMN_WIDTH (it->f); it 24999 src/xdisp.c move_result = fast_move_it_horizontally (it, chars_to_skip); it 25002 src/xdisp.c it->current_x = it->first_visible_x; it 25004 src/xdisp.c it->current_x = it->first_visible_x - FRAME_COLUMN_WIDTH (it->f); it 25007 src/xdisp.c move_result = move_it_in_display_line_to (it, ZV, it->first_visible_x, it 25015 src/xdisp.c if (it->current_x < it->first_visible_x it 25018 src/xdisp.c it->current_x = it->first_visible_x; it 25022 src/xdisp.c it->line_number_produced_p = false; it 25036 src/xdisp.c maybe_produce_line_number (it); it 25038 src/xdisp.c else if (it->area == TEXT_AREA) it 25042 src/xdisp.c maybe_produce_line_number (it); it 25046 src/xdisp.c handle_line_prefix (it); it 25062 src/xdisp.c row->ascent = it->max_ascent; it 25063 src/xdisp.c row->height = it->max_ascent + it->max_descent; it 25064 src/xdisp.c row->phys_ascent = it->max_phys_ascent; it 25065 src/xdisp.c row->phys_height = it->max_phys_ascent + it->max_phys_descent; it 25066 src/xdisp.c row->extra_line_spacing = it->max_extra_line_spacing; it 25085 src/xdisp.c if (IT_CHARPOS (*it) > max_pos) \ it 25087 src/xdisp.c max_pos = IT_CHARPOS (*it); \ it 25088 src/xdisp.c max_bpos = IT_BYTEPOS (*it); \ it 25103 src/xdisp.c if (!get_next_display_element (it)) it 25110 src/xdisp.c if (IT_OVERFLOW_NEWLINE_INTO_FRINGE (it)) it 25112 src/xdisp.c else if ((append_space_for_newline (it, true) it 25123 src/xdisp.c if (!NILP (BVAR (XBUFFER (it->w->contents), indicate_empty_lines)) it 25124 src/xdisp.c && (!MINI_WINDOW_P (it->w))) it 25128 src/xdisp.c it->continuation_lines_width = 0; it 25133 src/xdisp.c it->font_height = Qnil; it 25134 src/xdisp.c it->voffset = 0; it 25145 src/xdisp.c || lookup_basic_face (it->w, it->f, DEFAULT_FACE_ID) it 25147 src/xdisp.c extend_face_to_end_of_line (it); it 25154 src/xdisp.c x = it->current_x; it 25158 src/xdisp.c if (it->line_wrap != TRUNCATE) it 25160 src/xdisp.c ascent = it->max_ascent; it 25161 src/xdisp.c descent = it->max_descent; it 25162 src/xdisp.c phys_ascent = it->max_phys_ascent; it 25163 src/xdisp.c phys_descent = it->max_phys_descent; it 25165 src/xdisp.c if (it->line_wrap == WORD_WRAP && it->area == TEXT_AREA) it 25169 src/xdisp.c if (char_can_wrap_after (it)) it 25174 src/xdisp.c if (may_wrap && char_can_wrap_before (it)) it 25176 src/xdisp.c SAVE_IT (wrap_it, *it, wrap_data); it 25194 src/xdisp.c PRODUCE_GLYPHS (it); it 25198 src/xdisp.c if (it->area != TEXT_AREA) it 25200 src/xdisp.c row->ascent = max (row->ascent, it->max_ascent); it 25201 src/xdisp.c row->height = max (row->height, it->max_ascent + it->max_descent); it 25202 src/xdisp.c row->phys_ascent = max (row->phys_ascent, it->max_phys_ascent); it 25204 src/xdisp.c it->max_phys_ascent + it->max_phys_descent); it 25206 src/xdisp.c it->max_extra_line_spacing); it 25207 src/xdisp.c set_iterator_to_next (it, true); it 25211 src/xdisp.c if (it->area == TEXT_AREA && pending_handle_line_prefix) it 25215 src/xdisp.c maybe_produce_line_number (it); it 25218 src/xdisp.c handle_line_prefix (it); it 25233 src/xdisp.c hpos_before = it->hpos; it 25239 src/xdisp.c && it->current_x < it->last_visible_x) it 25241 src/xdisp.c it->hpos += nglyphs; it 25242 src/xdisp.c row->ascent = max (row->ascent, it->max_ascent); it 25243 src/xdisp.c row->height = max (row->height, it->max_ascent + it->max_descent); it 25244 src/xdisp.c row->phys_ascent = max (row->phys_ascent, it->max_phys_ascent); it 25246 src/xdisp.c it->max_phys_ascent + it->max_phys_descent); it 25248 src/xdisp.c it->max_extra_line_spacing); it 25249 src/xdisp.c if (it->current_x - it->pixel_width < it->first_visible_x it 25259 src/xdisp.c row->x = x - it->first_visible_x; it 25262 src/xdisp.c if (it->bidi_p) it 25263 src/xdisp.c RECORD_MAX_MIN_POS (it); it 25282 src/xdisp.c it->line_wrap != TRUNCATE it 25284 src/xdisp.c new_x > it->last_visible_x it 25286 src/xdisp.c || (new_x == it->last_visible_x it 25287 src/xdisp.c && FRAME_WINDOW_P (it->f) it 25289 src/xdisp.c ? WINDOW_LEFT_FRINGE_WIDTH (it->w) it 25290 src/xdisp.c : WINDOW_RIGHT_FRINGE_WIDTH (it->w))))) it 25294 src/xdisp.c if (it->hpos == 0 it 25295 src/xdisp.c || (new_x == it->last_visible_x it 25296 src/xdisp.c && FRAME_WINDOW_P (it->f) it 25298 src/xdisp.c ? WINDOW_LEFT_FRINGE_WIDTH (it->w) it 25299 src/xdisp.c : WINDOW_RIGHT_FRINGE_WIDTH (it->w)))) it 25306 src/xdisp.c it->current_x = new_x; it 25307 src/xdisp.c it->continuation_lines_width += new_x; it 25308 src/xdisp.c ++it->hpos; it 25313 src/xdisp.c if (!IT_OVERFLOW_NEWLINE_INTO_FRINGE (it) it 25325 src/xdisp.c && (!may_wrap || !char_can_wrap_before (it))) it 25331 src/xdisp.c if (it->bidi_p) it 25332 src/xdisp.c RECORD_MAX_MIN_POS (it); it 25333 src/xdisp.c set_iterator_to_next (it, true); it 25334 src/xdisp.c if (IT_OVERFLOW_NEWLINE_INTO_FRINGE (it)) it 25336 src/xdisp.c if (!get_next_display_element (it)) it 25339 src/xdisp.c it->continuation_lines_width = 0; it 25340 src/xdisp.c it->font_height = Qnil; it 25341 src/xdisp.c it->voffset = 0; it 25345 src/xdisp.c else if (ITERATOR_AT_END_OF_LINE_P (it)) it 25362 src/xdisp.c && (!may_wrap || !char_can_wrap_before (it))) it 25367 src/xdisp.c else if (it->bidi_p) it 25368 src/xdisp.c RECORD_MAX_MIN_POS (it); it 25369 src/xdisp.c if (WINDOW_LEFT_MARGIN_WIDTH (it->w) > 0 it 25370 src/xdisp.c || WINDOW_RIGHT_MARGIN_WIDTH (it->w) > 0) it 25371 src/xdisp.c extend_face_to_end_of_line (it); it 25374 src/xdisp.c && !FRAME_WINDOW_P (it->f)) it 25380 src/xdisp.c unproduce_glyphs (it, row->used[TEXT_AREA] it 25388 src/xdisp.c produce_special_glyphs (it, IT_CONTINUATION); it 25391 src/xdisp.c it->current_x = x_before; it 25392 src/xdisp.c it->continuation_lines_width += x_before; it 25396 src/xdisp.c it->max_ascent = ascent; it 25397 src/xdisp.c it->max_descent = descent; it 25398 src/xdisp.c it->max_phys_ascent = phys_ascent; it 25399 src/xdisp.c it->max_phys_descent = phys_descent; it 25400 src/xdisp.c if (WINDOW_LEFT_MARGIN_WIDTH (it->w) > 0 it 25401 src/xdisp.c || WINDOW_RIGHT_MARGIN_WIDTH (it->w) > 0) it 25402 src/xdisp.c extend_face_to_end_of_line (it); it 25408 src/xdisp.c unproduce_glyphs (it, it 25410 src/xdisp.c RESTORE_IT (it, &wrap_it, wrap_data); it 25411 src/xdisp.c it->continuation_lines_width += wrap_x; it 25428 src/xdisp.c extend_face_to_end_of_line (it); it 25430 src/xdisp.c else if ((it->what == IT_CHARACTER it 25431 src/xdisp.c || it->what == IT_STRETCH it 25432 src/xdisp.c || it->what == IT_COMPOSITION) it 25433 src/xdisp.c && it->c == '\t' && FRAME_WINDOW_P (it->f)) it 25441 src/xdisp.c ? WINDOW_LEFT_FRINGE_WIDTH (it->w) it 25442 src/xdisp.c : WINDOW_RIGHT_FRINGE_WIDTH (it->w)) == 0) it 25443 src/xdisp.c produce_special_glyphs (it, IT_CONTINUATION); it 25444 src/xdisp.c it->continuation_lines_width += it->last_visible_x; it 25447 src/xdisp.c glyph->pixel_width = it->last_visible_x - x; it 25448 src/xdisp.c it->starts_in_middle_of_char_p = true; it 25449 src/xdisp.c if (WINDOW_LEFT_MARGIN_WIDTH (it->w) > 0 it 25450 src/xdisp.c || WINDOW_RIGHT_MARGIN_WIDTH (it->w) > 0) it 25451 src/xdisp.c extend_face_to_end_of_line (it); it 25459 src/xdisp.c unproduce_glyphs (it, row->used[TEXT_AREA] it 25464 src/xdisp.c it->current_x = x_before; it 25465 src/xdisp.c it->continuation_lines_width += x; it 25466 src/xdisp.c if (!FRAME_WINDOW_P (it->f) it 25468 src/xdisp.c ? WINDOW_LEFT_FRINGE_WIDTH (it->w) it 25469 src/xdisp.c : WINDOW_RIGHT_FRINGE_WIDTH (it->w)) == 0) it 25470 src/xdisp.c produce_special_glyphs (it, IT_CONTINUATION); it 25473 src/xdisp.c extend_face_to_end_of_line (it); it 25478 src/xdisp.c it->starts_in_middle_of_char_p = true; it 25483 src/xdisp.c it->max_ascent = ascent; it 25484 src/xdisp.c it->max_descent = descent; it 25485 src/xdisp.c it->max_phys_ascent = phys_ascent; it 25486 src/xdisp.c it->max_phys_descent = phys_descent; it 25491 src/xdisp.c else if (new_x > it->first_visible_x) it 25494 src/xdisp.c ++it->hpos; it 25499 src/xdisp.c if (it->bidi_p) it 25500 src/xdisp.c RECORD_MAX_MIN_POS (it); it 25502 src/xdisp.c if (x < it->first_visible_x && !row->reversed_p it 25510 src/xdisp.c row->x = x - it->first_visible_x; it 25518 src/xdisp.c && new_x > it->last_visible_x it 25520 src/xdisp.c && !(it->line_wrap == TRUNCATE it 25521 src/xdisp.c && WINDOW_LEFT_FRINGE_WIDTH (it->w) == 0)) it 25523 src/xdisp.c eassert (FRAME_WINDOW_P (it->f)); it 25524 src/xdisp.c row->x = it->last_visible_x - new_x; it 25534 src/xdisp.c eassert (it->first_visible_x <= it->last_visible_x); it 25539 src/xdisp.c if (it->bidi_p && nglyphs == 0) it 25540 src/xdisp.c RECORD_MAX_MIN_POS (it); it 25542 src/xdisp.c row->ascent = max (row->ascent, it->max_ascent); it 25543 src/xdisp.c row->height = max (row->height, it->max_ascent + it->max_descent); it 25544 src/xdisp.c row->phys_ascent = max (row->phys_ascent, it->max_phys_ascent); it 25546 src/xdisp.c it->max_phys_ascent + it->max_phys_descent); it 25548 src/xdisp.c it->max_extra_line_spacing); it 25559 src/xdisp.c if (ITERATOR_AT_END_OF_LINE_P (it)) it 25563 src/xdisp.c row->ends_in_newline_from_string_p = STRINGP (it->object); it 25567 src/xdisp.c if (!IT_OVERFLOW_NEWLINE_INTO_FRINGE (it)) it 25568 src/xdisp.c append_space_for_newline (it, false); it 25571 src/xdisp.c extend_face_to_end_of_line (it); it 25575 src/xdisp.c row->glyphs[TEXT_AREA]->charpos = CHARPOS (it->position); it 25579 src/xdisp.c it->eol_pos = it->current.pos; it 25582 src/xdisp.c set_iterator_to_next (it, true); it 25583 src/xdisp.c it->continuation_lines_width = 0; it 25595 src/xdisp.c CONSP (it->object) && EQ (XCAR (it->object), Qspace) it 25596 src/xdisp.c && it->sp > 0 && it->method == GET_FROM_STRETCH it 25597 src/xdisp.c && it->current_x >= it->last_visible_x it 25598 src/xdisp.c && it->continuation_lines_width > 0 it 25599 src/xdisp.c && it->line_wrap == TRUNCATE && it->stack[0].line_wrap != TRUNCATE; it 25604 src/xdisp.c set_iterator_to_next (it, true); it 25608 src/xdisp.c if (it->line_wrap == TRUNCATE it 25609 src/xdisp.c && ((FRAME_WINDOW_P (it->f) it 25615 src/xdisp.c ? WINDOW_LEFT_FRINGE_WIDTH (it->w) it 25616 src/xdisp.c : WINDOW_RIGHT_FRINGE_WIDTH (it->w)) it 25617 src/xdisp.c || it->what == IT_IMAGE)) it 25618 src/xdisp.c ? (it->current_x >= it->last_visible_x) it 25619 src/xdisp.c : (it->current_x > it->last_visible_x))) it 25622 src/xdisp.c if (!FRAME_WINDOW_P (it->f) it 25624 src/xdisp.c ? WINDOW_LEFT_FRINGE_WIDTH (it->w) it 25625 src/xdisp.c : WINDOW_RIGHT_FRINGE_WIDTH (it->w)) == 0) it 25645 src/xdisp.c unproduce_glyphs (it, i + 1); it 25653 src/xdisp.c if (it->current_x > it->last_visible_x) it 25655 src/xdisp.c it->current_x = x_before; it 25656 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) it 25661 src/xdisp.c produce_special_glyphs (it, IT_TRUNCATION); it 25667 src/xdisp.c produce_special_glyphs (it, IT_TRUNCATION); it 25669 src/xdisp.c it->hpos = hpos_before; it 25672 src/xdisp.c else if (IT_OVERFLOW_NEWLINE_INTO_FRINGE (it)) it 25675 src/xdisp.c if (!get_next_display_element (it)) it 25677 src/xdisp.c it->continuation_lines_width = 0; it 25678 src/xdisp.c it->font_height = Qnil; it 25679 src/xdisp.c it->voffset = 0; it 25684 src/xdisp.c if (ITERATOR_AT_END_OF_LINE_P (it)) it 25689 src/xdisp.c it->current_x = x_before; it 25690 src/xdisp.c it->hpos = hpos_before; it 25694 src/xdisp.c it->continuation_lines_width = 0; it 25695 src/xdisp.c reseat_at_next_visible_line_start (it, false); it 25700 src/xdisp.c if (IT_BYTEPOS (*it) > BEG_BYTE) it 25702 src/xdisp.c IT_BYTEPOS (*it) >= ZV_BYTE it 25715 src/xdisp.c if (it->first_visible_x it 25716 src/xdisp.c && IT_CHARPOS (*it) != CHARPOS (row->start.pos)) it 25718 src/xdisp.c if (!FRAME_WINDOW_P (it->f) it 25720 src/xdisp.c ? WINDOW_RIGHT_FRINGE_WIDTH (it->w) it 25721 src/xdisp.c : WINDOW_LEFT_FRINGE_WIDTH (it->w)) == 0) it 25725 src/xdisp.c insert_left_trunc_glyphs (it); it 25734 src/xdisp.c row->end = it->current; it 25735 src/xdisp.c if (!it->bidi_p) it 25746 src/xdisp.c find_row_edges (it, row, min_pos, min_bpos, max_pos, max_bpos); it 25754 src/xdisp.c && (overlay_arrow_string = overlay_arrow_at_row (it, row), it 25761 src/xdisp.c = get_overlay_arrow_glyph_row (it->w, overlay_arrow_string); it 25793 src/xdisp.c highlight_trailing_whitespace (it); it 25796 src/xdisp.c compute_line_metrics (it); it 25805 src/xdisp.c = (it->method == GET_FROM_DISPLAY_VECTOR it 25806 src/xdisp.c && it->ellipsis_p); it 25809 src/xdisp.c row->left_user_fringe_bitmap = it->left_user_fringe_bitmap; it 25810 src/xdisp.c row->left_user_fringe_face_id = it->left_user_fringe_face_id; it 25811 src/xdisp.c row->right_user_fringe_bitmap = it->right_user_fringe_bitmap; it 25812 src/xdisp.c row->right_user_fringe_face_id = it->right_user_fringe_face_id; it 25814 src/xdisp.c it->left_user_fringe_bitmap = 0; it 25815 src/xdisp.c it->left_user_fringe_face_id = 0; it 25816 src/xdisp.c it->right_user_fringe_bitmap = 0; it 25817 src/xdisp.c it->right_user_fringe_face_id = 0; it 25824 src/xdisp.c if (MINI_WINDOW_P (it->w) && it->line_wrap == TRUNCATE it 25825 src/xdisp.c && FRAME_WINDOW_P (it->f) && !cursor_in_echo_area) it 25829 src/xdisp.c cvpos = it->w->cursor.vpos; it 25839 src/xdisp.c || (it->bidi_p it 25840 src/xdisp.c && !MATRIX_ROW (it->w->desired_matrix, cvpos)->ends_at_zv_p)) it 25844 src/xdisp.c set_cursor_from_row (it->w, row, it->w->desired_matrix, 0, 0, 0, 0); it 25850 src/xdisp.c it->current_x = it->hpos = 0; it 25851 src/xdisp.c it->current_y += row->height; it 25856 src/xdisp.c it->first_visible_x = first_visible_x; it 25857 src/xdisp.c it->last_visible_x = last_visible_x; it 25859 src/xdisp.c SET_TEXT_POS (it->eol_pos, 0, 0); it 25860 src/xdisp.c ++it->vpos; it 25861 src/xdisp.c ++it->glyph_row; it 25866 src/xdisp.c if (it->glyph_row < MATRIX_BOTTOM_TEXT_ROW (it->w->desired_matrix, it->w)) it 25867 src/xdisp.c it->glyph_row->reversed_p = row->reversed_p; it 25868 src/xdisp.c it->start = row->end; it 26328 src/xdisp.c struct it it; it 26337 src/xdisp.c start_display (&it, w, pt); it 26344 src/xdisp.c if (it.line_wrap == TRUNCATE) it 26345 src/xdisp.c it.last_visible_x = DISP_INFINITY; it 26347 src/xdisp.c if (it.cmp_it.id < 0 it 26348 src/xdisp.c && it.method == GET_FROM_STRING it 26349 src/xdisp.c && it.area == TEXT_AREA it 26350 src/xdisp.c && it.string_from_display_prop_p it 26351 src/xdisp.c && (it.sp > 0 && it.stack[it.sp - 1].method == GET_FROM_BUFFER)) it 26359 src/xdisp.c reseat_at_previous_visible_line_start (&it); it 26360 src/xdisp.c it.current_x = it.hpos = it.current_y = it.vpos = 0; it 26361 src/xdisp.c if (IT_CHARPOS (it) != PT) it 26363 src/xdisp.c move_it_to (&it, overshoot_expected ? PT - 1 : PT, it 26368 src/xdisp.c if (it.method == GET_FROM_DISPLAY_VECTOR it 26369 src/xdisp.c && it.current.dpvec_index > 0 it 26375 src/xdisp.c else if (IT_CHARPOS (it) != PT && !overshoot_expected) it 26376 src/xdisp.c move_it_in_display_line (&it, PT, -1, MOVE_TO_POS); it 26378 src/xdisp.c pt_x = it.current_x; it 26379 src/xdisp.c pt_vpos = it.vpos; it 26382 src/xdisp.c struct glyph_row *row = it.glyph_row; it 26388 src/xdisp.c get_next_display_element (&it); it 26389 src/xdisp.c at_eol_p = ITERATOR_AT_END_OF_LINE_P (&it); it 26390 src/xdisp.c it.glyph_row = NULL; it 26391 src/xdisp.c PRODUCE_GLYPHS (&it); /* compute it.pixel_width */ it 26392 src/xdisp.c it.glyph_row = row; it 26396 src/xdisp.c it.current_x = pt_x; it 26399 src/xdisp.c at_eol_p = ITERATOR_AT_END_OF_LINE_P (&it); it 26400 src/xdisp.c pixel_width = it.pixel_width; it 26411 src/xdisp.c if (it.bidi_p) it 26412 src/xdisp.c pt_x += pixel_width * it.bidi_it.scan_dir; it 26426 src/xdisp.c target_x = pt_x - (!FRAME_WINDOW_P (it.f)) * pixel_width; it 26436 src/xdisp.c start_display (&it, w, pt); it 26437 src/xdisp.c if (it.line_wrap == TRUNCATE) it 26438 src/xdisp.c it.last_visible_x = DISP_INFINITY; it 26439 src/xdisp.c reseat_at_previous_visible_line_start (&it); it 26440 src/xdisp.c it.current_x = it.current_y = it.hpos = 0; it 26442 src/xdisp.c move_it_by_lines (&it, pt_vpos); it 26446 src/xdisp.c move_it_by_lines (&it, -1); it 26447 src/xdisp.c target_x = it.last_visible_x - !FRAME_WINDOW_P (it.f); it 26459 src/xdisp.c if (!FRAME_WINDOW_P (it.f) && it.line_wrap == WORD_WRAP) it 26462 src/xdisp.c struct it it2; it 26464 src/xdisp.c SAVE_IT (it2, it, it_data); it 26465 src/xdisp.c move_it_in_display_line_to (&it, ZV, target_x, it 26469 src/xdisp.c if (it.current_x != target_x) it 26470 src/xdisp.c target_x = it.current_x - 1; it 26471 src/xdisp.c RESTORE_IT (&it, &it2, it_data); it 26478 src/xdisp.c || (target_x >= it.last_visible_x it 26479 src/xdisp.c && it.line_wrap != TRUNCATE)) it 26482 src/xdisp.c move_it_by_lines (&it, 0); it 26483 src/xdisp.c move_it_by_lines (&it, 1); it 26494 src/xdisp.c if (FRAME_WINDOW_P (it.f) && dir < 0) it 26499 src/xdisp.c if (it.current_x == 0) it 26500 src/xdisp.c get_next_display_element (&it); it 26501 src/xdisp.c if (it.what == IT_COMPOSITION) it 26503 src/xdisp.c new_pos.charpos = it.cmp_it.charpos; it 26507 src/xdisp.c new_pos = it.current.pos; it 26509 src/xdisp.c while (it.current_x + it.pixel_width <= target_x it 26514 src/xdisp.c || (it.line_wrap == WORD_WRAP it 26517 src/xdisp.c int new_x = it.current_x + it.pixel_width; it 26525 src/xdisp.c if (it.what == IT_COMPOSITION) it 26527 src/xdisp.c new_pos.charpos = it.cmp_it.charpos; it 26531 src/xdisp.c new_pos = it.current.pos; it 26532 src/xdisp.c if (new_x == it.current_x) it 26534 src/xdisp.c rc = move_it_in_display_line_to (&it, ZV, new_x, it 26536 src/xdisp.c if (ITERATOR_AT_END_OF_LINE_P (&it) && !target_is_eol_p) it 26543 src/xdisp.c it.current.pos = new_pos; it 26545 src/xdisp.c else if (it.current_x != target_x) it 26546 src/xdisp.c move_it_in_display_line_to (&it, ZV, target_x, MOVE_TO_POS | MOVE_TO_X); it 26552 src/xdisp.c while (IT_CHARPOS (it) == PT) it 26554 src/xdisp.c set_iterator_to_next (&it, false); it 26555 src/xdisp.c if (!get_next_display_element (&it)) it 26561 src/xdisp.c SET_PT_BOTH (IT_CHARPOS (it), IT_BYTEPOS (it)); it 26697 src/xdisp.c struct it it; it 26728 src/xdisp.c init_iterator (&it, w, -1, -1, f->desired_matrix->rows, MENU_FACE_ID); it 26729 src/xdisp.c it.first_visible_x = 0; it 26730 src/xdisp.c it.last_visible_x = FRAME_PIXEL_WIDTH (f); it 26740 src/xdisp.c init_iterator (&it, menu_window, -1, -1, it 26749 src/xdisp.c init_iterator (&it, w, -1, -1, f->desired_matrix->rows, it 26751 src/xdisp.c it.first_visible_x = 0; it 26752 src/xdisp.c it.last_visible_x = FRAME_COLS (f); it 26758 src/xdisp.c it.paragraph_embedding = L2R; it 26763 src/xdisp.c struct glyph_row *row = it.glyph_row + i; it 26771 src/xdisp.c items = FRAME_MENU_BAR_ITEMS (it.f); it 26782 src/xdisp.c ASET (items, i + 3, make_fixnum (it.hpos)); it 26785 src/xdisp.c if (it.current_x < it.last_visible_x) it 26786 src/xdisp.c display_string (NULL, string, Qnil, 0, 0, &it, it 26791 src/xdisp.c if (it.current_x < it.last_visible_x) it 26792 src/xdisp.c display_string ("", Qnil, Qnil, 0, 0, &it, -1, 0, 0, -1); it 26795 src/xdisp.c compute_line_metrics (&it); it 26796 src/xdisp.c it.glyph_row->full_width_p = true; it 26797 src/xdisp.c it.glyph_row->continued_p = false; it 26798 src/xdisp.c it.glyph_row->truncated_on_left_p = false; it 26799 src/xdisp.c it.glyph_row->truncated_on_right_p = false; it 26807 src/xdisp.c extend_face_to_end_of_line (&it); it 26810 src/xdisp.c struct glyph *last = (it.glyph_row->glyphs[TEXT_AREA] it 26811 src/xdisp.c + it.glyph_row->used[TEXT_AREA] - 1); it 26822 src/xdisp.c - (it.current_x - it.last_visible_x))); it 26827 src/xdisp.c if (FRAME_WINDOW_P (it.f) && menu_window) it 26832 src/xdisp.c row = it.glyph_row; it 26839 src/xdisp.c FRAME_MENU_BAR_HEIGHT (it.f) += delta_height; it 26840 src/xdisp.c adjust_frame_size (it.f, -1, -1, 3, false, Qmenu_bar_lines); it 26902 src/xdisp.c struct it it; it 26918 src/xdisp.c init_iterator (&it, w, -1, -1, f->desired_matrix->rows + y, MENU_FACE_ID); it 26919 src/xdisp.c it.first_visible_x = 0; it 26920 src/xdisp.c it.last_visible_x = FRAME_COLS (f) - 1; it 26921 src/xdisp.c row = it.glyph_row; it 26933 src/xdisp.c it.current_x = it.hpos = x; it 26934 src/xdisp.c it.current_y = it.vpos = y; it 26938 src/xdisp.c it.face_id = face_id; it 26939 src/xdisp.c it.line_wrap = TRUNCATE; it 26946 src/xdisp.c it.paragraph_embedding = L2R; it 26949 src/xdisp.c display_string (" ", Qnil, Qnil, 0, 0, &it, 1, 0, FRAME_COLS (f) - 1, -1); it 26954 src/xdisp.c display_string (item_text, Qnil, Qnil, 0, 0, &it, it 26958 src/xdisp.c display_string (" >", Qnil, Qnil, 0, 0, &it, width, 0, it 26962 src/xdisp.c display_string (item_text, Qnil, Qnil, 0, 0, &it, it 27132 src/xdisp.c struct it it; it 27136 src/xdisp.c init_iterator (&it, w, -1, -1, NULL, face_id); it 27139 src/xdisp.c it.glyph_row->enabled_p = false; it 27140 src/xdisp.c prepare_desired_row (w, it.glyph_row, true); it 27142 src/xdisp.c it.glyph_row->mode_line_p = true; it 27145 src/xdisp.c it.glyph_row->tab_line_p = true; it 27154 src/xdisp.c it.paragraph_embedding = L2R; it 27163 src/xdisp.c push_kboard (FRAME_KBOARD (it.f)); it 27170 src/xdisp.c display_mode_element (&it, 0, 0, 0, format, Qnil, false); it 27181 src/xdisp.c 0, 0, &it, 0, 0, 0, it 27198 src/xdisp.c Qnil, 0, 0, &it, 0, 0, 0, it 27213 src/xdisp.c Qnil, 0, 0, &it, 0, 0, 0, it 27222 src/xdisp.c display_string (" ", Qnil, Qnil, 0, 0, &it, 10000, -1, -1, 0); it 27224 src/xdisp.c compute_line_metrics (&it); it 27225 src/xdisp.c it.glyph_row->full_width_p = true; it 27226 src/xdisp.c it.glyph_row->continued_p = false; it 27227 src/xdisp.c it.glyph_row->truncated_on_left_p = false; it 27228 src/xdisp.c it.glyph_row->truncated_on_right_p = false; it 27231 src/xdisp.c face = FACE_FROM_ID (it.f, face_id); it 27232 src/xdisp.c extend_face_to_end_of_line (&it); it 27235 src/xdisp.c struct glyph *last = (it.glyph_row->glyphs[TEXT_AREA] it 27236 src/xdisp.c + it.glyph_row->used[TEXT_AREA] - 1); it 27247 src/xdisp.c - (it.current_x - it.last_visible_x))); it 27250 src/xdisp.c return it.glyph_row->height; it 27326 src/xdisp.c display_mode_element (struct it *it, int depth, int field_width, int precision, it 27435 src/xdisp.c n += display_string (NULL, elt, Qnil, 0, 0, it, it 27448 src/xdisp.c || it->current_x < it->last_visible_x)) it 27497 src/xdisp.c it, 0, nchars, 0, it 27521 src/xdisp.c n += display_mode_element (it, depth, field, prec, it 27535 src/xdisp.c spec = decode_mode_spec (it->w, c, field, &string); it 27566 src/xdisp.c nglyphs_before = it->glyph_row->used[TEXT_AREA]; it 27568 src/xdisp.c charpos, 0, it, it 27578 src/xdisp.c = (it->glyph_row->glyphs[TEXT_AREA] it 27665 src/xdisp.c if (!FRAME_LIVE_P (it->f)) it 27667 src/xdisp.c n += display_mode_element (it, depth, field_width - n, it 27681 src/xdisp.c n += display_mode_element (it, depth, field_width - n, it 27744 src/xdisp.c n += display_mode_element (it, depth, it 27776 src/xdisp.c n += display_string ("", Qnil, Qnil, 0, 0, it, field_width - n, it 27903 src/xdisp.c struct it it; it 27954 src/xdisp.c init_iterator (&it, w, -1, -1, NULL, face_id); it 27972 src/xdisp.c push_kboard (FRAME_KBOARD (it.f)); it 27973 src/xdisp.c display_mode_element (&it, 0, 0, 0, format, Qnil, false); it 28858 src/xdisp.c ptrdiff_t face_string_pos, ptrdiff_t start, struct it *it, it 28861 src/xdisp.c int hpos_at_start = it->hpos; it 28862 src/xdisp.c int saved_face_id = it->face_id; it 28863 src/xdisp.c struct glyph_row *row = it->glyph_row; it 28868 src/xdisp.c reseat_to_string (it, NILP (lisp_string) ? string : NULL, lisp_string, it 28874 src/xdisp.c it->stop_charpos = it->end_charpos; it 28883 src/xdisp.c it->face_id it 28884 src/xdisp.c = face_at_string_position (it->w, face_string, face_string_pos, it 28885 src/xdisp.c 0, &endptr, it->base_face_id, false, 0); it 28886 src/xdisp.c face = FACE_FROM_ID (it->f, it->face_id); it 28887 src/xdisp.c it->face_box_p = face->box != FACE_NO_BOX; it 28900 src/xdisp.c display_min_width (it, 0, face_string, min_width); it 28908 src/xdisp.c max_x = it->last_visible_x; it 28910 src/xdisp.c max_x = min (max_x, it->last_visible_x); it 28914 src/xdisp.c if (it->current_x < it->first_visible_x) it 28915 src/xdisp.c move_it_in_display_line_to (it, 100000, it->first_visible_x, it 28918 src/xdisp.c row->ascent = it->max_ascent; it 28919 src/xdisp.c row->height = it->max_ascent + it->max_descent; it 28920 src/xdisp.c row->phys_ascent = it->max_phys_ascent; it 28921 src/xdisp.c row->phys_height = it->max_phys_ascent + it->max_phys_descent; it 28922 src/xdisp.c row->extra_line_spacing = it->max_extra_line_spacing; it 28924 src/xdisp.c if (STRINGP (it->string)) it 28925 src/xdisp.c it_charpos = IT_STRING_CHARPOS (*it); it 28927 src/xdisp.c it_charpos = IT_CHARPOS (*it); it 28931 src/xdisp.c while (it->current_x < max_x) it 28936 src/xdisp.c if (!get_next_display_element (it)) it 28940 src/xdisp.c x_before = it->current_x; it 28942 src/xdisp.c PRODUCE_GLYPHS (it); it 28951 src/xdisp.c if (it->line_wrap != TRUNCATE it 28959 src/xdisp.c unproduce_glyphs (it, row->used[TEXT_AREA] it 28962 src/xdisp.c it->current_x = x_before; it 28967 src/xdisp.c unproduce_glyphs (it, row->used[TEXT_AREA] it 28970 src/xdisp.c it->current_x = x; it 28974 src/xdisp.c else if (x + glyph->pixel_width >= it->first_visible_x) it 28977 src/xdisp.c ++it->hpos; it 28978 src/xdisp.c if (x < it->first_visible_x) it 28979 src/xdisp.c row->x = x - it->first_visible_x; it 28988 src/xdisp.c row->ascent = max (row->ascent, it->max_ascent); it 28989 src/xdisp.c row->height = max (row->height, it->max_ascent + it->max_descent); it 28990 src/xdisp.c row->phys_ascent = max (row->phys_ascent, it->max_phys_ascent); it 28992 src/xdisp.c it->max_phys_ascent + it->max_phys_descent); it 28994 src/xdisp.c it->max_extra_line_spacing); it 29004 src/xdisp.c if (ITERATOR_AT_END_OF_LINE_P (it)) it 29006 src/xdisp.c it->continuation_lines_width = 0; it 29010 src/xdisp.c set_iterator_to_next (it, true); it 29011 src/xdisp.c if (STRINGP (it->string)) it 29012 src/xdisp.c it_charpos = IT_STRING_CHARPOS (*it); it 29014 src/xdisp.c it_charpos = IT_CHARPOS (*it); it 29017 src/xdisp.c if (it->line_wrap == TRUNCATE it 29018 src/xdisp.c && it->current_x >= it->last_visible_x) it 29026 src/xdisp.c if (it_charpos <= it->string_nchars) it 29028 src/xdisp.c if (!FRAME_WINDOW_P (it->f)) it 29032 src/xdisp.c if (it->current_x > it->last_visible_x) it 29042 src/xdisp.c struct window *w = it->w; it 29057 src/xdisp.c unproduce_glyphs (it, ii + 1); it 29064 src/xdisp.c pad_mode_line (it, mode_line_p); it 29066 src/xdisp.c produce_special_glyphs (it, IT_TRUNCATION); it 29069 src/xdisp.c produce_special_glyphs (it, IT_TRUNCATION); it 29078 src/xdisp.c if (it->first_visible_x it 29081 src/xdisp.c if (!FRAME_WINDOW_P (it->f) it 29083 src/xdisp.c ? WINDOW_RIGHT_FRINGE_WIDTH (it->w) it 29084 src/xdisp.c : WINDOW_LEFT_FRINGE_WIDTH (it->w)) == 0) it 29085 src/xdisp.c insert_left_trunc_glyphs (it); it 29089 src/xdisp.c it->face_id = saved_face_id; it 29092 src/xdisp.c return it->hpos - hpos_at_start; it 29248 src/xdisp.c calc_pixel_width_or_height (double *res, struct it *it, Lisp_Object prop, it 29255 src/xdisp.c int lnum_pixel_width = it->line_number_produced_p ? it->lnum_pixel_width : 0; it 29264 src/xdisp.c eassert (FRAME_LIVE_P (it->f)); it 29283 src/xdisp.c double ppi = (width_p ? FRAME_RES_X (it->f) it 29284 src/xdisp.c : FRAME_RES_Y (it->f)); it 29297 src/xdisp.c : FRAME_LINE_HEIGHT (it->f)); it 29304 src/xdisp.c : FRAME_COLUMN_WIDTH (it->f)); it 29313 src/xdisp.c ? (window_box_width (it->w, TEXT_AREA) it 29315 src/xdisp.c : WINDOW_BOX_HEIGHT_NO_MODE_LINE (it->w)); it 29325 src/xdisp.c return OK_ALIGN_TO (window_box_left_offset (it->w, TEXT_AREA) it 29329 src/xdisp.c return OK_ALIGN_TO (window_box_right_offset (it->w, TEXT_AREA)); it 29332 src/xdisp.c return OK_ALIGN_TO (window_box_left_offset (it->w, TEXT_AREA) it 29334 src/xdisp.c + window_box_width (it->w, TEXT_AREA) / 2); it 29337 src/xdisp.c return OK_ALIGN_TO (WINDOW_HAS_FRINGES_OUTSIDE_MARGINS (it->w) it 29338 src/xdisp.c ? WINDOW_LEFT_SCROLL_BAR_AREA_WIDTH (it->w) it 29339 src/xdisp.c : window_box_right_offset (it->w, LEFT_MARGIN_AREA)); it 29342 src/xdisp.c return OK_ALIGN_TO (WINDOW_HAS_FRINGES_OUTSIDE_MARGINS (it->w) it 29343 src/xdisp.c ? window_box_right_offset (it->w, RIGHT_MARGIN_AREA) it 29344 src/xdisp.c : window_box_right_offset (it->w, TEXT_AREA)); it 29347 src/xdisp.c return OK_ALIGN_TO (window_box_left_offset (it->w, LEFT_MARGIN_AREA)); it 29350 src/xdisp.c return OK_ALIGN_TO (window_box_left_offset (it->w, RIGHT_MARGIN_AREA)); it 29353 src/xdisp.c return OK_ALIGN_TO (WINDOW_HAS_VERTICAL_SCROLL_BAR_ON_LEFT (it->w) it 29355 src/xdisp.c : (window_box_right_offset (it->w, RIGHT_MARGIN_AREA) it 29356 src/xdisp.c + (WINDOW_HAS_FRINGES_OUTSIDE_MARGINS (it->w) it 29357 src/xdisp.c ? WINDOW_RIGHT_FRINGE_WIDTH (it->w) it 29364 src/xdisp.c return OK_PIXELS (WINDOW_LEFT_FRINGE_WIDTH (it->w)); it 29366 src/xdisp.c return OK_PIXELS (WINDOW_RIGHT_FRINGE_WIDTH (it->w)); it 29368 src/xdisp.c return OK_PIXELS (WINDOW_LEFT_MARGIN_WIDTH (it->w)); it 29370 src/xdisp.c return OK_PIXELS (WINDOW_RIGHT_MARGIN_WIDTH (it->w)); it 29372 src/xdisp.c return OK_PIXELS (WINDOW_SCROLL_BAR_AREA_WIDTH (it->w)); it 29375 src/xdisp.c prop = buffer_local_value (prop, it->w->contents); it 29383 src/xdisp.c ? FRAME_COLUMN_WIDTH (it->f) it 29384 src/xdisp.c : FRAME_LINE_HEIGHT (it->f)); it 29399 src/xdisp.c if (FRAME_WINDOW_P (it->f) it 29402 src/xdisp.c ptrdiff_t id = lookup_image (it->f, prop, it->face_id); it 29403 src/xdisp.c struct image *img = IMAGE_FROM_ID (it->f, id); it 29408 src/xdisp.c if (FRAME_WINDOW_P (it->f) && valid_xwidget_spec_p (prop)) it 29424 src/xdisp.c if (!calc_pixel_width_or_height (&px, it, XCAR (cdr), it 29438 src/xdisp.c car = buffer_local_value (car, it->w->contents); it 29452 src/xdisp.c if (calc_pixel_width_or_height (&fact, it, cdr, it 30989 src/xdisp.c #define IT_EXPAND_MATRIX_WIDTH(it, area) \ it 30991 src/xdisp.c if (!it->f->fonts_changed \ it 30992 src/xdisp.c && (it->glyph_row->glyphs[area] \ it 30993 src/xdisp.c < it->glyph_row->glyphs[area + 1])) \ it 30995 src/xdisp.c it->w->ncols_scale_factor++; \ it 30996 src/xdisp.c it->f->fonts_changed = true; \ it 31004 src/xdisp.c append_glyph (struct it *it) it 31007 src/xdisp.c enum glyph_row_area area = it->area; it 31009 src/xdisp.c eassert (it->glyph_row); it 31010 src/xdisp.c eassert (it->char_to_display != '\n' && it->char_to_display != '\t'); it 31012 src/xdisp.c glyph = it->glyph_row->glyphs[area] + it->glyph_row->used[area]; it 31013 src/xdisp.c if (glyph < it->glyph_row->glyphs[area + 1]) it 31017 src/xdisp.c if (it->glyph_row->reversed_p && area == TEXT_AREA) it 31022 src/xdisp.c for (g = glyph - 1; g >= it->glyph_row->glyphs[area]; g--) it 31024 src/xdisp.c glyph = it->glyph_row->glyphs[area]; it 31026 src/xdisp.c glyph->charpos = CHARPOS (it->position); it 31027 src/xdisp.c glyph->object = it->object; it 31028 src/xdisp.c if (it->pixel_width > 0) it 31030 src/xdisp.c eassert (it->pixel_width <= SHRT_MAX); it 31031 src/xdisp.c glyph->pixel_width = it->pixel_width; it 31041 src/xdisp.c glyph->ascent = it->ascent; it 31042 src/xdisp.c glyph->descent = it->descent; it 31043 src/xdisp.c glyph->voffset = it->voffset; it 31045 src/xdisp.c glyph->avoid_cursor_p = it->avoid_cursor_p; it 31046 src/xdisp.c glyph->multibyte_p = it->multibyte_p; it 31047 src/xdisp.c if (it->glyph_row->reversed_p && area == TEXT_AREA) it 31051 src/xdisp.c glyph->right_box_line_p = it->start_of_box_run_p; it 31052 src/xdisp.c glyph->left_box_line_p = it->end_of_box_run_p; it 31056 src/xdisp.c glyph->left_box_line_p = it->start_of_box_run_p; it 31057 src/xdisp.c glyph->right_box_line_p = it->end_of_box_run_p; it 31059 src/xdisp.c glyph->overlaps_vertically_p = (it->phys_ascent > it->ascent it 31060 src/xdisp.c || it->phys_descent > it->descent); it 31061 src/xdisp.c glyph->glyph_not_available_p = it->glyph_not_available_p; it 31062 src/xdisp.c glyph->face_id = it->face_id; it 31063 src/xdisp.c glyph->u.ch = it->char_to_display; it 31066 src/xdisp.c if (it->bidi_p) it 31068 src/xdisp.c glyph->resolved_level = it->bidi_it.resolved_level; it 31069 src/xdisp.c eassert ((it->bidi_it.type & 7) == it->bidi_it.type); it 31070 src/xdisp.c glyph->bidi_type = it->bidi_it.type; it 31077 src/xdisp.c ++it->glyph_row->used[area]; it 31080 src/xdisp.c IT_EXPAND_MATRIX_WIDTH (it, area); it 31087 src/xdisp.c append_composite_glyph (struct it *it) it 31090 src/xdisp.c enum glyph_row_area area = it->area; it 31092 src/xdisp.c eassert (it->glyph_row); it 31094 src/xdisp.c glyph = it->glyph_row->glyphs[area] + it->glyph_row->used[area]; it 31095 src/xdisp.c if (glyph < it->glyph_row->glyphs[area + 1]) it 31099 src/xdisp.c if (it->glyph_row->reversed_p && it->area == TEXT_AREA) it 31104 src/xdisp.c for (g = glyph - 1; g >= it->glyph_row->glyphs[it->area]; g--) it 31106 src/xdisp.c glyph = it->glyph_row->glyphs[it->area]; it 31108 src/xdisp.c glyph->charpos = it->cmp_it.charpos; it 31109 src/xdisp.c glyph->object = it->object; it 31110 src/xdisp.c eassert (it->pixel_width <= SHRT_MAX); it 31111 src/xdisp.c glyph->pixel_width = it->pixel_width; it 31112 src/xdisp.c glyph->ascent = it->ascent; it 31113 src/xdisp.c glyph->descent = it->descent; it 31114 src/xdisp.c glyph->voffset = it->voffset; it 31116 src/xdisp.c if (it->cmp_it.ch < 0) it 31119 src/xdisp.c glyph->u.cmp.id = it->cmp_it.id; it 31125 src/xdisp.c glyph->u.cmp.id = it->cmp_it.id; it 31126 src/xdisp.c glyph->slice.cmp.from = it->cmp_it.from; it 31127 src/xdisp.c glyph->slice.cmp.to = it->cmp_it.to - 1; it 31129 src/xdisp.c glyph->avoid_cursor_p = it->avoid_cursor_p; it 31130 src/xdisp.c glyph->multibyte_p = it->multibyte_p; it 31131 src/xdisp.c if (it->glyph_row->reversed_p && area == TEXT_AREA) it 31135 src/xdisp.c glyph->right_box_line_p = it->start_of_box_run_p; it 31136 src/xdisp.c glyph->left_box_line_p = it->end_of_box_run_p; it 31140 src/xdisp.c glyph->left_box_line_p = it->start_of_box_run_p; it 31141 src/xdisp.c glyph->right_box_line_p = it->end_of_box_run_p; it 31143 src/xdisp.c glyph->overlaps_vertically_p = (it->phys_ascent > it->ascent it 31144 src/xdisp.c || it->phys_descent > it->descent); it 31146 src/xdisp.c glyph->glyph_not_available_p = it->glyph_not_available_p; it 31147 src/xdisp.c glyph->face_id = it->face_id; it 31149 src/xdisp.c if (it->bidi_p) it 31151 src/xdisp.c glyph->resolved_level = it->bidi_it.resolved_level; it 31152 src/xdisp.c eassert ((it->bidi_it.type & 7) == it->bidi_it.type); it 31153 src/xdisp.c glyph->bidi_type = it->bidi_it.type; it 31155 src/xdisp.c ++it->glyph_row->used[area]; it 31158 src/xdisp.c IT_EXPAND_MATRIX_WIDTH (it, area); it 31166 src/xdisp.c take_vertical_position_into_account (struct it *it) it 31168 src/xdisp.c if (it->voffset) it 31170 src/xdisp.c if (it->voffset < 0) it 31173 src/xdisp.c it->ascent -= it->voffset; it 31177 src/xdisp.c it->descent += it->voffset; it 31187 src/xdisp.c produce_image_glyph (struct it *it) it 31194 src/xdisp.c eassert (it->what == IT_IMAGE); it 31196 src/xdisp.c face = FACE_FROM_ID (it->f, it->face_id); it 31198 src/xdisp.c prepare_face_for_display (it->f, face); it 31200 src/xdisp.c if (it->image_id < 0) it 31203 src/xdisp.c it->ascent = it->phys_ascent = 0; it 31204 src/xdisp.c it->descent = it->phys_descent = 0; it 31205 src/xdisp.c it->pixel_width = 0; it 31206 src/xdisp.c it->nglyphs = 0; it 31210 src/xdisp.c img = IMAGE_FROM_ID (it->f, it->image_id); it 31212 src/xdisp.c prepare_image_for_display (it->f, img); it 31218 src/xdisp.c if (FIXNUMP (it->slice.x)) it 31219 src/xdisp.c slice.x = XFIXNUM (it->slice.x); it 31220 src/xdisp.c else if (FLOATP (it->slice.x)) it 31221 src/xdisp.c slice.x = XFLOAT_DATA (it->slice.x) * img->width; it 31223 src/xdisp.c if (FIXNUMP (it->slice.y)) it 31224 src/xdisp.c slice.y = XFIXNUM (it->slice.y); it 31225 src/xdisp.c else if (FLOATP (it->slice.y)) it 31226 src/xdisp.c slice.y = XFLOAT_DATA (it->slice.y) * img->height; it 31228 src/xdisp.c if (FIXNUMP (it->slice.width)) it 31229 src/xdisp.c slice.width = XFIXNUM (it->slice.width); it 31230 src/xdisp.c else if (FLOATP (it->slice.width)) it 31231 src/xdisp.c slice.width = XFLOAT_DATA (it->slice.width) * img->width; it 31233 src/xdisp.c if (FIXNUMP (it->slice.height)) it 31234 src/xdisp.c slice.height = XFIXNUM (it->slice.height); it 31235 src/xdisp.c else if (FLOATP (it->slice.height)) it 31236 src/xdisp.c slice.height = XFLOAT_DATA (it->slice.height) * img->height; it 31250 src/xdisp.c it->ascent = it->phys_ascent = glyph_ascent = image_ascent (img, face, &slice); it 31252 src/xdisp.c it->descent = slice.height - glyph_ascent; it 31254 src/xdisp.c it->descent += img->vmargin; it 31256 src/xdisp.c it->descent += img->vmargin; it 31257 src/xdisp.c it->phys_descent = it->descent; it 31259 src/xdisp.c it->pixel_width = slice.width; it 31261 src/xdisp.c it->pixel_width += img->hmargin; it 31263 src/xdisp.c it->pixel_width += img->hmargin; it 31267 src/xdisp.c if (it->descent < 0) it 31268 src/xdisp.c it->descent = 0; it 31270 src/xdisp.c it->nglyphs = 1; it 31279 src/xdisp.c it->ascent += face->box_horizontal_line_width; it 31281 src/xdisp.c it->descent += face->box_horizontal_line_width; it 31286 src/xdisp.c if (it->start_of_box_run_p && slice.x == 0) it 31287 src/xdisp.c it->pixel_width += face->box_vertical_line_width; it 31288 src/xdisp.c if (it->end_of_box_run_p && slice.x + slice.width == img->width) it 31289 src/xdisp.c it->pixel_width += face->box_vertical_line_width; it 31293 src/xdisp.c take_vertical_position_into_account (it); it 31297 src/xdisp.c if ((crop = it->pixel_width - (it->last_visible_x - it->current_x), crop > 0) it 31298 src/xdisp.c && (it->hpos == 0 || it->pixel_width > it->last_visible_x / 4)) it 31300 src/xdisp.c it->pixel_width -= crop; it 31304 src/xdisp.c if (it->glyph_row) it 31307 src/xdisp.c enum glyph_row_area area = it->area; it 31309 src/xdisp.c glyph = it->glyph_row->glyphs[area] + it->glyph_row->used[area]; it 31310 src/xdisp.c if (it->glyph_row->reversed_p) it 31315 src/xdisp.c for (g = glyph - 1; g >= it->glyph_row->glyphs[it->area]; g--) it 31317 src/xdisp.c glyph = it->glyph_row->glyphs[it->area]; it 31319 src/xdisp.c if (glyph < it->glyph_row->glyphs[area + 1]) it 31321 src/xdisp.c glyph->charpos = CHARPOS (it->position); it 31322 src/xdisp.c glyph->object = it->object; it 31323 src/xdisp.c glyph->pixel_width = clip_to_bounds (-1, it->pixel_width, SHRT_MAX); it 31325 src/xdisp.c glyph->descent = it->descent; it 31326 src/xdisp.c glyph->voffset = it->voffset; it 31328 src/xdisp.c glyph->avoid_cursor_p = it->avoid_cursor_p; it 31329 src/xdisp.c glyph->multibyte_p = it->multibyte_p; it 31330 src/xdisp.c if (it->glyph_row->reversed_p && area == TEXT_AREA) it 31334 src/xdisp.c glyph->right_box_line_p = it->start_of_box_run_p; it 31335 src/xdisp.c glyph->left_box_line_p = it->end_of_box_run_p; it 31339 src/xdisp.c glyph->left_box_line_p = it->start_of_box_run_p; it 31340 src/xdisp.c glyph->right_box_line_p = it->end_of_box_run_p; it 31345 src/xdisp.c glyph->face_id = it->face_id; it 31349 src/xdisp.c if (it->bidi_p) it 31351 src/xdisp.c glyph->resolved_level = it->bidi_it.resolved_level; it 31352 src/xdisp.c eassert ((it->bidi_it.type & 7) == it->bidi_it.type); it 31353 src/xdisp.c glyph->bidi_type = it->bidi_it.type; it 31355 src/xdisp.c ++it->glyph_row->used[area]; it 31358 src/xdisp.c IT_EXPAND_MATRIX_WIDTH (it, area); it 31363 src/xdisp.c produce_xwidget_glyph (struct it *it) it 31368 src/xdisp.c eassert (it->what == IT_XWIDGET); it 31370 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); it 31372 src/xdisp.c prepare_face_for_display (it->f, face); it 31374 src/xdisp.c xw = it->xwidget; it 31375 src/xdisp.c it->ascent = it->phys_ascent = glyph_ascent = xw->height/2; it 31376 src/xdisp.c it->descent = xw->height/2; it 31377 src/xdisp.c it->phys_descent = it->descent; it 31378 src/xdisp.c it->pixel_width = xw->width; it 31381 src/xdisp.c if (it->descent < 0) it 31382 src/xdisp.c it->descent = 0; it 31384 src/xdisp.c it->nglyphs = 1; it 31390 src/xdisp.c it->ascent += face->box_horizontal_line_width; it 31391 src/xdisp.c it->descent += face->box_horizontal_line_width; it 31396 src/xdisp.c if (it->start_of_box_run_p) it 31397 src/xdisp.c it->pixel_width += face->box_vertical_line_width; it 31398 src/xdisp.c it->pixel_width += face->box_vertical_line_width; it 31402 src/xdisp.c take_vertical_position_into_account (it); it 31406 src/xdisp.c crop = it->pixel_width - (it->last_visible_x - it->current_x); it 31407 src/xdisp.c if (crop > 0 && (it->hpos == 0 || it->pixel_width > it->last_visible_x / 4)) it 31408 src/xdisp.c it->pixel_width -= crop; it 31410 src/xdisp.c if (it->glyph_row) it 31412 src/xdisp.c enum glyph_row_area area = it->area; it 31414 src/xdisp.c = it->glyph_row->glyphs[area] + it->glyph_row->used[area]; it 31416 src/xdisp.c if (it->glyph_row->reversed_p) it 31421 src/xdisp.c for (g = glyph - 1; g >= it->glyph_row->glyphs[it->area]; g--) it 31423 src/xdisp.c glyph = it->glyph_row->glyphs[it->area]; it 31425 src/xdisp.c if (glyph < it->glyph_row->glyphs[area + 1]) it 31427 src/xdisp.c glyph->charpos = CHARPOS (it->position); it 31428 src/xdisp.c glyph->object = it->object; it 31429 src/xdisp.c glyph->pixel_width = clip_to_bounds (-1, it->pixel_width, SHRT_MAX); it 31431 src/xdisp.c glyph->descent = it->descent; it 31432 src/xdisp.c glyph->voffset = it->voffset; it 31434 src/xdisp.c glyph->avoid_cursor_p = it->avoid_cursor_p; it 31435 src/xdisp.c glyph->multibyte_p = it->multibyte_p; it 31436 src/xdisp.c if (it->glyph_row->reversed_p && area == TEXT_AREA) it 31440 src/xdisp.c glyph->right_box_line_p = it->start_of_box_run_p; it 31441 src/xdisp.c glyph->left_box_line_p = it->end_of_box_run_p; it 31445 src/xdisp.c glyph->left_box_line_p = it->start_of_box_run_p; it 31446 src/xdisp.c glyph->right_box_line_p = it->end_of_box_run_p; it 31451 src/xdisp.c glyph->face_id = it->face_id; it 31452 src/xdisp.c glyph->u.xwidget = it->xwidget->xwidget_id; it 31454 src/xdisp.c if (it->bidi_p) it 31456 src/xdisp.c glyph->resolved_level = it->bidi_it.resolved_level; it 31457 src/xdisp.c eassert ((it->bidi_it.type & 7) == it->bidi_it.type); it 31458 src/xdisp.c glyph->bidi_type = it->bidi_it.type; it 31460 src/xdisp.c ++it->glyph_row->used[area]; it 31463 src/xdisp.c IT_EXPAND_MATRIX_WIDTH (it, area); it 31473 src/xdisp.c append_stretch_glyph (struct it *it, Lisp_Object object, it 31477 src/xdisp.c enum glyph_row_area area = it->area; it 31481 src/xdisp.c glyph = it->glyph_row->glyphs[area] + it->glyph_row->used[area]; it 31482 src/xdisp.c if (glyph < it->glyph_row->glyphs[area + 1]) it 31486 src/xdisp.c if (it->glyph_row->reversed_p && area == TEXT_AREA) it 31491 src/xdisp.c for (g = glyph - 1; g >= it->glyph_row->glyphs[area]; g--) it 31493 src/xdisp.c glyph = it->glyph_row->glyphs[area]; it 31509 src/xdisp.c if (it->current_x < it->first_visible_x) it 31510 src/xdisp.c width -= it->first_visible_x - it->current_x; it 31513 src/xdisp.c glyph->charpos = CHARPOS (it->position); it 31520 src/xdisp.c glyph->voffset = it->voffset; it 31522 src/xdisp.c glyph->avoid_cursor_p = it->avoid_cursor_p; it 31523 src/xdisp.c glyph->multibyte_p = it->multibyte_p; it 31524 src/xdisp.c if (it->glyph_row->reversed_p && area == TEXT_AREA) it 31528 src/xdisp.c glyph->right_box_line_p = it->start_of_box_run_p; it 31529 src/xdisp.c glyph->left_box_line_p = it->end_of_box_run_p; it 31533 src/xdisp.c glyph->left_box_line_p = it->start_of_box_run_p; it 31534 src/xdisp.c glyph->right_box_line_p = it->end_of_box_run_p; it 31539 src/xdisp.c glyph->face_id = it->face_id; it 31544 src/xdisp.c if (it->bidi_p) it 31546 src/xdisp.c glyph->resolved_level = it->bidi_it.resolved_level; it 31547 src/xdisp.c eassert ((it->bidi_it.type & 7) == it->bidi_it.type); it 31548 src/xdisp.c glyph->bidi_type = it->bidi_it.type; it 31555 src/xdisp.c ++it->glyph_row->used[area]; it 31558 src/xdisp.c IT_EXPAND_MATRIX_WIDTH (it, area); it 31595 src/xdisp.c produce_stretch_glyph (struct it *it) it 31609 src/xdisp.c if (FRAME_WINDOW_P (it->f)) it 31611 src/xdisp.c face = FACE_FROM_ID (it->f, it->face_id); it 31612 src/xdisp.c font = face->font ? face->font : FRAME_FONT (it->f); it 31613 src/xdisp.c prepare_face_for_display (it->f, face); it 31618 src/xdisp.c eassert (CONSP (it->object) && EQ (XCAR (it->object), Qspace)); it 31619 src/xdisp.c plist = XCDR (it->object); it 31623 src/xdisp.c && calc_pixel_width_or_height (&tem, it, prop, font, true, NULL)) it 31634 src/xdisp.c struct it it2; it 31636 src/xdisp.c it->sp > 0 ? it->stack[it->sp - 1].string : it->string; it 31638 src/xdisp.c ? SDATA (object) + IT_STRING_BYTEPOS (*it) it 31639 src/xdisp.c : BYTE_POS_ADDR (IT_BYTEPOS (*it))); it 31641 src/xdisp.c STRINGP (object) ? STRING_MULTIBYTE (object) : it->multibyte_p; it 31643 src/xdisp.c it2 = *it; it 31648 src/xdisp.c if (FRAME_WINDOW_P (it->f) && ! ASCII_CHAR_P (it2.c)) it 31649 src/xdisp.c it2.face_id = FACE_FOR_CHAR (it->f, face, it2.c, it 31650 src/xdisp.c IT_CHARPOS (*it), it 31667 src/xdisp.c && calc_pixel_width_or_height (&tem, it, prop, font, true, it 31670 src/xdisp.c int x = it->current_x + it->continuation_lines_width; it 31673 src/xdisp.c if (!NILP (Vdisplay_line_numbers) && it->line_number_produced_p) it 31675 src/xdisp.c x -= it->lnum_pixel_width; it 31677 src/xdisp.c if (x + it->stretch_adjust >= it->first_visible_x) it 31678 src/xdisp.c x += it->stretch_adjust; it 31681 src/xdisp.c if (it->glyph_row == NULL || !it->glyph_row->mode_line_p) it 31684 src/xdisp.c : align_to - window_box_left_offset (it->w, TEXT_AREA)); it 31686 src/xdisp.c align_to = window_box_left_offset (it->w, TEXT_AREA); it 31690 src/xdisp.c if (!NILP (Vdisplay_line_numbers) && it->line_number_produced_p) it 31694 src/xdisp.c if (x < it->first_visible_x) it 31696 src/xdisp.c next_x -= it->first_visible_x - x; it 31697 src/xdisp.c it->stretch_adjust = it->first_visible_x - x; it 31700 src/xdisp.c next_x -= it->stretch_adjust; it 31707 src/xdisp.c width = FRAME_COLUMN_WIDTH (it->f); it 31714 src/xdisp.c if (FRAME_WINDOW_P (it->f)) it 31719 src/xdisp.c && calc_pixel_width_or_height (&tem, it, prop, font, false, NULL)) it 31740 src/xdisp.c && calc_pixel_width_or_height (&tem, it, prop, font, false, 0)) it 31750 src/xdisp.c && it->area == TEXT_AREA && it->line_wrap != TRUNCATE it 31751 src/xdisp.c && it->current_x + width > it->last_visible_x) it 31753 src/xdisp.c width = it->last_visible_x - it->current_x; it 31757 src/xdisp.c width -= FRAME_WINDOW_P (it->f); it 31761 src/xdisp.c if (width > 0 && height > 0 && it->glyph_row) it 31763 src/xdisp.c Lisp_Object o_object = it->object; it 31765 src/xdisp.c it->sp > 0 ? it->stack[it->sp - 1].string : it->string; it 31769 src/xdisp.c object = it->w->contents; it 31771 src/xdisp.c if (FRAME_WINDOW_P (it->f)) it 31772 src/xdisp.c append_stretch_glyph (it, object, width, height, ascent); it 31776 src/xdisp.c it->object = object; it 31777 src/xdisp.c it->char_to_display = ' '; it 31778 src/xdisp.c it->pixel_width = it->len = 1; it 31780 src/xdisp.c tty_append_glyph (it); it 31781 src/xdisp.c it->object = o_object; it 31785 src/xdisp.c it->pixel_width = width; it 31787 src/xdisp.c if (FRAME_WINDOW_P (it->f)) it 31789 src/xdisp.c it->ascent = it->phys_ascent = ascent; it 31790 src/xdisp.c it->descent = it->phys_descent = height - it->ascent; it 31791 src/xdisp.c it->nglyphs = width > 0 && height > 0; it 31792 src/xdisp.c take_vertical_position_into_account (it); it 31796 src/xdisp.c it->nglyphs = width; it 31806 src/xdisp.c produce_special_glyphs (struct it *it, enum display_element_type what) it 31808 src/xdisp.c struct it temp_it; it 31812 src/xdisp.c temp_it = *it; it 31819 src/xdisp.c if (it->bidi_it.paragraph_dir == R2L) it 31823 src/xdisp.c if (it->dp it 31824 src/xdisp.c && (gc = DISP_CONTINUE_GLYPH (it->dp), GLYPH_CODE_P (gc))) it 31828 src/xdisp.c spec_glyph_lookup_face (XWINDOW (it->window), &glyph); it 31835 src/xdisp.c if (it->dp it 31836 src/xdisp.c && (gc = DISP_TRUNC_GLYPH (it->dp), GLYPH_CODE_P (gc))) it 31840 src/xdisp.c spec_glyph_lookup_face (XWINDOW (it->window), &glyph); it 31890 src/xdisp.c it->pixel_width = temp_it.pixel_width; it 31891 src/xdisp.c it->nglyphs = temp_it.nglyphs; it 31903 src/xdisp.c pad_mode_line (struct it *it, bool mode_line_p) it 31905 src/xdisp.c struct it temp_it; it 31908 src/xdisp.c eassert (!FRAME_WINDOW_P (it->f)); it 31909 src/xdisp.c temp_it = *it; it 31913 src/xdisp.c SET_GLYPH (glyph, mode_line_p ? '-' : ' ', it->base_face_id); it 31922 src/xdisp.c it->pixel_width = temp_it.pixel_width; it 31923 src/xdisp.c it->nglyphs = temp_it.nglyphs; it 31937 src/xdisp.c calc_line_height_property (struct it *it, Lisp_Object val, struct font *font, it 31954 src/xdisp.c height = it->ascent + it->descent; it 31961 src/xdisp.c font = FRAME_FONT (it->f); it 31962 src/xdisp.c boff = FRAME_BASELINE_OFFSET (it->f); it 31973 src/xdisp.c face_id = lookup_named_face (it->w, it->f, face_name, false); it 31974 src/xdisp.c face = FACE_FROM_ID_OR_NULL (it->f, face_id); it 31979 src/xdisp.c boff = VCENTER_BASELINE_OFFSET (font, it->f) - boff; it 31986 src/xdisp.c it->override_ascent = ascent; it 31987 src/xdisp.c it->override_descent = descent; it 31988 src/xdisp.c it->override_boff = boff; it 32021 src/xdisp.c append_glyphless_glyph (struct it *it, int face_id, bool for_no_font, int len, it 32026 src/xdisp.c enum glyph_row_area area = it->area; it 32028 src/xdisp.c glyph = it->glyph_row->glyphs[area] + it->glyph_row->used[area]; it 32029 src/xdisp.c if (glyph < it->glyph_row->glyphs[area + 1]) it 32033 src/xdisp.c if (it->glyph_row->reversed_p && area == TEXT_AREA) it 32038 src/xdisp.c for (g = glyph - 1; g >= it->glyph_row->glyphs[area]; g--) it 32040 src/xdisp.c glyph = it->glyph_row->glyphs[area]; it 32042 src/xdisp.c glyph->charpos = CHARPOS (it->position); it 32043 src/xdisp.c glyph->object = it->object; it 32044 src/xdisp.c eassert (it->pixel_width <= SHRT_MAX); it 32045 src/xdisp.c glyph->pixel_width = it->pixel_width; it 32046 src/xdisp.c glyph->ascent = it->ascent; it 32047 src/xdisp.c glyph->descent = it->descent; it 32048 src/xdisp.c glyph->voffset = it->voffset; it 32050 src/xdisp.c glyph->u.glyphless.method = it->glyphless_method; it 32053 src/xdisp.c glyph->u.glyphless.ch = it->c; it 32058 src/xdisp.c glyph->avoid_cursor_p = it->avoid_cursor_p; it 32059 src/xdisp.c glyph->multibyte_p = it->multibyte_p; it 32060 src/xdisp.c if (it->glyph_row->reversed_p && area == TEXT_AREA) it 32064 src/xdisp.c glyph->right_box_line_p = it->start_of_box_run_p; it 32065 src/xdisp.c glyph->left_box_line_p = it->end_of_box_run_p; it 32069 src/xdisp.c glyph->left_box_line_p = it->start_of_box_run_p; it 32070 src/xdisp.c glyph->right_box_line_p = it->end_of_box_run_p; it 32072 src/xdisp.c glyph->overlaps_vertically_p = (it->phys_ascent > it->ascent it 32073 src/xdisp.c || it->phys_descent > it->descent); it 32078 src/xdisp.c if (it->bidi_p) it 32080 src/xdisp.c glyph->resolved_level = it->bidi_it.resolved_level; it 32081 src/xdisp.c eassert ((it->bidi_it.type & 7) == it->bidi_it.type); it 32082 src/xdisp.c glyph->bidi_type = it->bidi_it.type; it 32084 src/xdisp.c ++it->glyph_row->used[area]; it 32087 src/xdisp.c IT_EXPAND_MATRIX_WIDTH (it, area); it 32101 src/xdisp.c produce_glyphless_glyph (struct it *it, bool for_no_font, Lisp_Object acronym) it 32113 src/xdisp.c face = FACE_FROM_ID_OR_NULL (it->f, it->face_id); it 32116 src/xdisp.c font = (face && face->font) ? face->font : FRAME_FONT (it->f); it 32117 src/xdisp.c normal_char_ascent_descent (font, -1, &it->ascent, &it->descent); it 32118 src/xdisp.c it->ascent += font->baseline_offset; it 32119 src/xdisp.c it->descent -= font->baseline_offset; it 32120 src/xdisp.c base_height = it->ascent + it->descent; it 32123 src/xdisp.c face_id = merge_glyphless_glyph_face (it); it 32125 src/xdisp.c if (it->glyphless_method == GLYPHLESS_DISPLAY_THIN_SPACE) it 32127 src/xdisp.c it->pixel_width = THIN_SPACE_WIDTH; it 32131 src/xdisp.c else if (it->glyphless_method == GLYPHLESS_DISPLAY_EMPTY_BOX) it 32133 src/xdisp.c width = CHARACTER_WIDTH (it->c); it 32138 src/xdisp.c it->pixel_width = base_width * width; it 32151 src/xdisp.c face = FACE_FROM_ID (it->f, face_id); it 32152 src/xdisp.c font = face->font ? face->font : FRAME_FONT (it->f); it 32153 src/xdisp.c prepare_face_for_display (it->f, face); it 32155 src/xdisp.c if (it->glyphless_method == GLYPHLESS_DISPLAY_ACRONYM) it 32158 src/xdisp.c acronym = CHAR_TABLE_REF (Vglyphless_char_display, it->c); it 32165 src/xdisp.c eassert (it->glyphless_method == GLYPHLESS_DISPLAY_HEX_CODE); it 32166 src/xdisp.c sprintf (buf, "%0*X", it->c < 0x10000 ? 4 : 6, it->c + 0u); it 32185 src/xdisp.c it->pixel_width = base_width; it 32191 src/xdisp.c it->pixel_width = width; it 32210 src/xdisp.c ascent = - (it->descent - (base_height + height + 1) / 2); it 32211 src/xdisp.c descent = it->descent - (base_height - height) / 2; it 32218 src/xdisp.c it->ascent = ascent; it 32219 src/xdisp.c it->descent = descent; it 32223 src/xdisp.c it->phys_ascent = it->ascent; it 32224 src/xdisp.c it->phys_descent = it->descent; it 32225 src/xdisp.c if (it->glyph_row) it 32226 src/xdisp.c append_glyphless_glyph (it, face_id, for_no_font, len, it 32229 src/xdisp.c it->nglyphs = 1; it 32230 src/xdisp.c take_vertical_position_into_account (it); it 32237 src/xdisp.c #define IT_APPLY_FACE_BOX(it, face) \ it 32244 src/xdisp.c it->ascent += thick; \ it 32245 src/xdisp.c it->descent += thick; \ it 32251 src/xdisp.c if (it->start_of_box_run_p) \ it 32252 src/xdisp.c it->pixel_width += thick; \ it 32253 src/xdisp.c if (it->end_of_box_run_p) \ it 32254 src/xdisp.c it->pixel_width += thick; \ it 32265 src/xdisp.c gui_produce_glyphs (struct it *it) it 32267 src/xdisp.c int extra_line_spacing = it->extra_line_spacing; it 32269 src/xdisp.c it->glyph_not_available_p = false; it 32271 src/xdisp.c if (it->what == IT_CHARACTER) it 32274 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); it 32284 src/xdisp.c Lisp_Object acronym = lookup_glyphless_char_display (-1, it); it 32286 src/xdisp.c eassert (it->what == IT_GLYPHLESS); it 32287 src/xdisp.c produce_glyphless_glyph (it, true, it 32294 src/xdisp.c boff = VCENTER_BASELINE_OFFSET (font, it->f) - boff; it 32296 src/xdisp.c if (it->char_to_display != '\n' && it->char_to_display != '\t') it 32298 src/xdisp.c it->nglyphs = 1; it 32300 src/xdisp.c if (it->override_ascent >= 0) it 32302 src/xdisp.c it->ascent = it->override_ascent; it 32303 src/xdisp.c it->descent = it->override_descent; it 32304 src/xdisp.c boff = it->override_boff; it 32308 src/xdisp.c it->ascent = FONT_BASE (font) + boff; it 32309 src/xdisp.c it->descent = FONT_DESCENT (font) - boff; it 32312 src/xdisp.c if (get_char_glyph_code (it->char_to_display, font, &char2b)) it 32322 src/xdisp.c it->phys_ascent = pcm->ascent + boff; it 32323 src/xdisp.c it->phys_descent = pcm->descent - boff; it 32324 src/xdisp.c it->pixel_width = pcm->width; it 32327 src/xdisp.c if (it->override_ascent < 0) it 32331 src/xdisp.c it->ascent = it->phys_ascent; it 32332 src/xdisp.c it->descent = it->phys_descent; it 32335 src/xdisp.c if (it->ascent < 0) it 32336 src/xdisp.c it->ascent = 0; it 32337 src/xdisp.c if (it->descent < 0) it 32338 src/xdisp.c it->descent = 0; it 32344 src/xdisp.c it->glyph_not_available_p = true; it 32345 src/xdisp.c it->phys_ascent = it->ascent; it 32346 src/xdisp.c it->phys_descent = it->descent; it 32347 src/xdisp.c it->pixel_width = font->space_width; it 32350 src/xdisp.c if (it->constrain_row_ascent_descent_p) it 32352 src/xdisp.c if (it->descent > it->max_descent) it 32354 src/xdisp.c it->ascent += it->descent - it->max_descent; it 32355 src/xdisp.c it->descent = it->max_descent; it 32357 src/xdisp.c if (it->ascent > it->max_ascent) it 32359 src/xdisp.c it->descent = min (it->max_descent, it->descent + it->ascent - it->max_ascent); it 32360 src/xdisp.c it->ascent = it->max_ascent; it 32362 src/xdisp.c it->phys_ascent = min (it->phys_ascent, it->ascent); it 32363 src/xdisp.c it->phys_descent = min (it->phys_descent, it->descent); it 32370 src/xdisp.c = it->char_to_display == ' ' && !NILP (it->space_width); it 32372 src/xdisp.c it->pixel_width *= XFLOATINT (it->space_width); it 32374 src/xdisp.c IT_APPLY_FACE_BOX(it, face); it 32379 src/xdisp.c it->ascent += clip_to_bounds (0, overline_margin, 1000000); it 32381 src/xdisp.c if (it->constrain_row_ascent_descent_p) it 32383 src/xdisp.c if (it->ascent > it->max_ascent) it 32384 src/xdisp.c it->ascent = it->max_ascent; it 32385 src/xdisp.c if (it->descent > it->max_descent) it 32386 src/xdisp.c it->descent = it->max_descent; it 32389 src/xdisp.c take_vertical_position_into_account (it); it 32392 src/xdisp.c if (it->glyph_row) it 32398 src/xdisp.c int ascent = (((it->ascent + it->descent) * FONT_BASE (font)) it 32400 src/xdisp.c append_stretch_glyph (it, it->object, it->pixel_width, it 32401 src/xdisp.c it->ascent + it->descent, ascent); it 32404 src/xdisp.c append_glyph (it); it 32410 src/xdisp.c it->glyph_row->contains_overlapping_glyphs_p = true; it 32412 src/xdisp.c if (! stretched_p && it->pixel_width == 0) it 32415 src/xdisp.c it->pixel_width = 1; it 32417 src/xdisp.c else if (it->char_to_display == '\n') it 32426 src/xdisp.c it->override_ascent = -1; it 32427 src/xdisp.c it->pixel_width = 0; it 32428 src/xdisp.c it->nglyphs = 0; it 32430 src/xdisp.c height = get_it_property (it, Qline_height); it 32439 src/xdisp.c height = calc_line_height_property (it, height, font, boff, true); it 32441 src/xdisp.c if (it->override_ascent >= 0) it 32443 src/xdisp.c it->ascent = it->override_ascent; it 32444 src/xdisp.c it->descent = it->override_descent; it 32445 src/xdisp.c boff = it->override_boff; it 32451 src/xdisp.c it->ascent = font->pixel_size + boff - 1; it 32452 src/xdisp.c it->descent = -boff + 1; it 32453 src/xdisp.c if (it->descent < 0) it 32454 src/xdisp.c it->descent = 0; it 32458 src/xdisp.c it->ascent = FONT_BASE (font) + boff; it 32459 src/xdisp.c it->descent = FONT_DESCENT (font) - boff; it 32465 src/xdisp.c if (it->descent > it->max_descent) it 32467 src/xdisp.c it->ascent += it->descent - it->max_descent; it 32468 src/xdisp.c it->descent = it->max_descent; it 32470 src/xdisp.c if (it->ascent > it->max_ascent) it 32472 src/xdisp.c it->descent = min (it->max_descent, it->descent + it->ascent - it->max_ascent); it 32473 src/xdisp.c it->ascent = it->max_ascent; it 32475 src/xdisp.c it->phys_ascent = min (it->phys_ascent, it->ascent); it 32476 src/xdisp.c it->phys_descent = min (it->phys_descent, it->descent); it 32477 src/xdisp.c it->constrain_row_ascent_descent_p = true; it 32484 src/xdisp.c it->phys_ascent = it->ascent; it 32485 src/xdisp.c it->phys_descent = it->descent; it 32487 src/xdisp.c if ((it->max_ascent > 0 || it->max_descent > 0) it 32491 src/xdisp.c it->ascent += face->box_horizontal_line_width; it 32492 src/xdisp.c it->descent += face->box_horizontal_line_width; it 32495 src/xdisp.c && XFIXNUM (height) > it->ascent + it->descent) it 32496 src/xdisp.c it->ascent = XFIXNUM (height) - it->descent; it 32499 src/xdisp.c spacing = calc_line_height_property (it, total_height, font, it 32503 src/xdisp.c spacing = get_it_property (it, Qline_spacing); it 32504 src/xdisp.c spacing = calc_line_height_property (it, spacing, font, it 32511 src/xdisp.c extra_line_spacing -= (it->phys_ascent + it->phys_descent); it 32519 src/xdisp.c int tab_width = it->tab_width * font->space_width; it 32520 src/xdisp.c int x = it->current_x + it->continuation_lines_width; it 32523 src/xdisp.c if (!NILP (Vdisplay_line_numbers) && it->line_number_produced_p) it 32525 src/xdisp.c x -= it->lnum_pixel_width; it 32527 src/xdisp.c if (x + it->stretch_adjust >= it->first_visible_x) it 32528 src/xdisp.c x += it->stretch_adjust; it 32538 src/xdisp.c if (!NILP (Vdisplay_line_numbers) && it->line_number_produced_p) it 32540 src/xdisp.c next_tab_x += it->lnum_pixel_width; it 32543 src/xdisp.c if (x < it->first_visible_x) it 32545 src/xdisp.c next_tab_x -= it->first_visible_x - x; it 32546 src/xdisp.c it->stretch_adjust = it->first_visible_x - x; it 32549 src/xdisp.c next_tab_x -= it->stretch_adjust; it 32552 src/xdisp.c it->pixel_width = next_tab_x - x0; it 32553 src/xdisp.c it->nglyphs = 1; it 32566 src/xdisp.c it->ascent = pcm->ascent + boff; it 32567 src/xdisp.c it->descent = pcm->descent - boff; it 32571 src/xdisp.c it->ascent = font->pixel_size + boff - 1; it 32572 src/xdisp.c it->descent = -boff + 1; it 32574 src/xdisp.c if (it->ascent < 0) it 32575 src/xdisp.c it->ascent = 0; it 32576 src/xdisp.c if (it->descent < 0) it 32577 src/xdisp.c it->descent = 0; it 32581 src/xdisp.c it->ascent = FONT_BASE (font) + boff; it 32582 src/xdisp.c it->descent = FONT_DESCENT (font) - boff; it 32584 src/xdisp.c it->phys_ascent = it->ascent; it 32585 src/xdisp.c it->phys_descent = it->descent; it 32587 src/xdisp.c if (it->glyph_row) it 32589 src/xdisp.c append_stretch_glyph (it, it->object, it->pixel_width, it 32590 src/xdisp.c it->ascent + it->descent, it->ascent); it 32595 src/xdisp.c it->pixel_width = 0; it 32596 src/xdisp.c it->nglyphs = 1; it 32612 src/xdisp.c it->max_ascent = max (it->max_ascent, font_ascent); it 32613 src/xdisp.c it->max_descent = max (it->max_descent, font_descent); it 32616 src/xdisp.c if (it->ascent < 0) it 32617 src/xdisp.c it->ascent = 0; it 32618 src/xdisp.c if (it->descent < 0) it 32619 src/xdisp.c it->descent = 0; it 32621 src/xdisp.c else if (it->what == IT_COMPOSITION && it->cmp_it.ch < 0) it 32631 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); it 32633 src/xdisp.c struct composition *cmp = composition_table[it->cmp_it.id]; it 32637 src/xdisp.c it->nglyphs = 1; it 32677 src/xdisp.c pos = (STRINGP (it->string) ? IT_STRING_CHARPOS (*it) it 32678 src/xdisp.c : IT_CHARPOS (*it)); it 32688 src/xdisp.c boff = VCENTER_BASELINE_OFFSET (font, it->f) - boff; it 32699 src/xdisp.c get_char_face_and_encoding (it->f, c, it->face_id, it 32731 src/xdisp.c make_fixnum (it->char_to_display)))) it 32752 src/xdisp.c face_id = FACE_FOR_CHAR (it->f, face, ch, pos, it->string); it 32753 src/xdisp.c this_face = FACE_FROM_ID (it->f, face_id); it 32760 src/xdisp.c get_char_face_and_encoding (it->f, ch, face_id, it 32896 src/xdisp.c if (it->glyph_row it 32899 src/xdisp.c it->glyph_row->contains_overlapping_glyphs_p = true; it 32901 src/xdisp.c it->pixel_width = cmp->pixel_width; it 32902 src/xdisp.c it->ascent = it->phys_ascent = cmp->ascent; it 32903 src/xdisp.c it->descent = it->phys_descent = cmp->descent; it 32904 src/xdisp.c IT_APPLY_FACE_BOX(it, face); it 32909 src/xdisp.c it->ascent += clip_to_bounds (0, overline_margin, 1000000); it 32911 src/xdisp.c take_vertical_position_into_account (it); it 32912 src/xdisp.c if (it->ascent < 0) it 32913 src/xdisp.c it->ascent = 0; it 32914 src/xdisp.c if (it->descent < 0) it 32915 src/xdisp.c it->descent = 0; it 32917 src/xdisp.c if (it->glyph_row && cmp->glyph_len > 0) it 32918 src/xdisp.c append_composite_glyph (it); it 32920 src/xdisp.c else if (it->what == IT_COMPOSITION) it 32923 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); it 32927 src/xdisp.c it->nglyphs = 1; it 32929 src/xdisp.c gstring = composition_gstring_from_id (it->cmp_it.id); it 32930 src/xdisp.c it->pixel_width it 32931 src/xdisp.c = composition_gstring_width (gstring, it->cmp_it.from, it->cmp_it.to, it 32933 src/xdisp.c if (it->pixel_width == 0) it 32935 src/xdisp.c it->glyph_not_available_p = true; it 32936 src/xdisp.c it->phys_ascent = it->ascent; it 32937 src/xdisp.c it->phys_descent = it->descent; it 32938 src/xdisp.c it->pixel_width = face->font->space_width; it 32942 src/xdisp.c if (it->glyph_row it 32944 src/xdisp.c it->glyph_row->contains_overlapping_glyphs_p = true; it 32945 src/xdisp.c it->ascent = it->phys_ascent = metrics.ascent; it 32946 src/xdisp.c it->descent = it->phys_descent = metrics.descent; it 32948 src/xdisp.c IT_APPLY_FACE_BOX(it, face); it 32953 src/xdisp.c it->ascent += clip_to_bounds (0, overline_margin, 1000000); it 32954 src/xdisp.c take_vertical_position_into_account (it); it 32955 src/xdisp.c if (it->ascent < 0) it 32956 src/xdisp.c it->ascent = 0; it 32957 src/xdisp.c if (it->descent < 0) it 32958 src/xdisp.c it->descent = 0; it 32960 src/xdisp.c if (it->glyph_row) it 32961 src/xdisp.c append_composite_glyph (it); it 32963 src/xdisp.c else if (it->what == IT_GLYPHLESS) it 32964 src/xdisp.c produce_glyphless_glyph (it, false, Qnil); it 32965 src/xdisp.c else if (it->what == IT_IMAGE) it 32966 src/xdisp.c produce_image_glyph (it); it 32967 src/xdisp.c else if (it->what == IT_STRETCH) it 32968 src/xdisp.c produce_stretch_glyph (it); it 32969 src/xdisp.c else if (it->what == IT_XWIDGET) it 32970 src/xdisp.c produce_xwidget_glyph (it); it 32975 src/xdisp.c eassert (it->ascent >= 0 && it->descent >= 0); it 32976 src/xdisp.c if (it->area == TEXT_AREA) it 32977 src/xdisp.c it->current_x += it->pixel_width; it 32981 src/xdisp.c it->descent += extra_line_spacing; it 32982 src/xdisp.c if (extra_line_spacing > it->max_extra_line_spacing) it 32983 src/xdisp.c it->max_extra_line_spacing = extra_line_spacing; it 32986 src/xdisp.c it->max_ascent = max (it->max_ascent, it->ascent); it 32987 src/xdisp.c it->max_descent = max (it->max_descent, it->descent); it 32988 src/xdisp.c it->max_phys_ascent = max (it->max_phys_ascent, it->phys_ascent); it 32989 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);