Lines Matching refs:tr
91 teken_rect_t tr; in teken_subr_do_scroll() local
104 tr.tr_begin.tp_row = t->t_scrollreg.ts_begin + amount; in teken_subr_do_scroll()
105 tr.tr_begin.tp_col = 0; in teken_subr_do_scroll()
106 tr.tr_end.tp_row = t->t_scrollreg.ts_end; in teken_subr_do_scroll()
107 tr.tr_end.tp_col = t->t_winsize.tp_col; in teken_subr_do_scroll()
110 teken_funcs_copy(t, &tr, &tp); in teken_subr_do_scroll()
112 tr.tr_begin.tp_row = t->t_scrollreg.ts_end - amount; in teken_subr_do_scroll()
114 tr.tr_begin.tp_row = t->t_scrollreg.ts_begin; in teken_subr_do_scroll()
118 tr.tr_begin.tp_col = 0; in teken_subr_do_scroll()
119 tr.tr_end.tp_row = t->t_scrollreg.ts_end; in teken_subr_do_scroll()
120 tr.tr_end.tp_col = t->t_winsize.tp_col; in teken_subr_do_scroll()
121 teken_funcs_fill(t, &tr, BLANK, &t->t_curattr); in teken_subr_do_scroll()
128 tr.tr_begin.tp_row = t->t_scrollreg.ts_begin; in teken_subr_do_scroll()
129 tr.tr_begin.tp_col = 0; in teken_subr_do_scroll()
130 tr.tr_end.tp_row = t->t_scrollreg.ts_end - amount; in teken_subr_do_scroll()
131 tr.tr_end.tp_col = t->t_winsize.tp_col; in teken_subr_do_scroll()
134 teken_funcs_copy(t, &tr, &tp); in teken_subr_do_scroll()
136 tr.tr_end.tp_row = t->t_scrollreg.ts_begin + amount; in teken_subr_do_scroll()
138 tr.tr_end.tp_row = t->t_scrollreg.ts_end; in teken_subr_do_scroll()
142 tr.tr_begin.tp_row = t->t_scrollreg.ts_begin; in teken_subr_do_scroll()
143 tr.tr_begin.tp_col = 0; in teken_subr_do_scroll()
144 tr.tr_end.tp_col = t->t_winsize.tp_col; in teken_subr_do_scroll()
145 teken_funcs_fill(t, &tr, BLANK, &t->t_curattr); in teken_subr_do_scroll()
186 teken_rect_t tr; in teken_subr_alignment_test() local
195 tr.tr_begin.tp_row = 0; in teken_subr_alignment_test()
196 tr.tr_begin.tp_col = 0; in teken_subr_alignment_test()
197 tr.tr_end = t->t_winsize; in teken_subr_alignment_test()
198 teken_funcs_fill(t, &tr, 'E', &t->t_defattr); in teken_subr_alignment_test()
394 teken_rect_t tr; in teken_subr_delete_character() local
396 tr.tr_begin.tp_row = t->t_cursor.tp_row; in teken_subr_delete_character()
397 tr.tr_end.tp_row = t->t_cursor.tp_row + 1; in teken_subr_delete_character()
398 tr.tr_end.tp_col = t->t_winsize.tp_col; in teken_subr_delete_character()
401 tr.tr_begin.tp_col = t->t_cursor.tp_col; in teken_subr_delete_character()
404 tr.tr_begin.tp_col = t->t_cursor.tp_col + ncols; in teken_subr_delete_character()
405 teken_funcs_copy(t, &tr, &t->t_cursor); in teken_subr_delete_character()
407 tr.tr_begin.tp_col = t->t_winsize.tp_col - ncols; in teken_subr_delete_character()
411 teken_funcs_fill(t, &tr, BLANK, &t->t_curattr); in teken_subr_delete_character()
417 teken_rect_t tr; in teken_subr_delete_line() local
424 tr.tr_begin.tp_col = 0; in teken_subr_delete_line()
425 tr.tr_end.tp_row = t->t_scrollreg.ts_end; in teken_subr_delete_line()
426 tr.tr_end.tp_col = t->t_winsize.tp_col; in teken_subr_delete_line()
429 tr.tr_begin.tp_row = t->t_cursor.tp_row; in teken_subr_delete_line()
434 tr.tr_begin.tp_row = t->t_cursor.tp_row + nrows; in teken_subr_delete_line()
437 teken_funcs_copy(t, &tr, &tp); in teken_subr_delete_line()
439 tr.tr_begin.tp_row = t->t_scrollreg.ts_end - nrows; in teken_subr_delete_line()
443 teken_funcs_fill(t, &tr, BLANK, &t->t_curattr); in teken_subr_delete_line()
486 teken_rect_t tr; in teken_subr_erase_character() local
488 tr.tr_begin = t->t_cursor; in teken_subr_erase_character()
489 tr.tr_end.tp_row = t->t_cursor.tp_row + 1; in teken_subr_erase_character()
492 tr.tr_end.tp_col = t->t_winsize.tp_col; in teken_subr_erase_character()
494 tr.tr_end.tp_col = t->t_cursor.tp_col + ncols; in teken_subr_erase_character()
496 teken_funcs_fill(t, &tr, BLANK, &t->t_curattr); in teken_subr_erase_character()
645 teken_rect_t tr; in teken_subr_insert_character() local
647 tr.tr_begin = t->t_cursor; in teken_subr_insert_character()
648 tr.tr_end.tp_row = t->t_cursor.tp_row + 1; in teken_subr_insert_character()
651 tr.tr_end.tp_col = t->t_winsize.tp_col; in teken_subr_insert_character()
656 tr.tr_end.tp_col = t->t_winsize.tp_col - ncols; in teken_subr_insert_character()
659 teken_funcs_copy(t, &tr, &tp); in teken_subr_insert_character()
661 tr.tr_end.tp_col = t->t_cursor.tp_col + ncols; in teken_subr_insert_character()
665 teken_funcs_fill(t, &tr, BLANK, &t->t_curattr); in teken_subr_insert_character()
671 teken_rect_t tr; in teken_subr_insert_line() local
678 tr.tr_begin.tp_row = t->t_cursor.tp_row; in teken_subr_insert_line()
679 tr.tr_begin.tp_col = 0; in teken_subr_insert_line()
680 tr.tr_end.tp_col = t->t_winsize.tp_col; in teken_subr_insert_line()
683 tr.tr_end.tp_row = t->t_scrollreg.ts_end; in teken_subr_insert_line()
688 tr.tr_end.tp_row = t->t_scrollreg.ts_end - nrows; in teken_subr_insert_line()
691 teken_funcs_copy(t, &tr, &tp); in teken_subr_insert_line()
693 tr.tr_end.tp_row = t->t_cursor.tp_row + nrows; in teken_subr_insert_line()
697 teken_funcs_fill(t, &tr, BLANK, &t->t_curattr); in teken_subr_insert_line()
734 teken_rect_t tr; in teken_subr_newpage() local
737 tr.tr_begin.tp_row = t->t_originreg.ts_begin; in teken_subr_newpage()
738 tr.tr_begin.tp_col = 0; in teken_subr_newpage()
739 tr.tr_end.tp_row = t->t_originreg.ts_end; in teken_subr_newpage()
740 tr.tr_end.tp_col = t->t_winsize.tp_col; in teken_subr_newpage()
741 teken_funcs_fill(t, &tr, BLANK, &t->t_curattr); in teken_subr_newpage()