Lines Matching refs:grid

60 static int	window_copy_search_compare(struct grid *, u_int, u_int,
61 struct grid *, u_int, int);
62 static int window_copy_search_lr(struct grid *, struct grid *, u_int *,
64 static int window_copy_search_rl(struct grid *, struct grid *, u_int *,
66 static int window_copy_last_regex(struct grid *, u_int, u_int, u_int,
71 static char *window_copy_stringify(struct grid *, u_int, u_int, u_int,
73 static void window_copy_cstrtocellpos(struct grid *, u_int, u_int *,
79 static void window_copy_search_back_overlap(struct grid *, regex_t *,
82 struct grid *, struct grid *, u_int, u_int, u_int, int, int,
352 gl = grid_peek_line(src->grid, sy - 1); in window_copy_clone_screen()
367 dst->grid->flags |= GRID_HISTORY; in window_copy_clone_screen()
368 grid_duplicate_lines(dst->grid, 0, src->grid, 0, sy); in window_copy_clone_screen()
370 dst->grid->sy = sy - screen_hsize(src); in window_copy_clone_screen()
371 dst->grid->hsize = screen_hsize(src); in window_copy_clone_screen()
372 dst->grid->hscrolled = src->grid->hscrolled; in window_copy_clone_screen()
373 if (src->cy > dst->grid->sy - 1) { in window_copy_clone_screen()
375 dst->cy = dst->grid->sy - 1; in window_copy_clone_screen()
389 grid_wrap_position(dst->grid, *cx, *cy, &wx, &wy); in window_copy_clone_screen()
393 grid_unwrap_position(dst->grid, cx, cy, wx, wy); in window_copy_clone_screen()
869 struct grid *gd = data->screen.grid; in window_copy_get_word()
879 struct grid *gd = data->screen.grid; in window_copy_get_line()
890 struct grid *gd = data->screen.grid; in window_copy_cursor_hyperlink_cb()
933 gl = grid_get_line(data->backing->grid, hsize - data->oy); in window_copy_formats()
1002 struct grid *gd = data->backing->grid; in window_copy_resize()
1691 grid_get_cell(s->grid, px, py, &gc); in window_copy_cmd_previous_matching_bracket()
1732 grid_get_cell(s->grid, px, py, &gc); in window_copy_cmd_previous_matching_bracket()
1779 grid_get_cell(s->grid, px, py, &gc); in window_copy_cmd_next_matching_bracket()
1800 grid_get_cell(s->grid, px, py, &gc); in window_copy_cmd_next_matching_bracket()
1824 gl = grid_get_line(s->grid, py); in window_copy_cmd_next_matching_bracket()
1827 if (gl->cellsize > s->grid->sx) in window_copy_cmd_next_matching_bracket()
1853 grid_get_cell(s->grid, px, py, &gc); in window_copy_cmd_next_matching_bracket()
2183 if (grid_get_line(data->backing->grid, nexty)->flags & in window_copy_cmd_select_word()
3156 struct grid *gd = data->backing->grid; in window_copy_scroll_to()
3186 window_copy_search_compare(struct grid *gd, u_int px, u_int py, in window_copy_search_compare()
3187 struct grid *sgd, u_int spx, int cis) in window_copy_search_compare()
3210 window_copy_search_lr(struct grid *gd, struct grid *sgd, u_int *ppx, u_int py, in window_copy_search_lr()
3254 window_copy_search_rl(struct grid *gd, in window_copy_search_rl()
3255 struct grid *sgd, u_int *ppx, u_int py, u_int first, u_int last, int cis) in window_copy_search_rl()
3298 window_copy_search_lr_regex(struct grid *gd, u_int *ppx, u_int *psx, u_int py, in window_copy_search_lr_regex()
3365 window_copy_search_rl_regex(struct grid *gd, u_int *ppx, u_int *psx, u_int py, in window_copy_search_rl_regex()
3455 window_copy_last_regex(struct grid *gd, u_int py, u_int first, u_int last, in window_copy_last_regex()
3506 window_copy_stringify(struct grid *gd, u_int py, u_int first, u_int last, in window_copy_stringify()
3545 window_copy_cstrtocellpos(struct grid *gd, u_int ncells, u_int *ppx, u_int *ppy, in window_copy_cstrtocellpos()
3682 window_copy_search_back_overlap(struct grid *gd, regex_t *preg, u_int *ppx, in window_copy_search_back_overlap()
3726 window_copy_search_jump(struct window_mode_entry *wme, struct grid *gd, in window_copy_search_jump()
3727 struct grid *sgd, u_int fx, u_int fy, u_int endline, int cis, int wrap, in window_copy_search_jump()
3831 struct grid *gd = s->grid; in window_copy_search()
3899 found = window_copy_search_jump(wme, gd, ss.grid, fx, fy, endline, cis, in window_copy_search()
3917 window_copy_search_jump(wme, gd, ss.grid, fx, in window_copy_search()
3970 struct grid *gd = data->backing->grid; in window_copy_visible_lines()
3986 struct grid *gd = s->grid; in window_copy_search_mark_at()
4006 struct grid *gd = data->backing->grid; in window_copy_search_mark_match()
4040 struct grid *gd = s->grid; in window_copy_search_marks()
4067 sbuf = window_copy_stringify(ssp->grid, 0, 0, ssp->grid->sx, in window_copy_search_marks()
4104 found = window_copy_search_lr(gd, ssp->grid, in window_copy_search_marks()
4204 struct grid *gd = data->backing->grid; in window_copy_match_start_end()
4222 struct grid *gd = data->backing->grid; in window_copy_match_at_cursor()
4347 struct grid *gd = data->backing->grid; in window_copy_write_one()
4442 struct grid *gd = data->backing->grid; in window_copy_redraw_selection()
4842 if (~grid_get_line(data->backing->grid, ey)->flags & in window_copy_get_selection()
4960 struct grid *gd = data->backing->grid; in window_copy_copy_line()
5042 return (grid_in_set(data->backing->grid, px, py, set)); in window_copy_in_set()
5050 return (grid_line_length(data->backing->grid, py)); in window_copy_find_length()
5066 grid_reader_start(&gr, back_s->grid, px, py); in window_copy_cursor_start_of_line()
5085 grid_reader_start(&gr, back_s->grid, px, py); in window_copy_cursor_back_to_indentation()
5104 grid_reader_start(&gr, back_s->grid, px, py); in window_copy_cursor_end_of_line()
5178 grid_reader_start(&gr, back_s->grid, px, py); in window_copy_cursor_left()
5197 grid_reader_start(&gr, back_s->grid, px, py); in window_copy_cursor_right()
5357 grid_reader_start(&gr, back_s->grid, px, py); in window_copy_cursor_jump()
5378 grid_reader_start(&gr, back_s->grid, px, py); in window_copy_cursor_jump_back()
5400 grid_reader_start(&gr, back_s->grid, px, py); in window_copy_cursor_jump_to()
5422 grid_reader_start(&gr, back_s->grid, px, py); in window_copy_cursor_jump_to_back()
5447 grid_reader_start(&gr, back_s->grid, px, py); in window_copy_cursor_next_word()
5470 grid_reader_start(&gr, back_s->grid, px, py); in window_copy_cursor_next_word_end_pos()
5500 grid_reader_start(&gr, back_s->grid, px, py); in window_copy_cursor_next_word_end()
5527 grid_reader_start(&gr, back_s->grid, px, py); in window_copy_cursor_previous_word_pos()
5556 grid_reader_start(&gr, back_s->grid, px, py); in window_copy_cursor_previous_word()
5568 struct grid *gd = s->grid; in window_copy_cursor_prompt()