Lines Matching refs:pos
33 POSITION pos;
49 pos = back_line(end_pos);
50 if (pos == NULL_POSITION)
54 jump_loc(pos, sc_height-1);
67 POSITION pos;
76 pos = find_pos(linenum);
77 if (pos != NULL_POSITION && ch_seek(pos) == 0)
80 set_attnpos(pos);
81 jump_loc(pos, jump_sline);
106 jump_loc(scrpos.pos, scrpos.ln);
117 POSITION pos, len;
133 pos = percent_pos(len, percent, fraction);
134 if (pos >= len)
135 pos = len-1;
137 jump_line_loc(pos, jump_sline);
146 jump_line_loc(pos, sline)
147 POSITION pos;
152 if (ch_seek(pos) == 0)
161 pos = ch_tell();
164 set_attnpos(pos);
165 jump_loc(pos, sline);
174 jump_loc(pos, sline)
175 POSITION pos;
187 if ((nline = onscreen(pos)) >= 0)
207 if (ch_seek(pos))
219 if (tpos == NULL_POSITION || pos >= tpos)
229 if (bpos != NULL_POSITION && pos <= bpos)
241 pos = back_line(pos);
242 if (pos == NULL_POSITION)
257 forw(sc_height-1, pos, 1, 0, sline-nline);
268 pos = forw_line(pos);
269 if (pos == NULL_POSITION)
278 if (pos >= tpos)
297 add_back_pos(pos);
298 back(sc_height-1, pos, 1, 0);