Lines Matching refs:pos
30 POSITION pos; in jump_forw() local
56 pos = back_line(end_pos, NULL); in jump_forw()
57 if (pos == NULL_POSITION) in jump_forw()
61 jump_loc(pos, sc_height-1); in jump_forw()
89 POSITION pos; in jump_back() local
98 pos = find_pos(linenum); in jump_back()
99 if (pos != NULL_POSITION && ch_seek(pos) == 0) in jump_back()
102 set_attnpos(pos); in jump_back()
103 jump_loc(pos, jump_sline); in jump_back()
127 if (scrpos.pos == NULL_POSITION) in repaint()
131 jump_loc(scrpos.pos, scrpos.ln); in repaint()
139 POSITION pos, len; in jump_percent() local
155 pos = percent_pos(len, percent, fraction); in jump_percent()
156 if (pos >= len) in jump_percent()
157 pos = len-1; in jump_percent()
159 jump_line_loc(pos, jump_sline); in jump_percent()
167 public void jump_line_loc(POSITION pos, int sline) in jump_line_loc() argument
171 if (ch_seek(pos) == 0) in jump_line_loc()
180 pos = ch_tell(); in jump_line_loc()
183 set_attnpos(pos); in jump_line_loc()
184 jump_loc(pos, sline); in jump_line_loc()
209 public POSITION after_header_pos(POSITION pos) in after_header_pos() argument
211 if (header_start_pos != NULL_POSITION && pos < header_start_pos) in after_header_pos()
214 pos = header_start_pos; in after_header_pos()
216 return pos; in after_header_pos()
224 public void jump_loc(POSITION pos, int sline) in jump_loc() argument
234 pos = after_header_pos(pos); in jump_loc()
235 pos = next_unfiltered(pos); in jump_loc()
238 if ((nline = onscreen(pos)) >= 0) in jump_loc()
260 if (ch_seek(pos)) in jump_loc()
272 if (tpos == NULL_POSITION || pos >= tpos) in jump_loc()
282 if (bpos != NULL_POSITION && pos <= bpos) in jump_loc()
296 pos = back_line(pos, NULL); in jump_loc()
297 if (pos == NULL_POSITION) in jump_loc()
311 forw(sc_height-1, pos, TRUE, FALSE, FALSE, sindex-nline); in jump_loc()
323 pos = forw_line(pos, &linepos, NULL); in jump_loc()
324 if (pos == NULL_POSITION) in jump_loc()
354 add_back_pos(pos); in jump_loc()
355 back(sc_height-1, pos, TRUE, FALSE, FALSE); in jump_loc()