Lines Matching full:marks
26 * For restored marks we set m_filename instead of m_ifile
37 * The table of marks.
42 #define NUMARKS ((2*26)+1) /* user marks (not lastmark) */
45 static struct mark marks[NMARKS];
64 * Initialize the mark table to show no marks are set.
78 marks[i].m_letter = letter;
79 cmark(&marks[i], NULL_IFILE, NULL_POSITION, -1);
111 return (&marks[c-'a']);
113 return (&marks[c-'A'+26]);
115 return (&marks[LASTMARK]);
117 return (&marks[MOUSEMARK]);
166 m = &marks[LASTMARK];
245 cmark(&marks[LASTMARK], curr_ifile, scrpos.pos, scrpos.ln);
265 * {{ Couldn't we instead set marks[LASTMARK] in edit()? }}
267 if (m == &marks[LASTMARK] && m->m_scrpos.pos == NULL_POSITION)
316 /* Only user marks */
319 if (marks[i].m_ifile == curr_ifile && marks[i].m_scrpos.pos == pos)
330 * Clear the marks associated with a specified ifile.
337 if (marks[i].m_ifile == ifile)
338 marks[i].m_scrpos.pos = NULL_POSITION;
342 * Check if any marks refer to a specified ifile vi m_filename
352 struct mark *m = &marks[i];
367 * Save marks to history file.
380 struct mark *m = &marks[i];