Home | History | Annotate | Download | only in cgram

Lines Matching refs:offset_y

178 static int offset_y;
332 int max_y = imin(LINES - 1, extent_y - offset_y);
336 int len = (int)lines.v[offset_y + y].len;
338 const char *line = lines.v[offset_y + y].s;
339 const char *solline = sollines.v[offset_y + y].s;
359 if (extent_y + 1 - offset_y < LINES - 2)
360 move(extent_y + 1 - offset_y, 0);
368 move(cursor_y - offset_y, cursor_x - offset_x);
393 if (cursor_y < offset_y)
394 offset_y = cursor_y;
395 if (cursor_y > offset_y + LINES - 2)
396 offset_y = cursor_y - (LINES - 2);