Lines Matching full:marks
28 * Marks are maintained in a key sorted singly linked list. We can't
31 * 10 marks at any one time, so this will be is fast enough.
33 * Marks are fixed, and modifications to the line don't update the mark's
45 * In historic vi, marks returned if the operation was undone, unless the
48 * deleted, we delete (and log) any marks on that line. An undo will create
60 * Set up the marks.
71 * Set up the marks. in mark_init()
73 SLIST_INIT(ep->marks); in mark_init()
79 * Free up the marks.
92 while ((lmp = SLIST_FIRST(ep->marks)) != NULL) { in mark_end()
93 SLIST_REMOVE_HEAD(ep->marks, q); in mark_end()
164 SLIST_INSERT_HEAD(sp->ep->marks, lmt, q); in mark_set()
193 SLIST_FOREACH(lmp, sp->ep->marks, q) { in mark_find()
203 * Update the marks based on an insertion or deletion.
218 SLIST_FOREACH(lmp, sp->ep->marks, q) in mark_insdel()
232 * modify the marks. This is a hack to make: in mark_insdel()
249 SLIST_FOREACH(lmp, sp->ep->marks, q) in mark_insdel()