Home
last modified time | relevance | path

Searched refs:scrpos (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/less/
H A Dposition.c102 struct scrpos scrpos; in pos_init() local
112 get_scrpos(&scrpos, TOP); in pos_init()
115 scrpos.pos = NULL_POSITION; in pos_init()
119 if (scrpos.pos != NULL_POSITION) in pos_init()
120 table[scrpos.ln-1] = scrpos.pos; in pos_init()
166 public void get_scrpos(struct scrpos *scrpos, int where) in get_scrpos() argument
183 scrpos in get_scrpos()
[all...]
H A Dmark.c33 struct scrpos m_scrpos; /* Position of the mark */
199 struct scrpos scrpos; in setmark() local
204 get_scrpos(&scrpos, where); in setmark()
205 if (scrpos.pos == NULL_POSITION) in setmark()
210 cmark(m, curr_ifile, scrpos.pos, scrpos.ln); in setmark()
238 struct scrpos scrpos; in lastmark() local
242 get_scrpos(&scrpos, TO in lastmark()
255 struct scrpos scrpos; gomark() local
[all...]
H A Djump.c120 struct scrpos scrpos; in repaint() local
125 get_scrpos(&scrpos, TOP); in repaint()
127 if (scrpos.pos == NULL_POSITION) in repaint()
131 jump_loc(scrpos.pos, scrpos.ln); in repaint()
H A Difile.c35 struct scrpos h_scrpos; /* Saved position within the file */
272 public void store_pos(IFILE ifile, struct scrpos *scrpos) in store_pos() argument
274 int_ifile(ifile)->h_scrpos = *scrpos; in store_pos()
281 public void get_pos(IFILE ifile, struct scrpos *scrpos) in get_pos() argument
283 *scrpos = int_ifile(ifile)->h_scrpos; in get_pos()
H A Dedit.c37 extern struct scrpos initial_scrpos;
353 struct scrpos scrpos; in close_file()
363 get_scrpos(&scrpos, TOP); in close_file()
364 if (scrpos.pos != NULL_POSITION) in close_file()
366 store_pos(curr_ifile, &scrpos); in close_file()
350 struct scrpos scrpos; close_file() local
H A Dfuncs.h193 public void store_pos(IFILE ifile, struct scrpos *scrpos);
194 public void get_pos(IFILE ifile, struct scrpos *scrpos);
369 public void get_scrpos(struct scrpos *scrpos, int where);
H A Dsearch.c1079 struct scrpos scrpos; in search_pos()
1081 get_scrpos(&scrpos, TOP); in search_pos()
1082 if (scrpos.pos == NULL_POSITION) in search_pos()
1084 prep_hilite(scrpos.pos, position(BOTTOM_PLUS_ONE), -1); in search_pos()
987 struct scrpos scrpos; hilite_screen() local
H A Dmain.c36 public struct scrpos initial_scrpos;
H A Dless.h317 struct scrpos
322 struct scrpos global() struct
324 posscrpos global() argument
325 lnscrpos global() argument
H A Dcommand.c45 extern struct scrpos initial_scrpos;