Lines Matching defs:pos
32 POSITION pos;
58 pos = back_line(end_pos);
59 if (pos == NULL_POSITION)
63 jump_loc(pos, sc_height-1);
91 POSITION pos;
100 pos = find_pos(linenum);
101 if (pos != NULL_POSITION && ch_seek(pos) == 0)
104 set_attnpos(pos);
105 jump_loc(pos, jump_sline);
129 if (scrpos.pos == NULL_POSITION)
133 jump_loc(scrpos.pos, scrpos.ln);
141 POSITION pos, len;
157 pos = percent_pos(len, percent, fraction);
158 if (pos >= len)
159 pos = len-1;
161 jump_line_loc(pos, jump_sline);
169 public void jump_line_loc(POSITION pos, int sline)
173 if (ch_seek(pos) == 0)
182 pos = ch_tell();
185 set_attnpos(pos);
186 jump_loc(pos, sline);
194 public void jump_loc(POSITION pos, int sline)
206 if ((nline = onscreen(pos)) >= 0)
228 if (ch_seek(pos))
240 if (tpos == NULL_POSITION || pos >= tpos)
250 if (bpos != NULL_POSITION && pos <= bpos)
264 pos = back_line(pos);
265 if (pos == NULL_POSITION)
279 forw(sc_height-1, pos, 1, 0, sindex-nline);
290 pos = forw_line(pos);
291 if (pos == NULL_POSITION)
301 pos = next_unfiltered(pos);
303 if (pos >= tpos)
324 add_back_pos(pos);
325 back(sc_height-1, pos, 1, 0);