Lines Matching +full:back +full:- +full:end
2 * Copyright (C) 1984-2025 Mark Nudelman
26 * Jump to the end of the file.
35 error("Cannot seek to end of file", NULL_PARG); in jump_forw()
39 if (position(sc_height-1) == end_pos) in jump_forw()
52 * Go back one line from the end of the file in jump_forw()
58 jump_loc(ch_zero(), sc_height-1); in jump_forw()
61 jump_loc(pos, sc_height-1); in jump_forw()
62 if (position(sc_height-1) != end_pos) in jump_forw()
72 POSITION end; in jump_forw_buffered() local
76 error("Cannot seek to end of buffers", NULL_PARG); in jump_forw_buffered()
79 end = ch_tell(); in jump_forw_buffered()
80 if (end != NULL_POSITION && end > 0) in jump_forw_buffered()
81 jump_line_loc(end-1, sc_height-1); in jump_forw_buffered()
157 pos = len-1; in jump_percent()
174 * Back up to the beginning of the line. in jump_line_loc()
199 /** error("Cannot display text before header; use --header=- to disable header", NULL_PARG); */ in after_header_message()
244 nline -= sindex; in jump_loc()
248 back(-nline, position(TOP), TRUE, FALSE, FALSE); in jump_loc()
276 * Move back in the file far enough so that we can in jump_loc()
278 * sline-th line on the screen. in jump_loc()
289 forw(sc_height-sindex+nline-1, bpos, TRUE, FALSE, FALSE, 0); in jump_loc()
311 forw(sc_height-1, pos, TRUE, FALSE, FALSE, sindex-nline); in jump_loc()
317 * can call back() and put the desired line at the in jump_loc()
318 * sindex-th line on the screen. in jump_loc()
320 for (nline = sindex; nline < sc_height - 1; nline++) in jump_loc()
327 * Ran into end of file. in jump_loc()
340 back(nline, tpos, TRUE, FALSE, FALSE); in jump_loc()
355 back(sc_height-1, pos, TRUE, FALSE, FALSE); in jump_loc()