#include "ded.h" #include "ter.h" /************************************************************************ * * * copyright Richard Bornat 1981 * * * ************************************************************************/ /************************************************************************ * * * inserting one or more characters * * * ************************************************************************/ t_ins_char(vrow, vcol, c1, c2, n) register int vrow; int vcol; char c1, c2; int n; { /* dirty hack to get rid of diagnostics */ if (vrow==EDITROW) diag_clear(); (*ter.ins_char)(vrow, vcol, c1, c2, n); } /************************************************************************ * * * deleting one or more characters * * * ************************************************************************/ t_del_chars(vrow, col1, col2) register int vrow; int col1; register int col2; { /* dirty hack to get rid of diagnostics */ if (vrow==EDITROW) diag_clear(); (*(col2>=RIGHTCOL ? delc0 : ter.del_char))(vrow, col1, col2); }