Lines Matching +full:back +full:- +full:end
2 * Copyright (C) 1984-2024 Mark Nudelman
26 * Jump to the end of the file.
35 error("Cannot seek to end of file", NULL_PARG);
39 if (position(sc_height-1) == end_pos)
52 * Go back one line from the end of the file
58 jump_loc(ch_zero(), sc_height-1);
61 jump_loc(pos, sc_height-1);
62 if (position(sc_height-1) != end_pos)
72 POSITION end;
76 error("Cannot seek to end of buffers", NULL_PARG);
79 end = ch_tell();
80 if (end != NULL_POSITION && end > 0)
81 jump_line_loc(end-1, sc_height-1);
157 pos = len-1;
174 * Back up to the beginning of the line.
199 /** error("Cannot display text before header; use --header=- to disable header", NULL_PARG); */
243 nline -= sindex;
247 back(-nline, position(TOP), 1, 0);
275 * Move back in the file far enough so that we can
277 * sline-th line on the screen.
288 forw(sc_height-sindex+nline-1, bpos, 1, 0, 0);
310 forw(sc_height-1, pos, 1, 0, sindex-nline);
316 * can call back() and put the desired line at the
317 * sindex-th line on the screen.
319 for (nline = sindex; nline < sc_height - 1; nline++)
325 * Ran into end of file.
341 back(nline+1, tpos, 1, 0);
356 back(sc_height-1, pos, 1, 0);