# window_copy_match_start_end

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L4610
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_match_start_end/

```c
static void window_copy_match_start_end(struct window_copy_mode_data *data, u_int at, u_int *start, u_int *end)
```

## Parameters

- `data` (`struct window_copy_mode_data *`)
- `at` (`u_int`)
- `start` (`u_int *`)
- `end` (`u_int *`)

## Called by

- [`window_copy_match_at_cursor`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_match_at_cursor/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L4649)
- [`window_copy_update_style`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_update_style/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L4724)

## Referenced declarations

- [`window_copy_mode_data.backing`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-backing/) (attribute)
- [`screen.grid`](/en/tmux/3.7c/reference/c-struct-screen-grid/) (attribute)
- [`window_copy_mode_data.searchmark`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-searchmark/) (attribute)
- [`grid.sx`](/en/tmux/3.7c/reference/c-struct-grid-sx/) (attribute)
- [`grid.sy`](/en/tmux/3.7c/reference/c-struct-grid-sy/) (attribute)
- [`window_copy_mode_data`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data/) (struct)
