Lines Matching refs:vb_mark_end
148 vtbuf_in_this_range(cur, vb->vb_mark_end.tp_row, cur + offset, sz)) { in vthistory_addlines()
150 vb->vb_mark_start.tp_row = vb->vb_mark_end.tp_row; in vthistory_addlines()
151 vb->vb_mark_start.tp_col = vb->vb_mark_end.tp_col; in vthistory_addlines()
223 if (vb->vb_mark_start.tp_col == vb->vb_mark_end.tp_col && in vtbuf_iscursor()
224 vb->vb_mark_start.tp_row == vb->vb_mark_end.tp_row) in vtbuf_iscursor()
229 ec = vb->vb_mark_end.tp_col; in vtbuf_iscursor()
230 er = vb->vb_mark_end.tp_row; in vtbuf_iscursor()
442 vb->vb_mark_end.tp_row = 0; in vtbuf_reset_scrollback()
443 vb->vb_mark_end.tp_col = 0; in vtbuf_reset_scrollback()
706 if ((vb->vb_mark_start.tp_col != vb->vb_mark_end.tp_col) || in vtbuf_flush_mark()
707 (vb->vb_mark_start.tp_row != vb->vb_mark_end.tp_row)) { in vtbuf_flush_mark()
709 e = vtbuf_htw(vb, vb->vb_mark_end.tp_row); in vtbuf_flush_mark()
732 POS_INDEX(vtbuf_htw(vb, vb->vb_mark_end.tp_row), in vtbuf_get_marked_len()
733 vb->vb_mark_end.tp_col)) { in vtbuf_get_marked_len()
735 POS_COPY(s, vb->vb_mark_end); in vtbuf_get_marked_len()
738 POS_COPY(e, vb->vb_mark_end); in vtbuf_get_marked_len()
759 POS_INDEX(vtbuf_htw(vb, vb->vb_mark_end.tp_row), in vtbuf_extract_marked()
760 vb->vb_mark_end.tp_col)) { in vtbuf_extract_marked()
762 POS_COPY(s, vb->vb_mark_end); in vtbuf_extract_marked()
765 POS_COPY(e, vb->vb_mark_end); in vtbuf_extract_marked()
797 vb->vb_mark_end.tp_col = col; in vtbuf_set_mark()
798 vb->vb_mark_end.tp_row = vtbuf_wth(vb, row); in vtbuf_set_mark()
805 vb->vb_mark_end.tp_col = col; in vtbuf_set_mark()
806 vb->vb_mark_end.tp_row = vtbuf_wth(vb, row); in vtbuf_set_mark()
810 vb->vb_mark_start.tp_row = vb->vb_mark_end.tp_row = in vtbuf_set_mark()
824 vb->vb_mark_end.tp_col = i; in vtbuf_set_mark()
830 vb->vb_mark_end.tp_col = i; in vtbuf_set_mark()
832 if (vb->vb_mark_start.tp_col > vb->vb_mark_end.tp_col) in vtbuf_set_mark()
833 vb->vb_mark_start.tp_col = vb->vb_mark_end.tp_col; in vtbuf_set_mark()
838 vb->vb_mark_end.tp_col = vb->vb_scr_size.tp_col; in vtbuf_set_mark()
839 vb->vb_mark_start.tp_row = vb->vb_mark_end.tp_row = in vtbuf_set_mark()